@maggioli-design-system/magma 2.0.0-beta.3 → 2.0.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 (1639) hide show
  1. package/README.md +37 -4
  2. package/dist/cjs/date-B28IitWe.js +24 -0
  3. package/dist/cjs/floating-controller-Cd_vNLLD.js +369 -0
  4. package/dist/cjs/floating-ui.dom-DflSHZIo.js +1688 -0
  5. package/dist/cjs/form-DTCBh5WK.js +22 -0
  6. package/dist/cjs/index--6wz7eWi.js +5183 -0
  7. package/dist/cjs/index.cjs.js +17 -0
  8. package/dist/cjs/keyboard-manager-C_Eaxw-C.js +52 -0
  9. package/dist/cjs/loader.cjs.js +2 -2
  10. package/dist/cjs/locale-CB5_Z7PE.js +816 -0
  11. package/dist/cjs/locale.it-CfUV2hxK.js +515 -0
  12. package/dist/cjs/magma-components.cjs.js +31 -4
  13. package/dist/cjs/mds-accordion-item.cjs.entry.js +7 -28
  14. package/dist/cjs/mds-accordion-timer-item.cjs.entry.js +8 -17
  15. package/dist/cjs/mds-accordion-timer.cjs.entry.js +3 -3
  16. package/dist/cjs/mds-accordion.cjs.entry.js +5 -22
  17. package/dist/cjs/mds-author.cjs.entry.js +9 -4
  18. package/dist/cjs/mds-avatar-stack-item.cjs.entry.js +2 -2
  19. package/dist/cjs/mds-avatar-stack.cjs.entry.js +5 -4
  20. package/dist/cjs/mds-avatar.cjs.entry.js +8 -21
  21. package/dist/cjs/mds-badge.cjs.entry.js +5 -26
  22. package/dist/cjs/mds-banner_3.cjs.entry.js +35 -70
  23. package/dist/cjs/mds-benchmark-bar.cjs.entry.js +2 -2
  24. package/dist/cjs/mds-bibliography.cjs.entry.js +2 -2
  25. package/dist/cjs/mds-breadcrumb-item.cjs.entry.js +3 -3
  26. package/dist/cjs/mds-breadcrumb.cjs.entry.js +7 -15
  27. package/dist/cjs/mds-button-dropdown.cjs.entry.js +3 -3
  28. package/dist/cjs/mds-button-group.cjs.entry.js +3 -3
  29. package/dist/cjs/mds-button_3.cjs.entry.js +10 -32
  30. package/dist/cjs/mds-calendar_2.cjs.entry.js +123 -102
  31. package/dist/cjs/mds-card-content.cjs.entry.js +2 -2
  32. package/dist/cjs/mds-card-footer.cjs.entry.js +2 -2
  33. package/dist/cjs/mds-card-header.cjs.entry.js +9 -4
  34. package/dist/cjs/mds-card-media.cjs.entry.js +2 -2
  35. package/dist/cjs/mds-card.cjs.entry.js +4 -21
  36. package/dist/cjs/mds-details.cjs.entry.js +8 -18
  37. package/dist/cjs/mds-dropdown.cjs.entry.js +184 -58
  38. package/dist/cjs/mds-emoji.cjs.entry.js +301 -181
  39. package/dist/cjs/mds-entity.cjs.entry.js +11 -23
  40. package/dist/cjs/mds-file-preview.cjs.entry.js +9 -37
  41. package/dist/cjs/mds-file.cjs.entry.js +7 -35
  42. package/dist/cjs/mds-filter-item.cjs.entry.js +6 -25
  43. package/dist/cjs/mds-filter.cjs.entry.js +19 -32
  44. package/dist/cjs/mds-header-bar.cjs.entry.js +11 -27
  45. package/dist/cjs/mds-header.cjs.entry.js +8 -22
  46. package/dist/cjs/mds-horizontal-scroll.cjs.entry.js +2 -2
  47. package/dist/cjs/mds-hr.cjs.entry.js +4 -17
  48. package/dist/cjs/mds-img.cjs.entry.js +8 -16
  49. package/dist/cjs/mds-input-date-range-preselection.cjs.entry.js +2 -2
  50. package/dist/cjs/mds-input-date-range.cjs.entry.js +57 -43
  51. package/dist/cjs/mds-input-date.cjs.entry.js +14 -44
  52. package/dist/cjs/mds-input-field.cjs.entry.js +42 -6
  53. package/dist/cjs/mds-input-otp.cjs.entry.js +37 -3
  54. package/dist/cjs/mds-input-range.cjs.entry.js +9 -29
  55. package/dist/cjs/mds-input-select.cjs.entry.js +11 -41
  56. package/dist/cjs/mds-input-switch_2.cjs.entry.js +19 -55
  57. package/dist/cjs/mds-input-tip_2.cjs.entry.js +8 -40
  58. package/dist/cjs/mds-input-upload.cjs.entry.js +34 -36
  59. package/dist/cjs/mds-input.cjs.entry.js +23 -52
  60. package/dist/cjs/mds-keyboard-key.cjs.entry.js +5 -14
  61. package/dist/cjs/mds-keyboard.cjs.entry.js +5 -25
  62. package/dist/cjs/mds-kpi-item.cjs.entry.js +12 -25
  63. package/dist/cjs/mds-kpi.cjs.entry.js +2 -2
  64. package/dist/cjs/mds-label.cjs.entry.js +7 -29
  65. package/dist/cjs/mds-list-item.cjs.entry.js +4 -13
  66. package/dist/cjs/mds-list.cjs.entry.js +1 -1
  67. package/dist/cjs/mds-mention.cjs.entry.js +38 -4
  68. package/dist/cjs/mds-modal.cjs.entry.js +54 -47
  69. package/dist/cjs/mds-note.cjs.entry.js +7 -35
  70. package/dist/cjs/mds-notification.cjs.entry.js +12 -14
  71. package/dist/cjs/mds-paginator-item.cjs.entry.js +5 -20
  72. package/dist/cjs/mds-paginator.cjs.entry.js +27 -32
  73. package/dist/cjs/mds-policy-ai.cjs.entry.js +5 -15
  74. package/dist/cjs/mds-pref-animation.cjs.entry.js +7 -23
  75. package/dist/cjs/mds-pref-consumption.cjs.entry.js +7 -23
  76. package/dist/cjs/mds-pref-contrast.cjs.entry.js +10 -24
  77. package/dist/cjs/mds-pref-language-item.cjs.entry.js +27 -15
  78. package/dist/cjs/mds-pref-language.cjs.entry.js +38 -28
  79. package/dist/cjs/mds-pref-mode.cjs.entry.js +273 -0
  80. package/dist/cjs/mds-pref-theme-item.cjs.entry.js +43 -0
  81. package/dist/cjs/mds-pref-theme.cjs.entry.js +147 -230
  82. package/dist/cjs/mds-pref.cjs.entry.js +40 -17
  83. package/dist/cjs/mds-price-table-features-cell.cjs.entry.js +4 -25
  84. package/dist/cjs/mds-price-table-features-row.cjs.entry.js +4 -25
  85. package/dist/cjs/mds-price-table-features.cjs.entry.js +4 -25
  86. package/dist/cjs/mds-price-table-header.cjs.entry.js +2 -2
  87. package/dist/cjs/mds-price-table-list-item.cjs.entry.js +3 -3
  88. package/dist/cjs/mds-price-table-list.cjs.entry.js +4 -25
  89. package/dist/cjs/mds-price-table.cjs.entry.js +2 -2
  90. package/dist/cjs/mds-progress_2.cjs.entry.js +7 -33
  91. package/dist/cjs/mds-push-notification-item.cjs.entry.js +16 -39
  92. package/dist/cjs/mds-push-notification.cjs.entry.js +7 -20
  93. package/dist/cjs/mds-quote.cjs.entry.js +4 -13
  94. package/dist/cjs/mds-radial-menu-item.cjs.entry.js +3 -3
  95. package/dist/cjs/mds-radial-menu.cjs.entry.js +7 -6
  96. package/dist/cjs/mds-separator.cjs.entry.js +4 -21
  97. package/dist/cjs/mds-status-bar.cjs.entry.js +4 -25
  98. package/dist/cjs/mds-stepper-bar-item.cjs.entry.js +14 -25
  99. package/dist/cjs/mds-stepper-bar.cjs.entry.js +21 -12
  100. package/dist/cjs/mds-tab-bar-item.cjs.entry.js +6 -27
  101. package/dist/cjs/mds-tab-bar.cjs.entry.js +5 -26
  102. package/dist/cjs/mds-tab_2.cjs.entry.js +14 -47
  103. package/dist/cjs/mds-table-body.cjs.entry.js +4 -13
  104. package/dist/cjs/mds-table-footer.cjs.entry.js +4 -13
  105. package/dist/cjs/mds-table-header-cell.cjs.entry.js +4 -13
  106. package/dist/cjs/mds-table-header.cjs.entry.js +19 -31
  107. package/dist/cjs/mds-table-row.cjs.entry.js +20 -29
  108. package/dist/cjs/mds-table.cjs.entry.js +60 -50
  109. package/dist/cjs/mds-text.cjs.entry.js +36 -21
  110. package/dist/cjs/mds-toast.cjs.entry.js +10 -27
  111. package/dist/cjs/mds-tooltip.cjs.entry.js +16 -27
  112. package/dist/cjs/mds-tree-item.cjs.entry.js +12 -14
  113. package/dist/cjs/mds-tree.cjs.entry.js +12 -6
  114. package/dist/cjs/mds-url-view.cjs.entry.js +21 -41
  115. package/dist/cjs/mds-usage.cjs.entry.js +5 -33
  116. package/dist/cjs/mds-video-wall.cjs.entry.js +8 -4
  117. package/dist/cjs/mds-zero.cjs.entry.js +4 -25
  118. package/dist/cjs/preference-eJcbLLAn.js +389 -0
  119. package/dist/cjs/slot-RmXfgH4P.js +69 -0
  120. package/dist/collection/collection-manifest.json +3 -3
  121. package/dist/collection/common/date.js +9 -1
  122. package/dist/collection/common/file.js +13 -10
  123. package/dist/collection/common/floating-controller.js +175 -9
  124. package/dist/collection/common/form.js +18 -0
  125. package/dist/collection/common/keyboard-manager.js +5 -5
  126. package/dist/collection/common/locale.js +9 -31
  127. package/dist/collection/common/preference.js +83 -59
  128. package/dist/collection/common/slot.js +14 -1
  129. package/dist/collection/common/yugop/random-text.js +12 -3
  130. package/dist/collection/components/mds-accordion/mds-accordion.css +9 -65
  131. package/dist/collection/components/mds-accordion/mds-accordion.js +3 -27
  132. package/dist/collection/components/mds-accordion-item/mds-accordion-item.css +63 -81
  133. package/dist/collection/components/mds-accordion-item/mds-accordion-item.js +2 -31
  134. package/dist/collection/components/mds-accordion-timer/mds-accordion-timer.css +2 -26
  135. package/dist/collection/components/mds-accordion-timer-item/mds-accordion-timer-item.css +50 -36
  136. package/dist/collection/components/mds-accordion-timer-item/mds-accordion-timer-item.js +2 -16
  137. package/dist/collection/components/mds-author/mds-author.css +4 -0
  138. package/dist/collection/components/mds-author/mds-author.js +14 -2
  139. package/dist/collection/components/mds-avatar/mds-avatar.css +125 -111
  140. package/dist/collection/components/mds-avatar/mds-avatar.js +6 -21
  141. package/dist/collection/components/mds-avatar-stack/mds-avatar-stack.css +12 -84
  142. package/dist/collection/components/mds-avatar-stack/mds-avatar-stack.js +3 -2
  143. package/dist/collection/components/mds-avatar-stack-item/mds-avatar-stack-item.css +6 -24
  144. package/dist/collection/components/mds-badge/mds-badge.css +168 -155
  145. package/dist/collection/components/mds-badge/mds-badge.js +2 -31
  146. package/dist/collection/components/mds-banner/mds-banner.css +149 -192
  147. package/dist/collection/components/mds-banner/mds-banner.js +10 -58
  148. package/dist/collection/components/mds-bibliography/mds-bibliography.css +6 -24
  149. package/dist/collection/components/mds-breadcrumb/mds-breadcrumb.css +6 -70
  150. package/dist/collection/components/mds-breadcrumb/mds-breadcrumb.js +2 -37
  151. package/dist/collection/components/mds-breadcrumb-item/mds-breadcrumb-item.css +15 -67
  152. package/dist/collection/components/mds-button/mds-button.css +285 -333
  153. package/dist/collection/components/mds-button/mds-button.js +4 -24
  154. package/dist/collection/components/mds-button-dropdown/mds-button-dropdown.css +24 -34
  155. package/dist/collection/components/mds-button-dropdown/mds-button-dropdown.js +1 -1
  156. package/dist/collection/components/mds-button-group/mds-button-group.css +13 -4
  157. package/dist/collection/components/mds-button-group/mds-button-group.js +2 -2
  158. package/dist/collection/components/mds-calendar/mds-calendar.css +13 -69
  159. package/dist/collection/components/mds-calendar/mds-calendar.js +150 -127
  160. package/dist/collection/components/mds-calendar-cell/mds-calendar-cell.css +88 -299
  161. package/dist/collection/components/mds-card/mds-card.css +11 -35
  162. package/dist/collection/components/mds-card/mds-card.js +2 -22
  163. package/dist/collection/components/mds-card-content/mds-card-content.css +1 -0
  164. package/dist/collection/components/mds-card-footer/mds-card-footer.css +1 -0
  165. package/dist/collection/components/mds-card-header/mds-card-header.css +5 -0
  166. package/dist/collection/components/mds-card-header/mds-card-header.js +14 -2
  167. package/dist/collection/components/mds-card-media/mds-card-media.css +1 -1
  168. package/dist/collection/components/mds-chip/mds-chip.css +317 -278
  169. package/dist/collection/components/mds-chip/mds-chip.js +19 -61
  170. package/dist/collection/components/mds-details/mds-details.css +52 -28
  171. package/dist/collection/components/mds-details/mds-details.js +4 -16
  172. package/dist/collection/components/mds-dropdown/mds-dropdown.css +102 -121
  173. package/dist/collection/components/mds-dropdown/mds-dropdown.js +179 -59
  174. package/dist/collection/components/mds-emoji/asset/mia.svg +3 -3
  175. package/dist/collection/components/mds-emoji/mds-emoji.css +15 -179
  176. package/dist/collection/components/mds-emoji/mds-emoji.js +297 -177
  177. package/dist/collection/components/mds-entity/mds-entity.css +25 -76
  178. package/dist/collection/components/mds-entity/mds-entity.js +13 -24
  179. package/dist/collection/components/mds-file/mds-file.css +103 -79
  180. package/dist/collection/components/mds-file/mds-file.js +2 -56
  181. package/dist/collection/components/mds-file-preview/mds-file-preview.css +277 -218
  182. package/dist/collection/components/mds-file-preview/mds-file-preview.js +4 -62
  183. package/dist/collection/components/mds-filter/mds-filter.css +66 -78
  184. package/dist/collection/components/mds-filter/mds-filter.js +16 -33
  185. package/dist/collection/components/mds-filter-item/mds-filter-item.css +73 -53
  186. package/dist/collection/components/mds-filter-item/mds-filter-item.js +2 -29
  187. package/dist/collection/components/mds-header/mds-header.css +15 -68
  188. package/dist/collection/components/mds-header/mds-header.js +5 -22
  189. package/dist/collection/components/mds-header-bar/mds-header-bar.css +60 -31
  190. package/dist/collection/components/mds-header-bar/mds-header-bar.js +9 -28
  191. package/dist/collection/components/mds-help/mds-help.css +1 -19
  192. package/dist/collection/components/mds-horizontal-scroll/mds-horizontal-scroll.css +13 -104
  193. package/dist/collection/components/mds-hr/mds-hr.css +6 -18
  194. package/dist/collection/components/mds-hr/mds-hr.js +2 -21
  195. package/dist/collection/components/mds-icon/services/icons-set.service.js +16 -0
  196. package/dist/collection/components/mds-img/mds-img.css +12 -48
  197. package/dist/collection/components/mds-img/mds-img.js +5 -36
  198. package/dist/collection/components/mds-input/mds-input.css +120 -158
  199. package/dist/collection/components/mds-input/mds-input.js +33 -65
  200. package/dist/collection/components/mds-input-date/mds-input-date.css +107 -124
  201. package/dist/collection/components/mds-input-date/mds-input-date.js +49 -62
  202. package/dist/collection/components/mds-input-date-range/mds-input-date-range.css +100 -90
  203. package/dist/collection/components/mds-input-date-range/mds-input-date-range.js +77 -62
  204. package/dist/collection/components/mds-input-date-range-preselection/mds-input-date-range-preselection.css +19 -73
  205. package/dist/collection/components/mds-input-field/mds-input-field.css +33 -45
  206. package/dist/collection/components/mds-input-field/mds-input-field.js +41 -4
  207. package/dist/collection/components/mds-input-otp/mds-input-otp.js +38 -2
  208. package/dist/collection/components/mds-input-range/mds-input-range.css +61 -19
  209. package/dist/collection/components/mds-input-range/mds-input-range.js +7 -31
  210. package/dist/collection/components/mds-input-select/mds-input-select.css +123 -156
  211. package/dist/collection/components/mds-input-select/mds-input-select.js +28 -61
  212. package/dist/collection/components/mds-input-switch/mds-input-switch.css +91 -250
  213. package/dist/collection/components/mds-input-switch/mds-input-switch.js +12 -63
  214. package/dist/collection/components/mds-input-tip/mds-input-tip.css +45 -31
  215. package/dist/collection/components/mds-input-tip/mds-input-tip.js +2 -16
  216. package/dist/collection/components/mds-input-tip-item/mds-input-tip-item.css +84 -56
  217. package/dist/collection/components/mds-input-tip-item/mds-input-tip-item.js +3 -54
  218. package/dist/collection/components/mds-input-upload/mds-input-upload.css +26 -37
  219. package/dist/collection/components/mds-input-upload/mds-input-upload.js +30 -51
  220. package/dist/collection/components/mds-keyboard/mds-keyboard.css +32 -126
  221. package/dist/collection/components/mds-keyboard/mds-keyboard.js +2 -46
  222. package/dist/collection/components/mds-keyboard-key/mds-keyboard-key.css +4 -28
  223. package/dist/collection/components/mds-keyboard-key/mds-keyboard-key.js +1 -37
  224. package/dist/collection/components/mds-kpi/mds-kpi.css +6 -11
  225. package/dist/collection/components/mds-kpi-item/mds-kpi-item.css +103 -40
  226. package/dist/collection/components/mds-kpi-item/mds-kpi-item.js +10 -27
  227. package/dist/collection/components/mds-label/mds-label.css +265 -354
  228. package/dist/collection/components/mds-label/mds-label.js +3 -54
  229. package/dist/collection/components/mds-list-item/mds-list-item.css +3 -9
  230. package/dist/collection/components/mds-list-item/mds-list-item.js +2 -16
  231. package/dist/collection/components/mds-mention/mds-mention.css +19 -10
  232. package/dist/collection/components/mds-mention/mds-mention.js +62 -2
  233. package/dist/collection/components/mds-modal/mds-modal.css +71 -101
  234. package/dist/collection/components/mds-modal/mds-modal.js +72 -45
  235. package/dist/collection/components/mds-note/mds-note.css +220 -198
  236. package/dist/collection/components/mds-note/mds-note.js +3 -61
  237. package/dist/collection/components/mds-notification/mds-notification.css +55 -89
  238. package/dist/collection/components/mds-notification/mds-notification.js +9 -16
  239. package/dist/collection/components/mds-paginator/mds-paginator.css +71 -35
  240. package/dist/collection/components/mds-paginator/mds-paginator.js +24 -37
  241. package/dist/collection/components/mds-paginator-item/mds-paginator-item.css +78 -96
  242. package/dist/collection/components/mds-paginator-item/mds-paginator-item.js +2 -24
  243. package/dist/collection/components/mds-policy-ai/mds-policy-ai.css +9 -9
  244. package/dist/collection/components/mds-policy-ai/mds-policy-ai.js +1 -38
  245. package/dist/collection/components/mds-pref/mds-pref.js +40 -40
  246. package/dist/collection/components/mds-pref-animation/mds-pref-animation.css +50 -6
  247. package/dist/collection/components/mds-pref-animation/mds-pref-animation.js +4 -47
  248. package/dist/collection/components/mds-pref-consumption/mds-pref-consumption.css +12 -12
  249. package/dist/collection/components/mds-pref-consumption/mds-pref-consumption.js +4 -47
  250. package/dist/collection/components/mds-pref-contrast/mds-pref-contrast.css +4 -4
  251. package/dist/collection/components/mds-pref-contrast/mds-pref-contrast.js +7 -48
  252. package/dist/collection/components/mds-pref-language/mds-pref-language.css +3 -3
  253. package/dist/collection/components/mds-pref-language/mds-pref-language.js +35 -46
  254. package/dist/collection/components/mds-pref-language-item/mds-pref-language-item.js +24 -38
  255. package/dist/collection/components/mds-pref-mode/mds-pref-mode.css +79 -0
  256. package/dist/collection/components/mds-pref-mode/mds-pref-mode.js +372 -0
  257. package/dist/collection/components/mds-pref-mode/meta/dictionary.js +3 -0
  258. package/dist/collection/components/mds-pref-theme/mds-pref-theme.css +12 -77
  259. package/dist/collection/components/mds-pref-theme/mds-pref-theme.js +183 -239
  260. package/dist/collection/components/mds-pref-theme/meta/dictionary.js +2 -3
  261. package/dist/collection/components/mds-pref-theme-item/mds-pref-theme-item.css +70 -0
  262. package/dist/collection/components/mds-pref-theme-item/mds-pref-theme-item.js +160 -0
  263. package/dist/collection/components/mds-price-table/mds-price-table.js +1 -1
  264. package/dist/collection/components/mds-price-table-features/mds-price-table-features.css +56 -47
  265. package/dist/collection/components/mds-price-table-features/mds-price-table-features.js +2 -31
  266. package/dist/collection/components/mds-price-table-features-cell/mds-price-table-features-cell.css +71 -67
  267. package/dist/collection/components/mds-price-table-features-cell/mds-price-table-features-cell.js +2 -31
  268. package/dist/collection/components/mds-price-table-features-row/mds-price-table-features-row.css +66 -42
  269. package/dist/collection/components/mds-price-table-features-row/mds-price-table-features-row.js +3 -28
  270. package/dist/collection/components/mds-price-table-header/mds-price-table-header.js +1 -1
  271. package/dist/collection/components/mds-price-table-list/mds-price-table-list.css +63 -25
  272. package/dist/collection/components/mds-price-table-list/mds-price-table-list.js +3 -28
  273. package/dist/collection/components/mds-price-table-list-item/mds-price-table-list-item.css +5 -31
  274. package/dist/collection/components/mds-price-table-list-item/mds-price-table-list-item.js +1 -1
  275. package/dist/collection/components/mds-progress/mds-progress.css +100 -94
  276. package/dist/collection/components/mds-progress/mds-progress.js +2 -27
  277. package/dist/collection/components/mds-push-notification/mds-push-notification.css +7 -37
  278. package/dist/collection/components/mds-push-notification/mds-push-notification.js +2 -21
  279. package/dist/collection/components/mds-push-notification-item/mds-push-notification-item.css +172 -136
  280. package/dist/collection/components/mds-push-notification-item/mds-push-notification-item.js +13 -60
  281. package/dist/collection/components/mds-quote/mds-quote.css +2 -2
  282. package/dist/collection/components/mds-quote/mds-quote.js +2 -16
  283. package/dist/collection/components/mds-radial-menu/mds-radial-menu.css +6 -60
  284. package/dist/collection/components/mds-radial-menu/mds-radial-menu.js +3 -2
  285. package/dist/collection/components/mds-radial-menu-item/mds-radial-menu-item.css +1 -7
  286. package/dist/collection/components/mds-radial-menu-item/mds-radial-menu-item.js +1 -1
  287. package/dist/collection/components/mds-radial-progress/mds-radial-progress.css +24 -30
  288. package/dist/collection/components/mds-radial-progress/mds-radial-progress.js +3 -7
  289. package/dist/collection/components/mds-separator/mds-separator.css +12 -42
  290. package/dist/collection/components/mds-separator/mds-separator.js +2 -26
  291. package/dist/collection/components/mds-spinner/mds-spinner.css +3 -9
  292. package/dist/collection/components/mds-spinner/mds-spinner.js +2 -16
  293. package/dist/collection/components/mds-status-bar/mds-status-bar.css +13 -23
  294. package/dist/collection/components/mds-status-bar/mds-status-bar.js +2 -31
  295. package/dist/collection/components/mds-stepper-bar/mds-stepper-bar.css +8 -56
  296. package/dist/collection/components/mds-stepper-bar/mds-stepper-bar.js +18 -9
  297. package/dist/collection/components/mds-stepper-bar-item/mds-stepper-bar-item.css +68 -120
  298. package/dist/collection/components/mds-stepper-bar-item/mds-stepper-bar-item.js +10 -44
  299. package/dist/collection/components/mds-tab/mds-tab.css +85 -189
  300. package/dist/collection/components/mds-tab/mds-tab.js +5 -27
  301. package/dist/collection/components/mds-tab-bar/mds-tab-bar.css +54 -10
  302. package/dist/collection/components/mds-tab-bar/mds-tab-bar.js +2 -31
  303. package/dist/collection/components/mds-tab-bar-item/mds-tab-bar-item.css +62 -44
  304. package/dist/collection/components/mds-tab-bar-item/mds-tab-bar-item.js +2 -27
  305. package/dist/collection/components/mds-tab-item/mds-tab-item.css +22 -37
  306. package/dist/collection/components/mds-tab-item/mds-tab-item.js +23 -22
  307. package/dist/collection/components/mds-table/mds-table.css +86 -130
  308. package/dist/collection/components/mds-table/mds-table.js +57 -52
  309. package/dist/collection/components/mds-table-body/mds-table-body.css +54 -40
  310. package/dist/collection/components/mds-table-body/mds-table-body.js +2 -16
  311. package/dist/collection/components/mds-table-cell/mds-table-cell.css +62 -32
  312. package/dist/collection/components/mds-table-cell/mds-table-cell.js +2 -16
  313. package/dist/collection/components/mds-table-footer/mds-table-footer.css +44 -0
  314. package/dist/collection/components/mds-table-footer/mds-table-footer.js +2 -16
  315. package/dist/collection/components/mds-table-header/mds-table-header.css +44 -0
  316. package/dist/collection/components/mds-table-header/mds-table-header.js +17 -48
  317. package/dist/collection/components/mds-table-header-cell/mds-table-header-cell.css +47 -7
  318. package/dist/collection/components/mds-table-header-cell/mds-table-header-cell.js +3 -13
  319. package/dist/collection/components/mds-table-row/mds-table-row.css +67 -49
  320. package/dist/collection/components/mds-table-row/mds-table-row.js +19 -50
  321. package/dist/collection/components/mds-text/mds-text.css +18 -38
  322. package/dist/collection/components/mds-text/mds-text.js +23 -22
  323. package/dist/collection/components/mds-toast/mds-toast.css +99 -90
  324. package/dist/collection/components/mds-toast/mds-toast.js +8 -28
  325. package/dist/collection/components/mds-tooltip/mds-tooltip.css +68 -85
  326. package/dist/collection/components/mds-tooltip/mds-tooltip.js +12 -31
  327. package/dist/collection/components/mds-tree/mds-tree.css +20 -212
  328. package/dist/collection/components/mds-tree/mds-tree.js +10 -4
  329. package/dist/collection/components/mds-tree-item/mds-tree-item.css +146 -267
  330. package/dist/collection/components/mds-tree-item/mds-tree-item.js +7 -28
  331. package/dist/collection/components/mds-url-view/mds-url-view.css +59 -33
  332. package/dist/collection/components/mds-url-view/mds-url-view.js +17 -67
  333. package/dist/collection/components/mds-usage/mds-usage.css +80 -95
  334. package/dist/collection/components/mds-usage/mds-usage.js +2 -60
  335. package/dist/collection/components/mds-video-wall/mds-video-wall.css +11 -26
  336. package/dist/collection/components/mds-video-wall/mds-video-wall.js +11 -2
  337. package/dist/collection/components/mds-zero/mds-zero.css +56 -18
  338. package/dist/collection/components/mds-zero/mds-zero.js +2 -31
  339. package/dist/collection/event-detail/theme.js +1 -0
  340. package/dist/collection/type/preference.js +22 -3
  341. package/dist/components/index.d.ts +230 -0
  342. package/dist/components/index.js +1 -1
  343. package/dist/components/mds-accordion-item.js +1 -1
  344. package/dist/components/mds-accordion-timer-item.js +1 -1
  345. package/dist/components/mds-accordion-timer.js +1 -1
  346. package/dist/components/mds-accordion.js +1 -1
  347. package/dist/components/mds-author.js +1 -1
  348. package/dist/components/mds-avatar-stack-item.js +1 -1
  349. package/dist/components/mds-avatar-stack.js +1 -1
  350. package/dist/components/mds-avatar.js +1 -1
  351. package/dist/components/mds-badge.js +1 -1
  352. package/dist/components/mds-banner.js +1 -1
  353. package/dist/components/mds-benchmark-bar.js +1 -1
  354. package/dist/components/mds-bibliography.js +1 -1
  355. package/dist/components/mds-breadcrumb-item.js +1 -1
  356. package/dist/components/mds-breadcrumb.js +1 -1
  357. package/dist/components/mds-button-dropdown.js +1 -1
  358. package/dist/components/mds-button-group.js +1 -1
  359. package/dist/components/mds-button.js +1 -1
  360. package/dist/components/mds-calendar-cell.js +1 -1
  361. package/dist/components/mds-calendar.js +1 -1
  362. package/dist/components/mds-card-content.js +1 -1
  363. package/dist/components/mds-card-footer.js +1 -1
  364. package/dist/components/mds-card-header.js +1 -1
  365. package/dist/components/mds-card-media.js +1 -1
  366. package/dist/components/mds-card.js +1 -1
  367. package/dist/components/mds-chip.js +1 -1
  368. package/dist/components/mds-details.js +1 -1
  369. package/dist/components/mds-dropdown.js +1 -1
  370. package/dist/components/mds-emoji.js +3 -3
  371. package/dist/components/mds-entity.js +1 -1
  372. package/dist/components/mds-file-preview.js +1 -1
  373. package/dist/components/mds-file.js +3 -3
  374. package/dist/components/mds-filter-item.js +1 -1
  375. package/dist/components/mds-filter.js +1 -1
  376. package/dist/components/mds-header-bar.js +1 -1
  377. package/dist/components/mds-header.js +1 -1
  378. package/dist/components/mds-help.js +1 -1
  379. package/dist/components/mds-horizontal-scroll.js +1 -1
  380. package/dist/components/mds-hr.js +1 -1
  381. package/dist/components/mds-icon.js +1 -1
  382. package/dist/components/mds-img.js +1 -1
  383. package/dist/components/mds-input-date-range-preselection.js +1 -1
  384. package/dist/components/mds-input-date-range.js +1 -1
  385. package/dist/components/mds-input-date.js +1 -1
  386. package/dist/components/mds-input-field.js +1 -1
  387. package/dist/components/mds-input-otp.js +1 -1
  388. package/dist/components/mds-input-range.js +1 -1
  389. package/dist/components/mds-input-select.js +1 -1
  390. package/dist/components/mds-input-switch.js +1 -1
  391. package/dist/components/mds-input-tip-item.js +1 -1
  392. package/dist/components/mds-input-tip.js +1 -1
  393. package/dist/components/mds-input-upload.js +1 -1
  394. package/dist/components/mds-input.js +1 -1
  395. package/dist/components/mds-keyboard-key.js +1 -1
  396. package/dist/components/mds-keyboard.js +1 -1
  397. package/dist/components/mds-kpi-item.js +1 -1
  398. package/dist/components/mds-kpi.js +1 -1
  399. package/dist/components/mds-label.js +1 -1
  400. package/dist/components/mds-list-item.js +1 -1
  401. package/dist/components/mds-list.js +1 -1
  402. package/dist/components/mds-mention.js +1 -1
  403. package/dist/components/mds-modal.js +1 -1
  404. package/dist/components/mds-note.js +1 -1
  405. package/dist/components/mds-notification.js +1 -1
  406. package/dist/components/mds-paginator-item.js +1 -1
  407. package/dist/components/mds-paginator.js +1 -1
  408. package/dist/components/mds-policy-ai.js +1 -1
  409. package/dist/components/mds-pref-animation.js +1 -1
  410. package/dist/components/mds-pref-consumption.js +1 -1
  411. package/dist/components/mds-pref-contrast.js +1 -1
  412. package/dist/components/mds-pref-language-item.js +1 -1
  413. package/dist/components/mds-pref-language.js +1 -1
  414. package/dist/components/mds-pref-mode.d.ts +11 -0
  415. package/dist/components/mds-pref-mode.js +1 -0
  416. package/dist/components/mds-pref-theme-item.d.ts +11 -0
  417. package/dist/components/mds-pref-theme-item.js +1 -0
  418. package/dist/components/mds-pref-theme.js +1 -1
  419. package/dist/components/mds-pref.js +1 -1
  420. package/dist/components/mds-price-table-features-cell.js +1 -1
  421. package/dist/components/mds-price-table-features-row.js +1 -1
  422. package/dist/components/mds-price-table-features.js +1 -1
  423. package/dist/components/mds-price-table-header.js +1 -1
  424. package/dist/components/mds-price-table-list-item.js +1 -1
  425. package/dist/components/mds-price-table-list.js +1 -1
  426. package/dist/components/mds-price-table.js +1 -1
  427. package/dist/components/mds-progress.js +1 -1
  428. package/dist/components/mds-push-notification-item.js +1 -1
  429. package/dist/components/mds-push-notification.js +1 -1
  430. package/dist/components/mds-quote.js +1 -1
  431. package/dist/components/mds-radial-menu-item.js +1 -1
  432. package/dist/components/mds-radial-menu.js +1 -1
  433. package/dist/components/mds-radial-progress.js +1 -1
  434. package/dist/components/mds-separator.js +1 -1
  435. package/dist/components/mds-spinner.js +1 -1
  436. package/dist/components/mds-status-bar.js +1 -1
  437. package/dist/components/mds-stepper-bar-item.js +1 -1
  438. package/dist/components/mds-stepper-bar.js +1 -1
  439. package/dist/components/mds-tab-bar-item.js +1 -1
  440. package/dist/components/mds-tab-bar.js +1 -1
  441. package/dist/components/mds-tab-item.js +1 -1
  442. package/dist/components/mds-tab.js +1 -1
  443. package/dist/components/mds-table-body.js +1 -1
  444. package/dist/components/mds-table-cell.js +1 -1
  445. package/dist/components/mds-table-footer.js +1 -1
  446. package/dist/components/mds-table-header-cell.js +1 -1
  447. package/dist/components/mds-table-header.js +1 -1
  448. package/dist/components/mds-table-row.js +1 -1
  449. package/dist/components/mds-table.js +1 -1
  450. package/dist/components/mds-text.js +1 -1
  451. package/dist/components/mds-toast.js +1 -1
  452. package/dist/components/mds-tooltip.js +1 -1
  453. package/dist/components/mds-tree-item.js +1 -1
  454. package/dist/components/mds-tree.js +1 -1
  455. package/dist/components/mds-url-view.js +1 -1
  456. package/dist/components/mds-usage.js +1 -1
  457. package/dist/components/mds-video-wall.js +1 -1
  458. package/dist/components/mds-zero.js +1 -1
  459. package/dist/components/p--8aaJX-p.js +1 -0
  460. package/dist/components/p-A9TZf0Ii.js +1 -0
  461. package/dist/components/p-B2A_hlV2.js +1 -0
  462. package/dist/components/p-B9DJLgwr.js +1 -0
  463. package/dist/components/p-BH3bWzRT.js +1 -0
  464. package/dist/components/p-BJNK4p33.js +1 -0
  465. package/dist/components/p-BNHXZ-JR.js +1 -0
  466. package/dist/components/p-BSxuG1vZ.js +1 -0
  467. package/dist/components/p-BTHR4xXu.js +1 -0
  468. package/dist/components/p-BhFTcUD0.js +3 -0
  469. package/dist/components/p-BouRLCYL.js +1 -0
  470. package/dist/components/p-Bss3F51Q.js +5 -0
  471. package/dist/components/p-Bt4xX5ww.js +1 -0
  472. package/dist/components/p-C03KYHGv.js +1 -0
  473. package/dist/components/p-C58NKMEE.js +1 -0
  474. package/dist/components/p-CACEYk42.js +1 -0
  475. package/dist/components/p-CBLAz3_J.js +1 -0
  476. package/dist/components/p-CHAGzQT-.js +1 -0
  477. package/dist/components/p-CVgKDZPF.js +1 -0
  478. package/dist/components/p-CVpjH8Un.js +1 -0
  479. package/dist/components/p-Caksrfcd.js +1 -0
  480. package/dist/components/p-CatD1iUY.js +1 -0
  481. package/dist/components/p-CbufYCNj.js +1 -0
  482. package/dist/components/p-Cehcn85x.js +1 -0
  483. package/dist/components/p-ClKNADBg.js +8 -0
  484. package/dist/components/p-CsgCQiHG.js +1 -0
  485. package/dist/components/p-CvIFS8oA.js +1 -0
  486. package/dist/components/p-D3-GP4KF.js +1 -0
  487. package/dist/components/p-D8I1RblC.js +1 -0
  488. package/dist/components/p-DLE5TNTp.js +1 -0
  489. package/dist/components/p-DaI5QqNu.js +1 -0
  490. package/dist/components/p-Deh5Aia-.js +1 -0
  491. package/dist/components/p-Dj_oN194.js +1 -0
  492. package/dist/components/p-DmELzfvf.js +1 -0
  493. package/dist/components/p-DtxB7DYE.js +1 -0
  494. package/dist/components/p-KRu9I7dw.js +1 -0
  495. package/dist/components/p-cBZsPiMJ.js +1 -0
  496. package/dist/components/p-s2Gu6hY7.js +1 -0
  497. package/dist/components/p-sqRs6oj4.js +1 -0
  498. package/dist/components/p-wq6nWuWE.js +1 -0
  499. package/dist/documentation.json +751 -1138
  500. package/dist/esm/date-CACEYk42.js +22 -0
  501. package/dist/esm/floating-controller-DVldZ5mh.js +366 -0
  502. package/dist/esm/floating-ui.dom-CHAGzQT-.js +1680 -0
  503. package/dist/esm/form-A9TZf0Ii.js +19 -0
  504. package/dist/esm/index-DIiEV39g.js +5149 -0
  505. package/dist/esm/index.js +17 -0
  506. package/dist/esm/keyboard-manager-KRu9I7dw.js +50 -0
  507. package/dist/esm/loader.js +3 -3
  508. package/dist/esm/locale-CbJbTW_c.js +814 -0
  509. package/dist/esm/locale.it-Cvxh7La5.js +506 -0
  510. package/dist/esm/magma-components.js +32 -5
  511. package/dist/esm/mds-accordion-item.entry.js +7 -28
  512. package/dist/esm/mds-accordion-timer-item.entry.js +8 -17
  513. package/dist/esm/mds-accordion-timer.entry.js +3 -3
  514. package/dist/esm/mds-accordion.entry.js +5 -22
  515. package/dist/esm/mds-author.entry.js +9 -4
  516. package/dist/esm/mds-avatar-stack-item.entry.js +2 -2
  517. package/dist/esm/mds-avatar-stack.entry.js +5 -4
  518. package/dist/esm/mds-avatar.entry.js +8 -21
  519. package/dist/esm/mds-badge.entry.js +5 -26
  520. package/dist/esm/mds-banner_3.entry.js +35 -70
  521. package/dist/esm/mds-benchmark-bar.entry.js +2 -2
  522. package/dist/esm/mds-bibliography.entry.js +2 -2
  523. package/dist/esm/mds-breadcrumb-item.entry.js +3 -3
  524. package/dist/esm/mds-breadcrumb.entry.js +7 -15
  525. package/dist/esm/mds-button-dropdown.entry.js +3 -3
  526. package/dist/esm/mds-button-group.entry.js +3 -3
  527. package/dist/esm/mds-button_3.entry.js +10 -32
  528. package/dist/esm/mds-calendar_2.entry.js +123 -102
  529. package/dist/esm/mds-card-content.entry.js +2 -2
  530. package/dist/esm/mds-card-footer.entry.js +2 -2
  531. package/dist/esm/mds-card-header.entry.js +9 -4
  532. package/dist/esm/mds-card-media.entry.js +2 -2
  533. package/dist/esm/mds-card.entry.js +4 -21
  534. package/dist/esm/mds-details.entry.js +8 -18
  535. package/dist/esm/mds-dropdown.entry.js +184 -58
  536. package/dist/esm/mds-emoji.entry.js +301 -181
  537. package/dist/esm/mds-entity.entry.js +11 -23
  538. package/dist/esm/mds-file-preview.entry.js +9 -37
  539. package/dist/esm/mds-file.entry.js +7 -35
  540. package/dist/esm/mds-filter-item.entry.js +6 -25
  541. package/dist/esm/mds-filter.entry.js +19 -32
  542. package/dist/esm/mds-header-bar.entry.js +11 -27
  543. package/dist/esm/mds-header.entry.js +8 -22
  544. package/dist/esm/mds-horizontal-scroll.entry.js +2 -2
  545. package/dist/esm/mds-hr.entry.js +4 -17
  546. package/dist/esm/mds-img.entry.js +8 -16
  547. package/dist/esm/mds-input-date-range-preselection.entry.js +2 -2
  548. package/dist/esm/mds-input-date-range.entry.js +57 -43
  549. package/dist/esm/mds-input-date.entry.js +14 -44
  550. package/dist/esm/mds-input-field.entry.js +42 -6
  551. package/dist/esm/mds-input-otp.entry.js +37 -3
  552. package/dist/esm/mds-input-range.entry.js +9 -29
  553. package/dist/esm/mds-input-select.entry.js +11 -41
  554. package/dist/esm/mds-input-switch_2.entry.js +19 -55
  555. package/dist/esm/mds-input-tip_2.entry.js +8 -40
  556. package/dist/esm/mds-input-upload.entry.js +34 -36
  557. package/dist/esm/mds-input.entry.js +23 -52
  558. package/dist/esm/mds-keyboard-key.entry.js +5 -14
  559. package/dist/esm/mds-keyboard.entry.js +5 -25
  560. package/dist/esm/mds-kpi-item.entry.js +12 -25
  561. package/dist/esm/mds-kpi.entry.js +2 -2
  562. package/dist/esm/mds-label.entry.js +7 -29
  563. package/dist/esm/mds-list-item.entry.js +4 -13
  564. package/dist/esm/mds-list.entry.js +1 -1
  565. package/dist/esm/mds-mention.entry.js +38 -4
  566. package/dist/esm/mds-modal.entry.js +54 -47
  567. package/dist/esm/mds-note.entry.js +7 -35
  568. package/dist/esm/mds-notification.entry.js +12 -14
  569. package/dist/esm/mds-paginator-item.entry.js +5 -20
  570. package/dist/esm/mds-paginator.entry.js +27 -32
  571. package/dist/esm/mds-policy-ai.entry.js +5 -15
  572. package/dist/esm/mds-pref-animation.entry.js +7 -23
  573. package/dist/esm/mds-pref-consumption.entry.js +7 -23
  574. package/dist/esm/mds-pref-contrast.entry.js +10 -24
  575. package/dist/esm/mds-pref-language-item.entry.js +27 -15
  576. package/dist/esm/mds-pref-language.entry.js +38 -28
  577. package/dist/esm/mds-pref-mode.entry.js +271 -0
  578. package/dist/esm/mds-pref-theme-item.entry.js +41 -0
  579. package/dist/esm/mds-pref-theme.entry.js +147 -230
  580. package/dist/esm/mds-pref.entry.js +40 -17
  581. package/dist/esm/mds-price-table-features-cell.entry.js +4 -25
  582. package/dist/esm/mds-price-table-features-row.entry.js +4 -25
  583. package/dist/esm/mds-price-table-features.entry.js +4 -25
  584. package/dist/esm/mds-price-table-header.entry.js +2 -2
  585. package/dist/esm/mds-price-table-list-item.entry.js +3 -3
  586. package/dist/esm/mds-price-table-list.entry.js +4 -25
  587. package/dist/esm/mds-price-table.entry.js +2 -2
  588. package/dist/esm/mds-progress_2.entry.js +7 -33
  589. package/dist/esm/mds-push-notification-item.entry.js +16 -39
  590. package/dist/esm/mds-push-notification.entry.js +7 -20
  591. package/dist/esm/mds-quote.entry.js +4 -13
  592. package/dist/esm/mds-radial-menu-item.entry.js +3 -3
  593. package/dist/esm/mds-radial-menu.entry.js +7 -6
  594. package/dist/esm/mds-separator.entry.js +4 -21
  595. package/dist/esm/mds-status-bar.entry.js +4 -25
  596. package/dist/esm/mds-stepper-bar-item.entry.js +14 -25
  597. package/dist/esm/mds-stepper-bar.entry.js +21 -12
  598. package/dist/esm/mds-tab-bar-item.entry.js +6 -27
  599. package/dist/esm/mds-tab-bar.entry.js +5 -26
  600. package/dist/esm/mds-tab_2.entry.js +14 -47
  601. package/dist/esm/mds-table-body.entry.js +4 -13
  602. package/dist/esm/mds-table-footer.entry.js +4 -13
  603. package/dist/esm/mds-table-header-cell.entry.js +4 -13
  604. package/dist/esm/mds-table-header.entry.js +19 -31
  605. package/dist/esm/mds-table-row.entry.js +20 -29
  606. package/dist/esm/mds-table.entry.js +60 -50
  607. package/dist/esm/mds-text.entry.js +36 -21
  608. package/dist/esm/mds-toast.entry.js +10 -27
  609. package/dist/esm/mds-tooltip.entry.js +16 -27
  610. package/dist/esm/mds-tree-item.entry.js +12 -14
  611. package/dist/esm/mds-tree.entry.js +12 -6
  612. package/dist/esm/mds-url-view.entry.js +21 -41
  613. package/dist/esm/mds-usage.entry.js +5 -33
  614. package/dist/esm/mds-video-wall.entry.js +8 -4
  615. package/dist/esm/mds-zero.entry.js +4 -25
  616. package/dist/esm/preference-CKerJx2M.js +385 -0
  617. package/dist/esm/slot-C0o_l0td.js +61 -0
  618. package/dist/esm-es5/date-CACEYk42.js +6 -0
  619. package/dist/esm-es5/datetime-BJtA1qmE.js +2732 -1
  620. package/dist/esm-es5/floating-controller-DVldZ5mh.js +66 -0
  621. package/dist/esm-es5/floating-ui.dom-CHAGzQT-.js +201 -0
  622. package/dist/esm-es5/form-A9TZf0Ii.js +8 -0
  623. package/dist/esm-es5/index-DIiEV39g.js +371 -0
  624. package/dist/esm-es5/index.js +79 -1
  625. package/dist/esm-es5/keyboard-manager-KRu9I7dw.js +5 -0
  626. package/dist/esm-es5/loader.js +1 -1
  627. package/dist/esm-es5/locale-CbJbTW_c.js +230 -0
  628. package/dist/esm-es5/locale.it-Cvxh7La5.js +6 -0
  629. package/dist/esm-es5/magma-components.js +4 -1
  630. package/dist/esm-es5/mds-accordion-item.entry.js +4 -1
  631. package/dist/esm-es5/mds-accordion-timer-item.entry.js +17 -1
  632. package/dist/esm-es5/mds-accordion-timer.entry.js +4 -1
  633. package/dist/esm-es5/mds-accordion.entry.js +7 -1
  634. package/dist/esm-es5/mds-author.entry.js +1 -1
  635. package/dist/esm-es5/mds-avatar-stack-item.entry.js +4 -1
  636. package/dist/esm-es5/mds-avatar-stack.entry.js +1 -1
  637. package/dist/esm-es5/mds-avatar.entry.js +8 -1
  638. package/dist/esm-es5/mds-badge.entry.js +12 -1
  639. package/dist/esm-es5/mds-banner_3.entry.js +40 -1
  640. package/dist/esm-es5/mds-benchmark-bar.entry.js +15 -1
  641. package/dist/esm-es5/mds-bibliography.entry.js +14 -1
  642. package/dist/esm-es5/mds-breadcrumb-item.entry.js +1 -1
  643. package/dist/esm-es5/mds-breadcrumb.entry.js +4 -1
  644. package/dist/esm-es5/mds-button-dropdown.entry.js +19 -1
  645. package/dist/esm-es5/mds-button-group.entry.js +1 -1
  646. package/dist/esm-es5/mds-button_3.entry.js +42 -1
  647. package/dist/esm-es5/mds-calendar_2.entry.js +81 -1
  648. package/dist/esm-es5/mds-card-content.entry.js +1 -1
  649. package/dist/esm-es5/mds-card-footer.entry.js +1 -1
  650. package/dist/esm-es5/mds-card-header.entry.js +1 -1
  651. package/dist/esm-es5/mds-card-media.entry.js +1 -1
  652. package/dist/esm-es5/mds-card.entry.js +7 -1
  653. package/dist/esm-es5/mds-details.entry.js +4 -1
  654. package/dist/esm-es5/mds-dropdown.entry.js +102 -1
  655. package/dist/esm-es5/mds-emoji.entry.js +899 -3
  656. package/dist/esm-es5/mds-entity.entry.js +1 -1
  657. package/dist/esm-es5/mds-file-preview.entry.js +23 -2
  658. package/dist/esm-es5/mds-file.entry.js +2823 -3
  659. package/dist/esm-es5/mds-filter-item.entry.js +1 -1
  660. package/dist/esm-es5/mds-filter.entry.js +11 -1
  661. package/dist/esm-es5/mds-header-bar.entry.js +11 -1
  662. package/dist/esm-es5/mds-header.entry.js +30 -1
  663. package/dist/esm-es5/mds-horizontal-scroll.entry.js +45 -1
  664. package/dist/esm-es5/mds-hr.entry.js +1 -1
  665. package/dist/esm-es5/mds-img.entry.js +15 -1
  666. package/dist/esm-es5/mds-input-date-range-preselection.entry.js +1 -1
  667. package/dist/esm-es5/mds-input-date-range.entry.js +39 -1
  668. package/dist/esm-es5/mds-input-date.entry.js +50 -1
  669. package/dist/esm-es5/mds-input-field.entry.js +22 -1
  670. package/dist/esm-es5/mds-input-otp.entry.js +13 -1
  671. package/dist/esm-es5/mds-input-range.entry.js +24 -1
  672. package/dist/esm-es5/mds-input-select.entry.js +39 -1
  673. package/dist/esm-es5/mds-input-switch_2.entry.js +27 -1
  674. package/dist/esm-es5/mds-input-tip_2.entry.js +10 -1
  675. package/dist/esm-es5/mds-input-upload.entry.js +63 -1
  676. package/dist/esm-es5/mds-input.entry.js +134 -1
  677. package/dist/esm-es5/mds-keyboard-key.entry.js +1 -1
  678. package/dist/esm-es5/mds-keyboard.entry.js +11 -1
  679. package/dist/esm-es5/mds-kpi-item.entry.js +11 -1
  680. package/dist/esm-es5/mds-kpi.entry.js +1 -1
  681. package/dist/esm-es5/mds-label.entry.js +16 -1
  682. package/dist/esm-es5/mds-list-item.entry.js +7 -1
  683. package/dist/esm-es5/mds-list.entry.js +1 -1
  684. package/dist/esm-es5/mds-mention.entry.js +4 -1
  685. package/dist/esm-es5/mds-modal.entry.js +68 -1
  686. package/dist/esm-es5/mds-note.entry.js +7 -1
  687. package/dist/esm-es5/mds-notification.entry.js +13 -1
  688. package/dist/esm-es5/mds-paginator-item.entry.js +1 -1
  689. package/dist/esm-es5/mds-paginator.entry.js +14 -1
  690. package/dist/esm-es5/mds-policy-ai.entry.js +7 -1
  691. package/dist/esm-es5/mds-pref-animation.entry.js +1 -1
  692. package/dist/esm-es5/mds-pref-consumption.entry.js +1 -1
  693. package/dist/esm-es5/mds-pref-contrast.entry.js +4 -1
  694. package/dist/esm-es5/mds-pref-language-item.entry.js +13 -1
  695. package/dist/esm-es5/mds-pref-language.entry.js +15 -1
  696. package/dist/esm-es5/mds-pref-mode.entry.js +4 -0
  697. package/dist/esm-es5/mds-pref-theme-item.entry.js +13 -0
  698. package/dist/esm-es5/mds-pref-theme.entry.js +38 -1
  699. package/dist/esm-es5/mds-pref.entry.js +9 -1
  700. package/dist/esm-es5/mds-price-table-features-cell.entry.js +4 -1
  701. package/dist/esm-es5/mds-price-table-features-row.entry.js +1 -1
  702. package/dist/esm-es5/mds-price-table-features.entry.js +1 -1
  703. package/dist/esm-es5/mds-price-table-header.entry.js +1 -1
  704. package/dist/esm-es5/mds-price-table-list-item.entry.js +7 -1
  705. package/dist/esm-es5/mds-price-table-list.entry.js +1 -1
  706. package/dist/esm-es5/mds-price-table.entry.js +1 -1
  707. package/dist/esm-es5/mds-progress_2.entry.js +32 -1
  708. package/dist/esm-es5/mds-push-notification-item.entry.js +16 -1
  709. package/dist/esm-es5/mds-push-notification.entry.js +49 -1
  710. package/dist/esm-es5/mds-quote.entry.js +7 -1
  711. package/dist/esm-es5/mds-radial-menu-item.entry.js +10 -1
  712. package/dist/esm-es5/mds-radial-menu.entry.js +28 -1
  713. package/dist/esm-es5/mds-separator.entry.js +1 -1
  714. package/dist/esm-es5/mds-status-bar.entry.js +10 -1
  715. package/dist/esm-es5/mds-stepper-bar-item.entry.js +16 -1
  716. package/dist/esm-es5/mds-stepper-bar.entry.js +19 -1
  717. package/dist/esm-es5/mds-tab-bar-item.entry.js +9 -1
  718. package/dist/esm-es5/mds-tab-bar.entry.js +1 -1
  719. package/dist/esm-es5/mds-tab_2.entry.js +26 -1
  720. package/dist/esm-es5/mds-table-body.entry.js +1 -1
  721. package/dist/esm-es5/mds-table-footer.entry.js +1 -1
  722. package/dist/esm-es5/mds-table-header-cell.entry.js +4 -1
  723. package/dist/esm-es5/mds-table-header.entry.js +14 -1
  724. package/dist/esm-es5/mds-table-row.entry.js +8 -1
  725. package/dist/esm-es5/mds-table.entry.js +15 -1
  726. package/dist/esm-es5/mds-text.entry.js +27 -1
  727. package/dist/esm-es5/mds-toast.entry.js +15 -1
  728. package/dist/esm-es5/mds-tooltip.entry.js +37 -1
  729. package/dist/esm-es5/mds-tree-item.entry.js +16 -1
  730. package/dist/esm-es5/mds-tree.entry.js +20 -1
  731. package/dist/esm-es5/mds-url-view.entry.js +7 -1
  732. package/dist/esm-es5/mds-usage.entry.js +4 -1
  733. package/dist/esm-es5/mds-video-wall.entry.js +16 -1
  734. package/dist/esm-es5/mds-zero.entry.js +1 -1
  735. package/dist/esm-es5/preference-CKerJx2M.js +58 -0
  736. package/dist/esm-es5/slot-C0o_l0td.js +23 -0
  737. package/dist/hydrate/index.js +4281 -3175
  738. package/dist/hydrate/index.mjs +4281 -3175
  739. package/dist/magma-components/index.esm.js +1 -1
  740. package/dist/magma-components/magma-components.esm.js +1 -1
  741. package/dist/magma-components/magma-components.js +1 -1
  742. package/dist/magma-components/p-03be5c0c.entry.js +1 -0
  743. package/dist/magma-components/p-0715a2cb.system.entry.js +12 -0
  744. package/dist/magma-components/p-071f18c6.system.entry.js +27 -0
  745. package/dist/magma-components/p-0798b0bf.system.entry.js +24 -0
  746. package/dist/magma-components/p-07fde74d.system.entry.js +39 -0
  747. package/dist/magma-components/p-086fb3aa.entry.js +1 -0
  748. package/dist/magma-components/p-0a088e7d.system.entry.js +10 -0
  749. package/dist/magma-components/p-0a691082.entry.js +1 -0
  750. package/dist/magma-components/p-0ad3b4da.system.entry.js +102 -0
  751. package/dist/magma-components/p-0af8d821.entry.js +1 -0
  752. package/dist/magma-components/p-0ec21574.system.entry.js +10 -0
  753. package/dist/magma-components/p-0f6bb54d.system.entry.js +22 -0
  754. package/dist/magma-components/p-102d3bd3.system.entry.js +1 -0
  755. package/dist/magma-components/p-10704ede.system.entry.js +4 -0
  756. package/dist/magma-components/p-15f63bf3.entry.js +1 -0
  757. package/dist/magma-components/p-16e9fb14.system.entry.js +7 -0
  758. package/dist/magma-components/p-1780b8ba.entry.js +1 -0
  759. package/dist/magma-components/p-181dfb04.entry.js +1 -0
  760. package/dist/magma-components/p-184720be.system.entry.js +1 -0
  761. package/dist/magma-components/p-18f7b970.system.entry.js +4 -0
  762. package/dist/magma-components/p-1a8c5086.system.entry.js +19 -0
  763. package/dist/magma-components/p-1afc0452.entry.js +1 -0
  764. package/dist/magma-components/p-1c0a7e24.system.entry.js +30 -0
  765. package/dist/magma-components/p-1cce738a.system.entry.js +32 -0
  766. package/dist/magma-components/p-1dcfb13e.entry.js +1 -0
  767. package/dist/magma-components/p-1df6ac96.system.entry.js +7 -0
  768. package/dist/magma-components/p-209063b6.system.entry.js +50 -0
  769. package/dist/magma-components/p-216f95cc.system.entry.js +1 -0
  770. package/dist/magma-components/p-21891a24.entry.js +1 -0
  771. package/dist/magma-components/p-21d6687a.system.entry.js +7 -0
  772. package/dist/magma-components/p-231505e8.entry.js +1 -0
  773. package/dist/magma-components/p-23e61db9.system.entry.js +4 -0
  774. package/dist/magma-components/p-241dbf61.entry.js +1 -0
  775. package/dist/magma-components/p-25935d33.system.entry.js +1 -0
  776. package/dist/magma-components/p-27ea99ee.entry.js +8 -0
  777. package/dist/magma-components/p-284c40cd.system.entry.js +4 -0
  778. package/dist/magma-components/p-29684655.system.entry.js +16 -0
  779. package/dist/magma-components/p-2b73fee6.entry.js +1 -0
  780. package/dist/magma-components/p-2d5aadba.system.entry.js +7 -0
  781. package/dist/magma-components/p-2de17848.entry.js +1 -0
  782. package/dist/magma-components/p-34482514.entry.js +1 -0
  783. package/dist/magma-components/p-34c0890e.entry.js +1 -0
  784. package/dist/magma-components/p-3635eca6.system.entry.js +1 -0
  785. package/dist/magma-components/p-3b0c1202.entry.js +1 -0
  786. package/dist/magma-components/p-3d8e63a2.system.entry.js +63 -0
  787. package/dist/magma-components/p-3db23b5f.system.entry.js +16 -0
  788. package/dist/magma-components/p-3ec7d3ea.entry.js +1 -0
  789. package/dist/magma-components/p-3f7d3060.system.entry.js +42 -0
  790. package/dist/magma-components/p-40563e33.entry.js +1 -0
  791. package/dist/magma-components/p-41bf6f25.system.entry.js +81 -0
  792. package/dist/magma-components/p-421a630e.entry.js +1 -0
  793. package/dist/magma-components/p-4297da23.system.entry.js +1 -0
  794. package/dist/magma-components/p-4299b76b.system.entry.js +4 -0
  795. package/dist/magma-components/p-4543501c.entry.js +1 -0
  796. package/dist/magma-components/p-454c4774.entry.js +1 -0
  797. package/dist/magma-components/p-4616bc07.entry.js +1 -0
  798. package/dist/magma-components/p-46786d71.system.entry.js +14 -0
  799. package/dist/magma-components/p-470e5ac8.system.entry.js +1 -0
  800. package/dist/magma-components/p-481008e9.system.entry.js +13 -0
  801. package/dist/magma-components/p-48d37230.entry.js +1 -0
  802. package/dist/magma-components/p-4b3a8132.system.entry.js +13 -0
  803. package/dist/magma-components/p-4c8316a8.entry.js +1 -0
  804. package/dist/magma-components/p-4c95442e.entry.js +1 -0
  805. package/dist/magma-components/p-4e4bdbf8.entry.js +1 -0
  806. package/dist/magma-components/p-4e5ab0e4.system.entry.js +16 -0
  807. package/dist/magma-components/p-4f107cb2.system.entry.js +2838 -0
  808. package/dist/magma-components/p-4oB0woT9.system.js +6 -0
  809. package/dist/magma-components/p-54b995c2.system.entry.js +4 -0
  810. package/dist/magma-components/p-56ad5bf2.entry.js +1 -0
  811. package/dist/magma-components/p-59de81ac.entry.js +1 -0
  812. package/dist/magma-components/p-5a7ead55.system.entry.js +37 -0
  813. package/dist/magma-components/p-5e43274a.system.entry.js +15 -0
  814. package/dist/magma-components/p-5f545f85.system.entry.js +1 -0
  815. package/dist/magma-components/p-61a5ac3d.system.entry.js +17 -0
  816. package/dist/magma-components/p-636cc471.entry.js +1 -0
  817. package/dist/magma-components/p-66ce2dee.entry.js +1 -0
  818. package/dist/magma-components/p-67d80d37.system.entry.js +1 -0
  819. package/dist/magma-components/p-6937f340.entry.js +1 -0
  820. package/dist/magma-components/p-69d1b815.entry.js +1 -0
  821. package/dist/magma-components/p-6b7e449f.entry.js +1 -0
  822. package/dist/magma-components/p-6c417ea1.system.entry.js +913 -0
  823. package/dist/magma-components/p-6cd7cfe3.entry.js +1 -0
  824. package/dist/magma-components/p-6ce60d59.entry.js +1 -0
  825. package/dist/magma-components/p-6cf760ea.system.entry.js +45 -0
  826. package/dist/magma-components/p-6dc27543.entry.js +1 -0
  827. package/dist/magma-components/p-6de37588.entry.js +1 -0
  828. package/dist/magma-components/p-6edc4f16.system.entry.js +14 -0
  829. package/dist/magma-components/p-6f6b5eb5.entry.js +1 -0
  830. package/dist/magma-components/p-7090184f.entry.js +1 -0
  831. package/dist/magma-components/p-716ad14c.entry.js +1 -0
  832. package/dist/magma-components/p-71804224.entry.js +1 -0
  833. package/dist/magma-components/p-735dc594.system.entry.js +1 -0
  834. package/dist/magma-components/p-739fdf76.system.entry.js +1 -0
  835. package/dist/magma-components/p-74b0902a.entry.js +1 -0
  836. package/dist/magma-components/p-7530a2f2.entry.js +1 -0
  837. package/dist/magma-components/p-75dd012a.system.entry.js +11 -0
  838. package/dist/magma-components/p-75fcf1a4.entry.js +1 -0
  839. package/dist/magma-components/p-76ae22d6.entry.js +1 -0
  840. package/dist/magma-components/p-78248693.entry.js +1 -0
  841. package/dist/magma-components/p-78fef00a.entry.js +1 -0
  842. package/dist/magma-components/p-7c0d202c.entry.js +1 -0
  843. package/dist/magma-components/p-7fc29447.entry.js +1 -0
  844. package/dist/magma-components/p-81b72b6e.entry.js +1 -0
  845. package/dist/magma-components/p-859ab5a2.entry.js +18 -0
  846. package/dist/magma-components/p-896ae0ee.entry.js +1 -0
  847. package/dist/magma-components/p-89a3bc7a.system.entry.js +16 -0
  848. package/dist/magma-components/p-8b7fa8d7.entry.js +1 -0
  849. package/dist/magma-components/p-8c4fb7ec.system.entry.js +30 -0
  850. package/dist/magma-components/p-8dff6606.system.entry.js +11 -0
  851. package/dist/magma-components/p-8e40eda3.system.entry.js +9 -0
  852. package/dist/magma-components/p-91b9d4e7.system.entry.js +4 -0
  853. package/dist/magma-components/p-92e1001f.entry.js +1 -0
  854. package/dist/magma-components/p-9378b373.system.entry.js +49 -0
  855. package/dist/magma-components/p-960dc9b5.system.entry.js +15 -0
  856. package/dist/magma-components/p-9626eaff.system.entry.js +134 -0
  857. package/dist/magma-components/p-9741d95e.system.entry.js +7 -0
  858. package/dist/magma-components/p-97ea9e6e.system.entry.js +68 -0
  859. package/dist/magma-components/p-9846fe89.system.entry.js +1 -0
  860. package/dist/magma-components/p-998721b9.system.entry.js +1 -0
  861. package/dist/magma-components/p-9a5296c0.system.entry.js +7 -0
  862. package/dist/magma-components/p-9b2ee3fe.entry.js +1 -0
  863. package/dist/magma-components/p-9be4a736.entry.js +1 -0
  864. package/dist/magma-components/p-9ca7932d.system.entry.js +8 -0
  865. package/dist/magma-components/p-9d86477d.system.entry.js +1 -0
  866. package/dist/magma-components/p-9e3bc553.system.entry.js +26 -0
  867. package/dist/magma-components/p-9e58467e.system.entry.js +10 -0
  868. package/dist/magma-components/p-9e9a1ebd.system.entry.js +15 -0
  869. package/dist/magma-components/p-A9TZf0Ii.js +1 -0
  870. package/dist/magma-components/p-B6mQg6yQ.js +1 -0
  871. package/dist/magma-components/p-BFnx_0hM.js +5 -0
  872. package/dist/magma-components/p-BJKToXNf.system.js +2733 -1
  873. package/dist/magma-components/p-BbMKuVem.js +1 -0
  874. package/dist/magma-components/p-C0o_l0td.js +1 -0
  875. package/dist/magma-components/p-C2FHijr2.system.js +231 -0
  876. package/dist/magma-components/p-CACEYk42.js +1 -0
  877. package/dist/magma-components/p-CBam2PI8.system.js +79 -0
  878. package/dist/magma-components/p-CDTiTqY0.system.js +58 -0
  879. package/dist/magma-components/p-CHAGzQT-.js +1 -0
  880. package/dist/magma-components/p-CI85vVs8.system.js +9 -0
  881. package/dist/magma-components/p-CnXBPjmc.system.js +5 -0
  882. package/dist/magma-components/p-DB8Rm54c.js +1 -0
  883. package/dist/magma-components/p-DIiEV39g.js +3 -0
  884. package/dist/magma-components/p-Dg8nxRUX.system.js +201 -0
  885. package/dist/magma-components/p-DmC-b-ZK.system.js +67 -0
  886. package/dist/magma-components/p-KRu9I7dw.js +1 -0
  887. package/dist/magma-components/p-LerCJgfP.system.js +5 -0
  888. package/dist/magma-components/p-MGv0i39Y.system.js +162 -0
  889. package/dist/magma-components/p-RJ5ZA1kY.system.js +23 -0
  890. package/dist/magma-components/p-a3279a73.system.entry.js +11 -0
  891. package/dist/magma-components/p-a3b0f586.entry.js +1 -0
  892. package/dist/magma-components/p-a3fc2ea4.system.entry.js +39 -0
  893. package/dist/magma-components/p-a5ac5e0b.entry.js +1 -0
  894. package/dist/magma-components/p-a8ec3080.system.entry.js +27 -0
  895. package/dist/magma-components/p-a906a02f.system.entry.js +16 -0
  896. package/dist/magma-components/p-a93b2a39.entry.js +1 -0
  897. package/dist/magma-components/p-aa267e7b.entry.js +1 -0
  898. package/dist/magma-components/p-ab9095ae.system.entry.js +4 -0
  899. package/dist/magma-components/p-ac544ab1.entry.js +1 -0
  900. package/dist/magma-components/p-ace198e9.entry.js +1 -0
  901. package/dist/magma-components/p-ad3983b2.entry.js +1 -0
  902. package/dist/magma-components/p-af41c8b8.system.entry.js +1 -0
  903. package/dist/magma-components/p-af45f0a5.system.entry.js +20 -0
  904. package/dist/magma-components/p-b23a6c83.entry.js +1 -0
  905. package/dist/magma-components/p-b35c26f8.entry.js +18 -0
  906. package/dist/magma-components/p-b3a3578c.entry.js +1 -0
  907. package/dist/magma-components/p-b49e0321.system.entry.js +1 -0
  908. package/dist/magma-components/p-b71e0d51.entry.js +1 -0
  909. package/dist/magma-components/p-b8d4a14e.entry.js +1 -0
  910. package/dist/magma-components/p-b9fecfd5.entry.js +1 -0
  911. package/dist/magma-components/p-ba035f90.entry.js +1 -0
  912. package/dist/magma-components/p-bc51d310.system.entry.js +1 -0
  913. package/dist/magma-components/p-bd490a8e.entry.js +1 -0
  914. package/dist/magma-components/p-be198039.system.entry.js +4 -0
  915. package/dist/magma-components/p-be692266.system.entry.js +13 -0
  916. package/dist/magma-components/p-bf7168b4.entry.js +1 -0
  917. package/dist/magma-components/p-bf84d9fa.entry.js +1 -0
  918. package/dist/magma-components/p-c1fb2eb7.entry.js +1 -0
  919. package/dist/magma-components/p-c4e58240.entry.js +1 -0
  920. package/dist/magma-components/p-c573de10.entry.js +1 -0
  921. package/dist/magma-components/p-c6be3db7.system.entry.js +1 -0
  922. package/dist/magma-components/p-c70d7159.entry.js +1 -0
  923. package/dist/magma-components/p-c7517884.system.entry.js +38 -0
  924. package/dist/magma-components/p-c9be79bd.entry.js +1 -0
  925. package/dist/magma-components/p-c9e12c2b.system.entry.js +7 -0
  926. package/dist/magma-components/p-cb6a1908.entry.js +1 -0
  927. package/dist/magma-components/p-cbd5aef4.system.entry.js +14 -0
  928. package/dist/magma-components/p-cd21137b.system.entry.js +1 -0
  929. package/dist/magma-components/p-cd5866c8.entry.js +1 -0
  930. package/dist/magma-components/p-ce0ecc75.system.entry.js +15 -0
  931. package/dist/magma-components/p-ce4e1a41.system.entry.js +1 -0
  932. package/dist/magma-components/p-d3116844.entry.js +1 -0
  933. package/dist/magma-components/p-d38165ed.system.entry.js +1 -0
  934. package/dist/magma-components/p-d3933a22.entry.js +1 -0
  935. package/dist/magma-components/p-d44c49d6.system.entry.js +8 -0
  936. package/dist/magma-components/p-d4a529ce.entry.js +1 -0
  937. package/dist/magma-components/p-d6d4aa1a.entry.js +1 -0
  938. package/dist/magma-components/p-d81e7100.system.entry.js +15 -0
  939. package/dist/magma-components/p-d8c27f4b.entry.js +1 -0
  940. package/dist/magma-components/p-d921d876.entry.js +1 -0
  941. package/dist/magma-components/p-da1ac3e1.entry.js +1 -0
  942. package/dist/magma-components/p-ddbdce09.entry.js +1 -0
  943. package/dist/magma-components/p-de6bc3c8.entry.js +1 -0
  944. package/dist/magma-components/p-df2b7607.system.entry.js +4 -0
  945. package/dist/magma-components/p-e05d2df8.system.entry.js +4 -0
  946. package/dist/magma-components/p-e0b2ef8f.system.entry.js +1 -0
  947. package/dist/magma-components/p-e0c50a2d.entry.js +1 -0
  948. package/dist/magma-components/p-e1277efe.system.entry.js +1 -0
  949. package/dist/magma-components/p-e1e6dd97.entry.js +1 -0
  950. package/dist/magma-components/p-e2f7a9bd.system.entry.js +1 -0
  951. package/dist/magma-components/p-e3e893c4.entry.js +1 -0
  952. package/dist/magma-components/p-e4868ade.entry.js +1 -0
  953. package/dist/magma-components/p-e5c6f9a9.system.entry.js +7 -0
  954. package/dist/magma-components/p-e5da7036.entry.js +1 -0
  955. package/dist/magma-components/p-e6dccab5.system.entry.js +1 -0
  956. package/dist/magma-components/p-ec59ec9a.entry.js +1 -0
  957. package/dist/magma-components/p-eddcef53.system.entry.js +1 -0
  958. package/dist/magma-components/p-eed00e7f.system.entry.js +1 -0
  959. package/dist/magma-components/p-ef8cb401.entry.js +1 -0
  960. package/dist/magma-components/p-efe8d359.entry.js +1 -0
  961. package/dist/magma-components/p-f070a5b5.system.entry.js +11 -0
  962. package/dist/magma-components/p-f0a168f4.system.entry.js +13 -0
  963. package/dist/magma-components/p-f1462410.system.entry.js +9 -0
  964. package/dist/magma-components/p-f23d4974.entry.js +1 -0
  965. package/dist/magma-components/p-f542246f.system.entry.js +1 -0
  966. package/dist/magma-components/p-f5c680dd.entry.js +1 -0
  967. package/dist/magma-components/p-f60c6e8e.system.entry.js +40 -0
  968. package/dist/magma-components/p-f8369939.entry.js +1 -0
  969. package/dist/magma-components/p-f97ede3e.system.entry.js +19 -0
  970. package/dist/magma-components/p-f97ff5b2.entry.js +1 -0
  971. package/dist/magma-components/p-fe1662e8.system.entry.js +28 -0
  972. package/dist/magma-components/p-ff133cbd.entry.js +1 -0
  973. package/dist/magma-components/p-fff44704.entry.js +1 -0
  974. package/dist/magma-components/p-opeIIa7t.system.js +7 -0
  975. package/dist/stats.json +5356 -7143
  976. package/dist/types/common/date.d.ts +5 -1
  977. package/dist/types/common/floating-controller.d.ts +56 -2
  978. package/dist/types/common/form.d.ts +10 -0
  979. package/dist/types/common/locale.d.ts +0 -5
  980. package/dist/types/common/preference.d.ts +48 -16
  981. package/dist/types/common/slot.d.ts +11 -1
  982. package/dist/types/common/yugop/random-text.d.ts +8 -0
  983. package/dist/types/components/mds-accordion/mds-accordion.d.ts +0 -8
  984. package/dist/types/components/mds-accordion-item/mds-accordion-item.d.ts +0 -10
  985. package/dist/types/components/mds-accordion-timer-item/mds-accordion-timer-item.d.ts +0 -4
  986. package/dist/types/components/mds-author/mds-author.d.ts +2 -1
  987. package/dist/types/components/mds-avatar/mds-avatar.d.ts +0 -6
  988. package/dist/types/components/mds-badge/mds-badge.d.ts +0 -10
  989. package/dist/types/components/mds-banner/mds-banner.d.ts +2 -16
  990. package/dist/types/components/mds-breadcrumb/mds-breadcrumb.d.ts +0 -6
  991. package/dist/types/components/mds-button/mds-button.d.ts +0 -7
  992. package/dist/types/components/mds-button-group/mds-button-group.d.ts +1 -1
  993. package/dist/types/components/mds-calendar/mds-calendar.d.ts +27 -18
  994. package/dist/types/components/mds-card/mds-card.d.ts +0 -8
  995. package/dist/types/components/mds-card-header/mds-card-header.d.ts +2 -1
  996. package/dist/types/components/mds-chip/mds-chip.d.ts +0 -15
  997. package/dist/types/components/mds-details/mds-details.d.ts +0 -5
  998. package/dist/types/components/mds-dropdown/mds-dropdown.d.ts +33 -12
  999. package/dist/types/components/mds-emoji/mds-emoji.d.ts +9 -2
  1000. package/dist/types/components/mds-entity/mds-entity.d.ts +3 -10
  1001. package/dist/types/components/mds-file/mds-file.d.ts +0 -15
  1002. package/dist/types/components/mds-file-preview/mds-file-preview.d.ts +0 -15
  1003. package/dist/types/components/mds-filter/mds-filter.d.ts +10 -10
  1004. package/dist/types/components/mds-filter-item/mds-filter-item.d.ts +0 -9
  1005. package/dist/types/components/mds-header/mds-header.d.ts +0 -7
  1006. package/dist/types/components/mds-header-bar/mds-header-bar.d.ts +2 -11
  1007. package/dist/types/components/mds-hr/mds-hr.d.ts +0 -6
  1008. package/dist/types/components/mds-img/mds-img.d.ts +1 -7
  1009. package/dist/types/components/mds-input/mds-input.d.ts +7 -15
  1010. package/dist/types/components/mds-input-date/mds-input-date.d.ts +9 -14
  1011. package/dist/types/components/mds-input-date-range/mds-input-date-range.d.ts +9 -12
  1012. package/dist/types/components/mds-input-field/mds-input-field.d.ts +3 -0
  1013. package/dist/types/components/mds-input-otp/mds-input-otp.d.ts +7 -0
  1014. package/dist/types/components/mds-input-range/mds-input-range.d.ts +0 -10
  1015. package/dist/types/components/mds-input-select/mds-input-select.d.ts +5 -14
  1016. package/dist/types/components/mds-input-switch/mds-input-switch.d.ts +0 -11
  1017. package/dist/types/components/mds-input-tip/mds-input-tip.d.ts +0 -4
  1018. package/dist/types/components/mds-input-tip-item/mds-input-tip-item.d.ts +0 -13
  1019. package/dist/types/components/mds-input-upload/mds-input-upload.d.ts +2 -7
  1020. package/dist/types/components/mds-input-upload/meta/types.d.ts +1 -1
  1021. package/dist/types/components/mds-keyboard/mds-keyboard.d.ts +0 -11
  1022. package/dist/types/components/mds-keyboard-key/mds-keyboard-key.d.ts +0 -7
  1023. package/dist/types/components/mds-keyboard-key/meta/icons.d.ts +1 -1
  1024. package/dist/types/components/mds-kpi-item/mds-kpi-item.d.ts +8 -10
  1025. package/dist/types/components/mds-label/mds-label.d.ts +0 -12
  1026. package/dist/types/components/mds-list-item/mds-list-item.d.ts +0 -4
  1027. package/dist/types/components/mds-mention/mds-mention.d.ts +13 -0
  1028. package/dist/types/components/mds-mention/meta/interface.d.ts +5 -0
  1029. package/dist/types/components/mds-modal/mds-modal.d.ts +17 -16
  1030. package/dist/types/components/mds-note/mds-note.d.ts +0 -15
  1031. package/dist/types/components/mds-notification/mds-notification.d.ts +0 -3
  1032. package/dist/types/components/mds-paginator/mds-paginator.d.ts +9 -11
  1033. package/dist/types/components/mds-paginator-item/mds-paginator-item.d.ts +0 -7
  1034. package/dist/types/components/mds-policy-ai/mds-policy-ai.d.ts +0 -7
  1035. package/dist/types/components/mds-pref/mds-pref.d.ts +12 -8
  1036. package/dist/types/components/mds-pref-animation/mds-pref-animation.d.ts +0 -10
  1037. package/dist/types/components/mds-pref-consumption/mds-pref-consumption.d.ts +0 -10
  1038. package/dist/types/components/mds-pref-contrast/mds-pref-contrast.d.ts +0 -10
  1039. package/dist/types/components/mds-pref-language/mds-pref-language.d.ts +3 -9
  1040. package/dist/types/components/mds-pref-language-item/mds-pref-language-item.d.ts +3 -7
  1041. package/dist/types/components/mds-pref-mode/mds-pref-mode.d.ts +62 -0
  1042. package/dist/types/components/mds-pref-mode/meta/dictionary.d.ts +3 -0
  1043. package/dist/types/components/mds-pref-theme/mds-pref-theme.d.ts +63 -45
  1044. package/dist/types/components/mds-pref-theme/meta/dictionary.d.ts +2 -3
  1045. package/dist/types/components/mds-pref-theme-item/mds-pref-theme-item.d.ts +28 -0
  1046. package/dist/types/components/mds-price-table-features/mds-price-table-features.d.ts +0 -10
  1047. package/dist/types/components/mds-price-table-features-cell/mds-price-table-features-cell.d.ts +0 -10
  1048. package/dist/types/components/mds-price-table-features-row/mds-price-table-features-row.d.ts +0 -10
  1049. package/dist/types/components/mds-price-table-list/mds-price-table-list.d.ts +0 -10
  1050. package/dist/types/components/mds-progress/mds-progress.d.ts +0 -10
  1051. package/dist/types/components/mds-push-notification/mds-push-notification.d.ts +0 -6
  1052. package/dist/types/components/mds-push-notification-item/mds-push-notification-item.d.ts +3 -17
  1053. package/dist/types/components/mds-quote/mds-quote.d.ts +0 -4
  1054. package/dist/types/components/mds-radial-progress/mds-radial-progress.d.ts +0 -1
  1055. package/dist/types/components/mds-separator/mds-separator.d.ts +0 -8
  1056. package/dist/types/components/mds-spinner/mds-spinner.d.ts +0 -4
  1057. package/dist/types/components/mds-status-bar/mds-status-bar.d.ts +0 -10
  1058. package/dist/types/components/mds-stepper-bar/mds-stepper-bar.d.ts +10 -0
  1059. package/dist/types/components/mds-stepper-bar-item/mds-stepper-bar-item.d.ts +0 -9
  1060. package/dist/types/components/mds-tab/mds-tab.d.ts +0 -9
  1061. package/dist/types/components/mds-tab-bar/mds-tab-bar.d.ts +0 -10
  1062. package/dist/types/components/mds-tab-bar-item/mds-tab-bar-item.d.ts +0 -10
  1063. package/dist/types/components/mds-tab-item/mds-tab-item.d.ts +5 -8
  1064. package/dist/types/components/mds-table/mds-table.d.ts +10 -14
  1065. package/dist/types/components/mds-table-body/mds-table-body.d.ts +0 -4
  1066. package/dist/types/components/mds-table-cell/mds-table-cell.d.ts +0 -4
  1067. package/dist/types/components/mds-table-footer/mds-table-footer.d.ts +0 -4
  1068. package/dist/types/components/mds-table-header/mds-table-header.d.ts +0 -9
  1069. package/dist/types/components/mds-table-header-cell/mds-table-header-cell.d.ts +0 -4
  1070. package/dist/types/components/mds-table-row/mds-table-row.d.ts +3 -10
  1071. package/dist/types/components/mds-text/mds-text.d.ts +0 -4
  1072. package/dist/types/components/mds-toast/mds-toast.d.ts +2 -11
  1073. package/dist/types/components/mds-tooltip/mds-tooltip.d.ts +0 -9
  1074. package/dist/types/components/mds-tree-item/mds-tree-item.d.ts +1 -5
  1075. package/dist/types/components/mds-url-view/mds-url-view.d.ts +0 -15
  1076. package/dist/types/components/mds-usage/mds-usage.d.ts +0 -16
  1077. package/dist/types/components/mds-video-wall/mds-video-wall.d.ts +2 -1
  1078. package/dist/types/components/mds-zero/mds-zero.d.ts +0 -10
  1079. package/dist/types/components.d.ts +243 -239
  1080. package/dist/types/event-detail/preference.d.ts +2 -2
  1081. package/dist/types/event-detail/theme.d.ts +5 -0
  1082. package/dist/types/stencil-public-runtime.d.ts +12 -0
  1083. package/dist/types/type/preference.d.ts +16 -3
  1084. package/loader/index.d.ts +1 -1
  1085. package/package.json +60 -66
  1086. package/dist/cjs/date-dnDGaLCn.js +0 -16
  1087. package/dist/cjs/floating-controller-CXEVR1wX.js +0 -203
  1088. package/dist/cjs/floating-ui.dom-DW-02Mib.js +0 -1703
  1089. package/dist/cjs/index-CNuKb6Lv.js +0 -2896
  1090. package/dist/cjs/keyboard-manager-BXKT5TGW.js +0 -52
  1091. package/dist/cjs/locale-oGW3SvGJ.js +0 -837
  1092. package/dist/cjs/locale.it-D-rxNDkm.js +0 -512
  1093. package/dist/cjs/mds-pref-theme-variant-item.cjs.entry.js +0 -63
  1094. package/dist/cjs/mds-pref-theme-variant.cjs.entry.js +0 -149
  1095. package/dist/cjs/preference-BdpIXWLP.js +0 -81
  1096. package/dist/cjs/slot-CI0KpgtY.js +0 -52
  1097. package/dist/collection/components/mds-accordion/test/mds-accordion.stories.js +0 -39
  1098. package/dist/collection/components/mds-accordion-item/test/mds-accordion-item.stories.js +0 -35
  1099. package/dist/collection/components/mds-accordion-timer/test/mds-accordion-timer.stories.js +0 -51
  1100. package/dist/collection/components/mds-accordion-timer-item/test/mds-accordion-timer-item.stories.js +0 -52
  1101. package/dist/collection/components/mds-author/test/mds-author.stories.js +0 -12
  1102. package/dist/collection/components/mds-avatar/test/mds-avatar.stories.js +0 -71
  1103. package/dist/collection/components/mds-avatar-stack/test/mds-avatar-stack.stories.js +0 -34
  1104. package/dist/collection/components/mds-avatar-stack-item/test/mds-avatar-stack-item.stories.js +0 -60
  1105. package/dist/collection/components/mds-badge/test/mds-badge.stories.js +0 -46
  1106. package/dist/collection/components/mds-banner/test/mds-banner.stories.js +0 -106
  1107. package/dist/collection/components/mds-benchmark-bar/test/mds-benchmark-bar.stories.js +0 -64
  1108. package/dist/collection/components/mds-bibliography/test/mds-bibliography.stories.js +0 -104
  1109. package/dist/collection/components/mds-breadcrumb/test/mds-breadcrumb.stories.js +0 -14
  1110. package/dist/collection/components/mds-breadcrumb-item/test/mds-breadcrumb-item.stories.js +0 -24
  1111. package/dist/collection/components/mds-button/test/mds-button.stories.js +0 -346
  1112. package/dist/collection/components/mds-button-dropdown/test/mds-button-dropdown.stories.js +0 -73
  1113. package/dist/collection/components/mds-button-group/test/mds-button-group.stories.js +0 -12
  1114. package/dist/collection/components/mds-calendar/test/mds-calendar.stories.js +0 -24
  1115. package/dist/collection/components/mds-card/test/mds-card.stories.js +0 -82
  1116. package/dist/collection/components/mds-chip/test/mds-chip.stories.js +0 -120
  1117. package/dist/collection/components/mds-details/test/mds-details.stories.js +0 -20
  1118. package/dist/collection/components/mds-dropdown/test/mds-dropdown.stories.js +0 -256
  1119. package/dist/collection/components/mds-emoji/test/mds-emoji.stories.js +0 -87
  1120. package/dist/collection/components/mds-entity/test/mds-entity.stories.js +0 -101
  1121. package/dist/collection/components/mds-file/test/mds-file.stories.js +0 -73
  1122. package/dist/collection/components/mds-file-preview/test/mds-file-preview.stories.js +0 -154
  1123. package/dist/collection/components/mds-filter/test/mds-filter.stories.js +0 -49
  1124. package/dist/collection/components/mds-filter-item/test/mds-filter-item.stories.js +0 -36
  1125. package/dist/collection/components/mds-header/test/mds-header.stories.js +0 -71
  1126. package/dist/collection/components/mds-header-bar/test/mds-header-bar.stories.js +0 -21
  1127. package/dist/collection/components/mds-help/test/mds-help.stories.js +0 -23
  1128. package/dist/collection/components/mds-horizontal-scroll/test/mds-horizontal-scroll.stories.js +0 -48
  1129. package/dist/collection/components/mds-hr/test/mds-hr.stories.js +0 -14
  1130. package/dist/collection/components/mds-icon/test/mds-icon.stories.js +0 -76
  1131. package/dist/collection/components/mds-img/test/mds-img-accessibility.stories.js +0 -34
  1132. package/dist/collection/components/mds-img/test/mds-img.stories.js +0 -62
  1133. package/dist/collection/components/mds-input/test/mds-input.stories.js +0 -302
  1134. package/dist/collection/components/mds-input-date/test/mds-input-date.stories.js +0 -70
  1135. package/dist/collection/components/mds-input-date-range/test/mds-input-date-range.stories.js +0 -109
  1136. package/dist/collection/components/mds-input-field/test/mds-input-field.stories.js +0 -90
  1137. package/dist/collection/components/mds-input-otp/test/mds-input-otp.stories.js +0 -68
  1138. package/dist/collection/components/mds-input-range/test/mds-input-range.stories.js +0 -92
  1139. package/dist/collection/components/mds-input-select/test/mds-input-select.stories.js +0 -97
  1140. package/dist/collection/components/mds-input-switch/test/mds-input-switch.stories.js +0 -169
  1141. package/dist/collection/components/mds-input-tip/test/mds-input-tip.stories.js +0 -20
  1142. package/dist/collection/components/mds-input-tip-item/test/mds-input-tip.stories.js +0 -20
  1143. package/dist/collection/components/mds-input-upload/test/mds-input-upload.stories.js +0 -48
  1144. package/dist/collection/components/mds-keyboard/test/mds-keyboard.stories.js +0 -30
  1145. package/dist/collection/components/mds-keyboard-key/test/mds-keyboard-key.stories.js +0 -20
  1146. package/dist/collection/components/mds-kpi/test/mds-kpi.stories.js +0 -22
  1147. package/dist/collection/components/mds-kpi-item/test/mds-kpi-item.stories.js +0 -34
  1148. package/dist/collection/components/mds-label/test/mds-label.stories.js +0 -72
  1149. package/dist/collection/components/mds-list/test/mds-list.stories.js +0 -8
  1150. package/dist/collection/components/mds-list-item/test/mds-list-item.stories.js +0 -29
  1151. package/dist/collection/components/mds-mention/test/mds-mention.stories.js +0 -31
  1152. package/dist/collection/components/mds-modal/test/mds-modal.stories.js +0 -388
  1153. package/dist/collection/components/mds-note/test/mds-note.stories.js +0 -31
  1154. package/dist/collection/components/mds-notification/test/mds-notification.stories.js +0 -64
  1155. package/dist/collection/components/mds-paginator/test/mds-paginator.stories.js +0 -28
  1156. package/dist/collection/components/mds-policy-ai/test/mds-policy.stories.js +0 -82
  1157. package/dist/collection/components/mds-pref/test/mds-pref.stories.js +0 -26
  1158. package/dist/collection/components/mds-pref-animation/test/mds-pref-animation.stories.js +0 -18
  1159. package/dist/collection/components/mds-pref-consumption/test/mds-pref-consumption.stories.js +0 -18
  1160. package/dist/collection/components/mds-pref-contrast/test/mds-pref-contrast.stories.js +0 -18
  1161. package/dist/collection/components/mds-pref-language/test/mds-pref-language.stories.js +0 -18
  1162. package/dist/collection/components/mds-pref-theme/test/mds-pref-theme.stories.js +0 -24
  1163. package/dist/collection/components/mds-pref-theme-variant/mds-pref-theme-variant.css +0 -40
  1164. package/dist/collection/components/mds-pref-theme-variant/mds-pref-theme-variant.js +0 -288
  1165. package/dist/collection/components/mds-pref-theme-variant/meta/dictionary.js +0 -2
  1166. package/dist/collection/components/mds-pref-theme-variant/test/mds-pref-theme-variant.stories.js +0 -27
  1167. package/dist/collection/components/mds-pref-theme-variant-item/mds-pref-theme-variant-item.css +0 -100
  1168. package/dist/collection/components/mds-pref-theme-variant-item/mds-pref-theme-variant-item.js +0 -198
  1169. package/dist/collection/components/mds-price-table/test/mds-price-table.stories.js +0 -11
  1170. package/dist/collection/components/mds-price-table-features/test/mds-price-table-features.stories.js +0 -11
  1171. package/dist/collection/components/mds-price-table-features-cell/test/mds-price-table-features-cell.stories.js +0 -11
  1172. package/dist/collection/components/mds-price-table-header/test/mds-price-table-header.stories.js +0 -8
  1173. package/dist/collection/components/mds-price-table-list/test/mds-price-table-list.stories.js +0 -12
  1174. package/dist/collection/components/mds-progress/test/mds-progress.stories.js +0 -66
  1175. package/dist/collection/components/mds-push-notification/test/mds-push-notification.stories.js +0 -104
  1176. package/dist/collection/components/mds-push-notification-item/test/mds-push-notification-item.stories.js +0 -194
  1177. package/dist/collection/components/mds-quote/test/mds-quote.stories.js +0 -33
  1178. package/dist/collection/components/mds-radial-menu/test/mds-radial-menu.stories.js +0 -98
  1179. package/dist/collection/components/mds-radial-menu-item/test/mds-radial-menu-item.stories.js +0 -37
  1180. package/dist/collection/components/mds-radial-progress/test/mds-radial-progress.stories.js +0 -45
  1181. package/dist/collection/components/mds-separator/test/mds-separator.stories.js +0 -8
  1182. package/dist/collection/components/mds-spinner/test/mds-spinner.stories.js +0 -20
  1183. package/dist/collection/components/mds-status-bar/test/mds-status-bar.stories.js +0 -80
  1184. package/dist/collection/components/mds-stepper-bar/test/mds-stepper-bar.stories.js +0 -100
  1185. package/dist/collection/components/mds-stepper-bar-item/test/mds-stepper-bar-item.stories.js +0 -70
  1186. package/dist/collection/components/mds-tab/test/mds-tab.stories.js +0 -152
  1187. package/dist/collection/components/mds-tab-bar/test/mds-tab-bar.stories.js +0 -8
  1188. package/dist/collection/components/mds-tab-bar-item/test/mds-tab-bar-item.stories.js +0 -21
  1189. package/dist/collection/components/mds-tab-item/test/mds-tab-item.stories.js +0 -54
  1190. package/dist/collection/components/mds-table/test/mds-table.stories.js +0 -107
  1191. package/dist/collection/components/mds-text/test/mds-text.stories.js +0 -183
  1192. package/dist/collection/components/mds-toast/test/mds-toast.stories.js +0 -52
  1193. package/dist/collection/components/mds-tooltip/test/mds-tooltip.stories.js +0 -155
  1194. package/dist/collection/components/mds-tree/test/mds-tree-apk.stories.js +0 -66
  1195. package/dist/collection/components/mds-tree/test/mds-tree.stories.js +0 -83
  1196. package/dist/collection/components/mds-tree-item/test/mds-tree-item.stories.js +0 -71
  1197. package/dist/collection/components/mds-url-view/test/mds-url-view.stories.js +0 -75
  1198. package/dist/collection/components/mds-usage/test/mds-usage.stories.js +0 -33
  1199. package/dist/collection/components/mds-video-wall/test/mds-video-wall.stories.js +0 -104
  1200. package/dist/collection/components/mds-zero/test/mds-zero.stories.js +0 -8
  1201. package/dist/collection/storybook/box-shadows.stories.js +0 -53
  1202. package/dist/collection/storybook/color-scale.stories.js +0 -465
  1203. package/dist/collection/storybook/components-preview.stories.js +0 -36
  1204. package/dist/collection/storybook/example-page.stories.js +0 -10
  1205. package/dist/collection/storybook/fouc-hydrated.stories.js +0 -20
  1206. package/dist/collection/storybook/input-form.stories.js +0 -40
  1207. package/dist/collection/storybook/same-childrend-slot-names.stories.js +0 -10
  1208. package/dist/collection/test/file.js +0 -53
  1209. package/dist/collection/test/mock.js +0 -19
  1210. package/dist/components/date.js +0 -1
  1211. package/dist/components/floating-controller.js +0 -1
  1212. package/dist/components/floating-ui.dom.js +0 -1
  1213. package/dist/components/icons-set.service.js +0 -1
  1214. package/dist/components/keyboard-manager.js +0 -1
  1215. package/dist/components/locale.it.js +0 -1
  1216. package/dist/components/locale.js +0 -5
  1217. package/dist/components/mds-avatar-stack-item2.js +0 -1
  1218. package/dist/components/mds-avatar2.js +0 -1
  1219. package/dist/components/mds-badge2.js +0 -1
  1220. package/dist/components/mds-banner2.js +0 -1
  1221. package/dist/components/mds-button2.js +0 -1
  1222. package/dist/components/mds-calendar-cell2.js +0 -1
  1223. package/dist/components/mds-calendar2.js +0 -1
  1224. package/dist/components/mds-chip2.js +0 -1
  1225. package/dist/components/mds-dropdown2.js +0 -1
  1226. package/dist/components/mds-file-preview2.js +0 -8
  1227. package/dist/components/mds-filter-item2.js +0 -1
  1228. package/dist/components/mds-help2.js +0 -1
  1229. package/dist/components/mds-icon2.js +0 -1
  1230. package/dist/components/mds-img2.js +0 -1
  1231. package/dist/components/mds-input-switch2.js +0 -1
  1232. package/dist/components/mds-input-tip-item2.js +0 -1
  1233. package/dist/components/mds-input-tip2.js +0 -1
  1234. package/dist/components/mds-input2.js +0 -1
  1235. package/dist/components/mds-modal2.js +0 -1
  1236. package/dist/components/mds-paginator-item2.js +0 -1
  1237. package/dist/components/mds-pref-theme-variant-item.d.ts +0 -11
  1238. package/dist/components/mds-pref-theme-variant-item.js +0 -1
  1239. package/dist/components/mds-pref-theme-variant.d.ts +0 -11
  1240. package/dist/components/mds-pref-theme-variant.js +0 -1
  1241. package/dist/components/mds-progress2.js +0 -1
  1242. package/dist/components/mds-radial-progress2.js +0 -1
  1243. package/dist/components/mds-separator2.js +0 -1
  1244. package/dist/components/mds-spinner2.js +0 -1
  1245. package/dist/components/mds-tab-item2.js +0 -1
  1246. package/dist/components/mds-tab2.js +0 -1
  1247. package/dist/components/mds-table-cell2.js +0 -1
  1248. package/dist/components/mds-table-header-cell2.js +0 -1
  1249. package/dist/components/mds-text2.js +0 -1
  1250. package/dist/components/mds-tooltip2.js +0 -1
  1251. package/dist/components/preference.js +0 -1
  1252. package/dist/components/slot.js +0 -1
  1253. package/dist/esm/date-C1oxPa_J.js +0 -14
  1254. package/dist/esm/floating-controller-D5eXU5Mk.js +0 -200
  1255. package/dist/esm/floating-ui.dom-8RYXTPXs.js +0 -1695
  1256. package/dist/esm/index-CAd5312P.js +0 -2869
  1257. package/dist/esm/keyboard-manager-BudfaWhu.js +0 -50
  1258. package/dist/esm/locale-a4oAcjYG.js +0 -835
  1259. package/dist/esm/locale.it-Dj8sWDfj.js +0 -503
  1260. package/dist/esm/mds-pref-theme-variant-item.entry.js +0 -61
  1261. package/dist/esm/mds-pref-theme-variant.entry.js +0 -147
  1262. package/dist/esm/preference-fMwnXhio.js +0 -79
  1263. package/dist/esm/slot-ttrRC6OE.js +0 -48
  1264. package/dist/esm-es5/date-C1oxPa_J.js +0 -1
  1265. package/dist/esm-es5/floating-controller-D5eXU5Mk.js +0 -1
  1266. package/dist/esm-es5/floating-ui.dom-8RYXTPXs.js +0 -1
  1267. package/dist/esm-es5/index-CAd5312P.js +0 -1
  1268. package/dist/esm-es5/keyboard-manager-BudfaWhu.js +0 -1
  1269. package/dist/esm-es5/locale-a4oAcjYG.js +0 -5
  1270. package/dist/esm-es5/locale.it-Dj8sWDfj.js +0 -1
  1271. package/dist/esm-es5/mds-pref-theme-variant-item.entry.js +0 -1
  1272. package/dist/esm-es5/mds-pref-theme-variant.entry.js +0 -1
  1273. package/dist/esm-es5/preference-fMwnXhio.js +0 -1
  1274. package/dist/esm-es5/slot-ttrRC6OE.js +0 -1
  1275. package/dist/magma-components/p-0105d7c7.entry.js +0 -8
  1276. package/dist/magma-components/p-022defe8.entry.js +0 -1
  1277. package/dist/magma-components/p-02d858d0.entry.js +0 -1
  1278. package/dist/magma-components/p-0607a2b3.entry.js +0 -1
  1279. package/dist/magma-components/p-0af4d0ef.entry.js +0 -1
  1280. package/dist/magma-components/p-0b91aae4.entry.js +0 -1
  1281. package/dist/magma-components/p-0bb29dbd.system.entry.js +0 -1
  1282. package/dist/magma-components/p-0c1a5df0.entry.js +0 -1
  1283. package/dist/magma-components/p-0e986d85.entry.js +0 -18
  1284. package/dist/magma-components/p-0ea42813.entry.js +0 -1
  1285. package/dist/magma-components/p-0fe5aeaf.system.entry.js +0 -1
  1286. package/dist/magma-components/p-10ddec99.system.entry.js +0 -1
  1287. package/dist/magma-components/p-11567740.entry.js +0 -1
  1288. package/dist/magma-components/p-116238cf.system.entry.js +0 -1
  1289. package/dist/magma-components/p-1239667c.system.entry.js +0 -1
  1290. package/dist/magma-components/p-1518fda3.system.entry.js +0 -1
  1291. package/dist/magma-components/p-16c94506.system.entry.js +0 -1
  1292. package/dist/magma-components/p-18823bfc.system.entry.js +0 -1
  1293. package/dist/magma-components/p-188e94ef.system.entry.js +0 -1
  1294. package/dist/magma-components/p-19446c9e.entry.js +0 -1
  1295. package/dist/magma-components/p-1a73c7b0.system.entry.js +0 -1
  1296. package/dist/magma-components/p-1ad03ee9.entry.js +0 -1
  1297. package/dist/magma-components/p-1c4038f7.system.entry.js +0 -1
  1298. package/dist/magma-components/p-2035564c.system.entry.js +0 -1
  1299. package/dist/magma-components/p-2128ce5a.system.entry.js +0 -1
  1300. package/dist/magma-components/p-21ee64ec.entry.js +0 -1
  1301. package/dist/magma-components/p-224d2f55.entry.js +0 -1
  1302. package/dist/magma-components/p-23791e85.system.entry.js +0 -1
  1303. package/dist/magma-components/p-248c1b2c.system.entry.js +0 -1
  1304. package/dist/magma-components/p-249b80a5.entry.js +0 -1
  1305. package/dist/magma-components/p-262daf4f.entry.js +0 -1
  1306. package/dist/magma-components/p-288ce251.entry.js +0 -1
  1307. package/dist/magma-components/p-2a804b82.entry.js +0 -1
  1308. package/dist/magma-components/p-2aff9851.system.entry.js +0 -1
  1309. package/dist/magma-components/p-2b0667f6.system.entry.js +0 -1
  1310. package/dist/magma-components/p-2bd03b3d.system.entry.js +0 -1
  1311. package/dist/magma-components/p-2bfa7ed9.system.entry.js +0 -1
  1312. package/dist/magma-components/p-2c6c80e8.entry.js +0 -1
  1313. package/dist/magma-components/p-2e88e014.system.entry.js +0 -1
  1314. package/dist/magma-components/p-2f5cc981.system.entry.js +0 -1
  1315. package/dist/magma-components/p-31403b12.entry.js +0 -1
  1316. package/dist/magma-components/p-31616d0b.entry.js +0 -1
  1317. package/dist/magma-components/p-33b03c17.system.entry.js +0 -1
  1318. package/dist/magma-components/p-353f30cc.system.entry.js +0 -1
  1319. package/dist/magma-components/p-35482f9d.system.entry.js +0 -1
  1320. package/dist/magma-components/p-35b5889a.system.entry.js +0 -1
  1321. package/dist/magma-components/p-36d9d329.system.entry.js +0 -1
  1322. package/dist/magma-components/p-36fd1ed7.system.entry.js +0 -1
  1323. package/dist/magma-components/p-377c94ee.system.entry.js +0 -1
  1324. package/dist/magma-components/p-385f395d.system.entry.js +0 -1
  1325. package/dist/magma-components/p-39c09a42.system.entry.js +0 -1
  1326. package/dist/magma-components/p-3_AKUQtJ.system.js +0 -1
  1327. package/dist/magma-components/p-3c306ed0.system.entry.js +0 -1
  1328. package/dist/magma-components/p-3de6fa18.entry.js +0 -1
  1329. package/dist/magma-components/p-41da539f.entry.js +0 -1
  1330. package/dist/magma-components/p-422bb9e2.system.entry.js +0 -1
  1331. package/dist/magma-components/p-447c2d1b.entry.js +0 -1
  1332. package/dist/magma-components/p-44e2965d.entry.js +0 -1
  1333. package/dist/magma-components/p-46266f27.entry.js +0 -1
  1334. package/dist/magma-components/p-4630472f.entry.js +0 -1
  1335. package/dist/magma-components/p-4671336c.entry.js +0 -1
  1336. package/dist/magma-components/p-4803d24f.system.entry.js +0 -1
  1337. package/dist/magma-components/p-4a929c1c.entry.js +0 -1
  1338. package/dist/magma-components/p-4bc7756a.system.entry.js +0 -1
  1339. package/dist/magma-components/p-4f8ae676.system.entry.js +0 -1
  1340. package/dist/magma-components/p-50c922ad.system.entry.js +0 -1
  1341. package/dist/magma-components/p-50cdb70c.system.entry.js +0 -1
  1342. package/dist/magma-components/p-52c10dbf.system.entry.js +0 -1
  1343. package/dist/magma-components/p-52e35c13.system.entry.js +0 -1
  1344. package/dist/magma-components/p-56a8f1d0.system.entry.js +0 -1
  1345. package/dist/magma-components/p-5724212b.entry.js +0 -1
  1346. package/dist/magma-components/p-5be1c273.entry.js +0 -1
  1347. package/dist/magma-components/p-5d05fa1a.entry.js +0 -1
  1348. package/dist/magma-components/p-5de4bf4f.entry.js +0 -1
  1349. package/dist/magma-components/p-5e626696.entry.js +0 -1
  1350. package/dist/magma-components/p-5f1532c0.system.entry.js +0 -1
  1351. package/dist/magma-components/p-5fe8c814.entry.js +0 -1
  1352. package/dist/magma-components/p-60e8812c.system.entry.js +0 -17
  1353. package/dist/magma-components/p-611fa0a4.entry.js +0 -1
  1354. package/dist/magma-components/p-61fefe1b.system.entry.js +0 -1
  1355. package/dist/magma-components/p-62c9216f.system.entry.js +0 -1
  1356. package/dist/magma-components/p-652b4e43.entry.js +0 -1
  1357. package/dist/magma-components/p-6a92f533.entry.js +0 -1
  1358. package/dist/magma-components/p-6b3569a0.entry.js +0 -1
  1359. package/dist/magma-components/p-6b9175f1.system.entry.js +0 -1
  1360. package/dist/magma-components/p-6ecfec17.entry.js +0 -1
  1361. package/dist/magma-components/p-6ed096d3.system.entry.js +0 -1
  1362. package/dist/magma-components/p-6ee86191.entry.js +0 -1
  1363. package/dist/magma-components/p-70719b58.entry.js +0 -1
  1364. package/dist/magma-components/p-70e1a436.entry.js +0 -1
  1365. package/dist/magma-components/p-725d9e09.entry.js +0 -1
  1366. package/dist/magma-components/p-726a76f0.entry.js +0 -1
  1367. package/dist/magma-components/p-72d91c6f.system.entry.js +0 -1
  1368. package/dist/magma-components/p-73926a10.entry.js +0 -1
  1369. package/dist/magma-components/p-7499262d.system.entry.js +0 -1
  1370. package/dist/magma-components/p-750214a3.entry.js +0 -1
  1371. package/dist/magma-components/p-7590a160.entry.js +0 -1
  1372. package/dist/magma-components/p-75fa7e6f.system.entry.js +0 -1
  1373. package/dist/magma-components/p-765447d4.system.entry.js +0 -1
  1374. package/dist/magma-components/p-76cb480d.entry.js +0 -1
  1375. package/dist/magma-components/p-79e12ac8.entry.js +0 -1
  1376. package/dist/magma-components/p-7b4b9b88.system.entry.js +0 -1
  1377. package/dist/magma-components/p-7c464f28.entry.js +0 -1
  1378. package/dist/magma-components/p-7d338f59.system.entry.js +0 -1
  1379. package/dist/magma-components/p-81e16f90.system.entry.js +0 -1
  1380. package/dist/magma-components/p-82c6cdb9.system.entry.js +0 -1
  1381. package/dist/magma-components/p-83b01f8e.system.entry.js +0 -1
  1382. package/dist/magma-components/p-8546f46f.system.entry.js +0 -1
  1383. package/dist/magma-components/p-85a2d99d.entry.js +0 -1
  1384. package/dist/magma-components/p-8620f425.entry.js +0 -1
  1385. package/dist/magma-components/p-89581b08.system.entry.js +0 -1
  1386. package/dist/magma-components/p-8964a9fe.entry.js +0 -1
  1387. package/dist/magma-components/p-899cd759.entry.js +0 -1
  1388. package/dist/magma-components/p-8RYXTPXs.js +0 -1
  1389. package/dist/magma-components/p-8b2408b2.entry.js +0 -1
  1390. package/dist/magma-components/p-8b9f6896.entry.js +0 -1
  1391. package/dist/magma-components/p-8bde0c42.entry.js +0 -1
  1392. package/dist/magma-components/p-8d5955ca.system.entry.js +0 -1
  1393. package/dist/magma-components/p-91a1d3d5.entry.js +0 -1
  1394. package/dist/magma-components/p-93538408.system.entry.js +0 -1
  1395. package/dist/magma-components/p-94ff105b.system.entry.js +0 -1
  1396. package/dist/magma-components/p-96f7ec63.entry.js +0 -1
  1397. package/dist/magma-components/p-97144490.entry.js +0 -1
  1398. package/dist/magma-components/p-999b0698.system.entry.js +0 -1
  1399. package/dist/magma-components/p-9e533765.system.entry.js +0 -18
  1400. package/dist/magma-components/p-BMAK4u5Y.system.js +0 -1
  1401. package/dist/magma-components/p-Bh89IjzU.system.js +0 -1
  1402. package/dist/magma-components/p-BudfaWhu.js +0 -1
  1403. package/dist/magma-components/p-C1oxPa_J.js +0 -1
  1404. package/dist/magma-components/p-CAd5312P.js +0 -2
  1405. package/dist/magma-components/p-CJPnuGyH.system.js +0 -1
  1406. package/dist/magma-components/p-CSb7Iu19.js +0 -1
  1407. package/dist/magma-components/p-DI5DWqw4.system.js +0 -2
  1408. package/dist/magma-components/p-DTZViJWJ.system.js +0 -1
  1409. package/dist/magma-components/p-DcKeJ0td.system.js +0 -6
  1410. package/dist/magma-components/p-DssKRrAV.system.js +0 -1
  1411. package/dist/magma-components/p-MSUJeuJp.js +0 -1
  1412. package/dist/magma-components/p-a24d6d4a.system.entry.js +0 -1
  1413. package/dist/magma-components/p-a24dadaa.system.entry.js +0 -1
  1414. package/dist/magma-components/p-a2b84011.system.entry.js +0 -1
  1415. package/dist/magma-components/p-a2d761d6.entry.js +0 -1
  1416. package/dist/magma-components/p-a379adca.entry.js +0 -1
  1417. package/dist/magma-components/p-a46f7424.system.entry.js +0 -1
  1418. package/dist/magma-components/p-a47708f1.system.entry.js +0 -1
  1419. package/dist/magma-components/p-a4d11055.system.entry.js +0 -1
  1420. package/dist/magma-components/p-a4oAcjYG.js +0 -5
  1421. package/dist/magma-components/p-a5ef9d32.entry.js +0 -18
  1422. package/dist/magma-components/p-a6103622.entry.js +0 -1
  1423. package/dist/magma-components/p-a6b8b861.entry.js +0 -1
  1424. package/dist/magma-components/p-a6bdaa85.entry.js +0 -1
  1425. package/dist/magma-components/p-a716833c.system.entry.js +0 -1
  1426. package/dist/magma-components/p-a877906d.system.entry.js +0 -1
  1427. package/dist/magma-components/p-a8a2d90e.system.entry.js +0 -1
  1428. package/dist/magma-components/p-a92edada.entry.js +0 -1
  1429. package/dist/magma-components/p-aafec5fe.entry.js +0 -1
  1430. package/dist/magma-components/p-abce0c57.system.entry.js +0 -1
  1431. package/dist/magma-components/p-ac2ee475.entry.js +0 -1
  1432. package/dist/magma-components/p-ac5baffa.system.entry.js +0 -1
  1433. package/dist/magma-components/p-ad1ad433.system.entry.js +0 -1
  1434. package/dist/magma-components/p-ae433eb9.entry.js +0 -1
  1435. package/dist/magma-components/p-afaef9a1.entry.js +0 -1
  1436. package/dist/magma-components/p-b257222c.system.entry.js +0 -1
  1437. package/dist/magma-components/p-b472ed3c.entry.js +0 -1
  1438. package/dist/magma-components/p-b4fc19e9.entry.js +0 -1
  1439. package/dist/magma-components/p-b53ef2c1.entry.js +0 -1
  1440. package/dist/magma-components/p-b7dedc9f.entry.js +0 -1
  1441. package/dist/magma-components/p-b97edfb5.entry.js +0 -1
  1442. package/dist/magma-components/p-bc851caf.entry.js +0 -1
  1443. package/dist/magma-components/p-bc8ef479.system.entry.js +0 -9
  1444. package/dist/magma-components/p-bdc54840.system.entry.js +0 -1
  1445. package/dist/magma-components/p-bf29ca5a.entry.js +0 -1
  1446. package/dist/magma-components/p-bfc29d3b.system.entry.js +0 -1
  1447. package/dist/magma-components/p-bff1e84c.system.entry.js +0 -1
  1448. package/dist/magma-components/p-c01c49b6.entry.js +0 -1
  1449. package/dist/magma-components/p-c0296d86.system.entry.js +0 -1
  1450. package/dist/magma-components/p-c036f516.entry.js +0 -1
  1451. package/dist/magma-components/p-c3d8aa52.entry.js +0 -1
  1452. package/dist/magma-components/p-c4e7b103.system.entry.js +0 -1
  1453. package/dist/magma-components/p-c7a0a746.system.entry.js +0 -1
  1454. package/dist/magma-components/p-c92a772e.entry.js +0 -1
  1455. package/dist/magma-components/p-ca09ab1d.system.entry.js +0 -1
  1456. package/dist/magma-components/p-cc9212ce.system.entry.js +0 -1
  1457. package/dist/magma-components/p-cc95225c.system.entry.js +0 -1
  1458. package/dist/magma-components/p-cd49c455.entry.js +0 -1
  1459. package/dist/magma-components/p-d0542487.entry.js +0 -1
  1460. package/dist/magma-components/p-d0dfe659.entry.js +0 -1
  1461. package/dist/magma-components/p-d0eb94ea.system.entry.js +0 -1
  1462. package/dist/magma-components/p-d3e5c4eb.system.entry.js +0 -1
  1463. package/dist/magma-components/p-d4295773.entry.js +0 -1
  1464. package/dist/magma-components/p-d5700423.system.entry.js +0 -1
  1465. package/dist/magma-components/p-d838cb1c.system.entry.js +0 -1
  1466. package/dist/magma-components/p-d9605a5d.system.entry.js +0 -1
  1467. package/dist/magma-components/p-daa8f835.entry.js +0 -1
  1468. package/dist/magma-components/p-db4e2a0b.system.entry.js +0 -1
  1469. package/dist/magma-components/p-de0dac8f.entry.js +0 -1
  1470. package/dist/magma-components/p-de8204f9.entry.js +0 -1
  1471. package/dist/magma-components/p-e0b841e3.entry.js +0 -1
  1472. package/dist/magma-components/p-e35ab355.entry.js +0 -1
  1473. package/dist/magma-components/p-e44e2652.system.entry.js +0 -1
  1474. package/dist/magma-components/p-e48d23f4.system.entry.js +0 -1
  1475. package/dist/magma-components/p-e570aec5.system.entry.js +0 -1
  1476. package/dist/magma-components/p-e57698df.system.entry.js +0 -1
  1477. package/dist/magma-components/p-e669739e.entry.js +0 -1
  1478. package/dist/magma-components/p-e8fa7a07.entry.js +0 -1
  1479. package/dist/magma-components/p-ea2c8dd1.entry.js +0 -1
  1480. package/dist/magma-components/p-ea881c45.system.entry.js +0 -1
  1481. package/dist/magma-components/p-ebfb6963.system.entry.js +0 -1
  1482. package/dist/magma-components/p-eca8523b.system.entry.js +0 -1
  1483. package/dist/magma-components/p-ef142420.system.entry.js +0 -1
  1484. package/dist/magma-components/p-ef56af85.system.entry.js +0 -1
  1485. package/dist/magma-components/p-f0762290.entry.js +0 -1
  1486. package/dist/magma-components/p-f1832c1e.system.entry.js +0 -1
  1487. package/dist/magma-components/p-f4b1974a.entry.js +0 -1
  1488. package/dist/magma-components/p-f7cfc9a7.system.entry.js +0 -1
  1489. package/dist/magma-components/p-f83a9e08.entry.js +0 -1
  1490. package/dist/magma-components/p-f8ee5fec.system.entry.js +0 -1
  1491. package/dist/magma-components/p-f91dab2b.entry.js +0 -1
  1492. package/dist/magma-components/p-fMwnXhio.js +0 -1
  1493. package/dist/magma-components/p-fa61d03c.entry.js +0 -1
  1494. package/dist/magma-components/p-fbf423a7.system.entry.js +0 -1
  1495. package/dist/magma-components/p-fbfb589c.entry.js +0 -1
  1496. package/dist/magma-components/p-fc56d9ae.entry.js +0 -1
  1497. package/dist/magma-components/p-fc862fe2.system.entry.js +0 -1
  1498. package/dist/magma-components/p-fd574e21.entry.js +0 -1
  1499. package/dist/magma-components/p-fd649ac2.entry.js +0 -1
  1500. package/dist/magma-components/p-fed36619.entry.js +0 -1
  1501. package/dist/magma-components/p-ihVfCXG4.system.js +0 -1
  1502. package/dist/magma-components/p-oCzRm29V.system.js +0 -1
  1503. package/dist/magma-components/p-ttrRC6OE.js +0 -1
  1504. package/dist/magma-components/p-vYOT2M2B.system.js +0 -1
  1505. package/dist/types/components/mds-accordion/test/mds-accordion.stories.d.ts +0 -40
  1506. package/dist/types/components/mds-accordion-item/test/mds-accordion-item.stories.d.ts +0 -41
  1507. package/dist/types/components/mds-accordion-timer/test/mds-accordion-timer.stories.d.ts +0 -45
  1508. package/dist/types/components/mds-accordion-timer-item/test/mds-accordion-timer-item.stories.d.ts +0 -67
  1509. package/dist/types/components/mds-author/test/mds-author.stories.d.ts +0 -10
  1510. package/dist/types/components/mds-avatar/test/mds-avatar.stories.d.ts +0 -82
  1511. package/dist/types/components/mds-avatar-stack/test/mds-avatar-stack.stories.d.ts +0 -38
  1512. package/dist/types/components/mds-avatar-stack-item/test/mds-avatar-stack-item.stories.d.ts +0 -71
  1513. package/dist/types/components/mds-badge/test/mds-badge.stories.d.ts +0 -56
  1514. package/dist/types/components/mds-banner/test/mds-banner.stories.d.ts +0 -115
  1515. package/dist/types/components/mds-benchmark-bar/test/mds-benchmark-bar.stories.d.ts +0 -85
  1516. package/dist/types/components/mds-bibliography/test/mds-bibliography.stories.d.ts +0 -129
  1517. package/dist/types/components/mds-breadcrumb/test/mds-breadcrumb.stories.d.ts +0 -16
  1518. package/dist/types/components/mds-breadcrumb-item/test/mds-breadcrumb-item.stories.d.ts +0 -26
  1519. package/dist/types/components/mds-button/test/mds-button.stories.d.ts +0 -253
  1520. package/dist/types/components/mds-button-dropdown/test/mds-button-dropdown.stories.d.ts +0 -104
  1521. package/dist/types/components/mds-button-group/test/mds-button-group.stories.d.ts +0 -10
  1522. package/dist/types/components/mds-calendar/test/mds-calendar.stories.d.ts +0 -23
  1523. package/dist/types/components/mds-card/test/mds-card.stories.d.ts +0 -66
  1524. package/dist/types/components/mds-chip/test/mds-chip.stories.d.ts +0 -121
  1525. package/dist/types/components/mds-details/test/mds-details.stories.d.ts +0 -21
  1526. package/dist/types/components/mds-dropdown/test/mds-dropdown.stories.d.ts +0 -275
  1527. package/dist/types/components/mds-emoji/test/mds-emoji.stories.d.ts +0 -19
  1528. package/dist/types/components/mds-entity/test/mds-entity.stories.d.ts +0 -84
  1529. package/dist/types/components/mds-file/test/mds-file.stories.d.ts +0 -145
  1530. package/dist/types/components/mds-file-preview/test/mds-file-preview.stories.d.ts +0 -157
  1531. package/dist/types/components/mds-filter/test/mds-filter.stories.d.ts +0 -56
  1532. package/dist/types/components/mds-filter-item/test/mds-filter-item.stories.d.ts +0 -43
  1533. package/dist/types/components/mds-header/test/mds-header.stories.d.ts +0 -68
  1534. package/dist/types/components/mds-header-bar/test/mds-header-bar.stories.d.ts +0 -23
  1535. package/dist/types/components/mds-help/test/mds-help.stories.d.ts +0 -25
  1536. package/dist/types/components/mds-horizontal-scroll/test/mds-horizontal-scroll.stories.d.ts +0 -57
  1537. package/dist/types/components/mds-hr/test/mds-hr.stories.d.ts +0 -13
  1538. package/dist/types/components/mds-icon/test/mds-icon.stories.d.ts +0 -55
  1539. package/dist/types/components/mds-img/test/mds-img-accessibility.stories.d.ts +0 -93
  1540. package/dist/types/components/mds-img/test/mds-img.stories.d.ts +0 -122
  1541. package/dist/types/components/mds-input/test/mds-input.stories.d.ts +0 -332
  1542. package/dist/types/components/mds-input-date/test/mds-input-date.stories.d.ts +0 -73
  1543. package/dist/types/components/mds-input-date-range/test/mds-input-date-range.stories.d.ts +0 -70
  1544. package/dist/types/components/mds-input-field/test/mds-input-field.stories.d.ts +0 -86
  1545. package/dist/types/components/mds-input-otp/test/mds-input-otp.stories.d.ts +0 -36
  1546. package/dist/types/components/mds-input-range/test/mds-input-range.stories.d.ts +0 -75
  1547. package/dist/types/components/mds-input-select/test/mds-input-select.stories.d.ts +0 -105
  1548. package/dist/types/components/mds-input-switch/test/mds-input-switch.stories.d.ts +0 -195
  1549. package/dist/types/components/mds-input-tip/test/mds-input-tip.stories.d.ts +0 -22
  1550. package/dist/types/components/mds-input-tip-item/test/mds-input-tip.stories.d.ts +0 -22
  1551. package/dist/types/components/mds-input-upload/test/mds-input-upload.stories.d.ts +0 -55
  1552. package/dist/types/components/mds-keyboard/test/mds-keyboard.stories.d.ts +0 -27
  1553. package/dist/types/components/mds-keyboard-key/test/mds-keyboard-key.stories.d.ts +0 -22
  1554. package/dist/types/components/mds-kpi/test/mds-kpi.stories.d.ts +0 -26
  1555. package/dist/types/components/mds-kpi-item/test/mds-kpi-item.stories.d.ts +0 -42
  1556. package/dist/types/components/mds-label/test/mds-label.stories.d.ts +0 -86
  1557. package/dist/types/components/mds-list/test/mds-list.stories.d.ts +0 -7
  1558. package/dist/types/components/mds-list-item/test/mds-list-item.stories.d.ts +0 -38
  1559. package/dist/types/components/mds-mention/test/mds-mention.stories.d.ts +0 -38
  1560. package/dist/types/components/mds-modal/test/mds-modal.stories.d.ts +0 -156
  1561. package/dist/types/components/mds-note/test/mds-note.stories.d.ts +0 -34
  1562. package/dist/types/components/mds-notification/test/mds-notification.stories.d.ts +0 -68
  1563. package/dist/types/components/mds-paginator/test/mds-paginator.stories.d.ts +0 -33
  1564. package/dist/types/components/mds-policy-ai/test/mds-policy.stories.d.ts +0 -83
  1565. package/dist/types/components/mds-pref/test/mds-pref.stories.d.ts +0 -29
  1566. package/dist/types/components/mds-pref-animation/test/mds-pref-animation.stories.d.ts +0 -20
  1567. package/dist/types/components/mds-pref-consumption/test/mds-pref-consumption.stories.d.ts +0 -20
  1568. package/dist/types/components/mds-pref-contrast/test/mds-pref-contrast.stories.d.ts +0 -20
  1569. package/dist/types/components/mds-pref-language/test/mds-pref-language.stories.d.ts +0 -20
  1570. package/dist/types/components/mds-pref-theme/test/mds-pref-theme.stories.d.ts +0 -30
  1571. package/dist/types/components/mds-pref-theme-variant/mds-pref-theme-variant.d.ts +0 -62
  1572. package/dist/types/components/mds-pref-theme-variant/meta/dictionary.d.ts +0 -2
  1573. package/dist/types/components/mds-pref-theme-variant/test/mds-pref-theme-variant.stories.d.ts +0 -30
  1574. package/dist/types/components/mds-pref-theme-variant-item/mds-pref-theme-variant-item.d.ts +0 -35
  1575. package/dist/types/components/mds-price-table/test/mds-price-table.stories.d.ts +0 -10
  1576. package/dist/types/components/mds-price-table-features/test/mds-price-table-features.stories.d.ts +0 -10
  1577. package/dist/types/components/mds-price-table-features-cell/test/mds-price-table-features-cell.stories.d.ts +0 -10
  1578. package/dist/types/components/mds-price-table-header/test/mds-price-table-header.stories.d.ts +0 -7
  1579. package/dist/types/components/mds-price-table-list/test/mds-price-table-list.stories.d.ts +0 -10
  1580. package/dist/types/components/mds-progress/test/mds-progress.stories.d.ts +0 -89
  1581. package/dist/types/components/mds-push-notification/test/mds-push-notification.stories.d.ts +0 -28
  1582. package/dist/types/components/mds-push-notification-item/test/mds-push-notification-item.stories.d.ts +0 -210
  1583. package/dist/types/components/mds-quote/test/mds-quote.stories.d.ts +0 -34
  1584. package/dist/types/components/mds-radial-menu/test/mds-radial-menu.stories.d.ts +0 -123
  1585. package/dist/types/components/mds-radial-menu-item/test/mds-radial-menu-item.stories.d.ts +0 -48
  1586. package/dist/types/components/mds-radial-progress/test/mds-radial-progress.stories.d.ts +0 -68
  1587. package/dist/types/components/mds-separator/test/mds-separator.stories.d.ts +0 -7
  1588. package/dist/types/components/mds-spinner/test/mds-spinner.stories.d.ts +0 -21
  1589. package/dist/types/components/mds-status-bar/test/mds-status-bar.stories.d.ts +0 -34
  1590. package/dist/types/components/mds-stepper-bar/test/mds-stepper-bar.stories.d.ts +0 -45
  1591. package/dist/types/components/mds-stepper-bar-item/test/mds-stepper-bar-item.stories.d.ts +0 -102
  1592. package/dist/types/components/mds-tab/test/mds-tab.stories.d.ts +0 -111
  1593. package/dist/types/components/mds-tab-bar/test/mds-tab-bar.stories.d.ts +0 -7
  1594. package/dist/types/components/mds-tab-bar-item/test/mds-tab-bar-item.stories.d.ts +0 -25
  1595. package/dist/types/components/mds-tab-item/test/mds-tab-item.stories.d.ts +0 -69
  1596. package/dist/types/components/mds-table/test/mds-table.stories.d.ts +0 -63
  1597. package/dist/types/components/mds-text/test/mds-text.stories.d.ts +0 -181
  1598. package/dist/types/components/mds-toast/test/mds-toast.stories.d.ts +0 -59
  1599. package/dist/types/components/mds-tooltip/test/mds-tooltip.stories.d.ts +0 -192
  1600. package/dist/types/components/mds-tree/test/mds-tree-apk.stories.d.ts +0 -16
  1601. package/dist/types/components/mds-tree/test/mds-tree.stories.d.ts +0 -86
  1602. package/dist/types/components/mds-tree-item/test/mds-tree-item.stories.d.ts +0 -48
  1603. package/dist/types/components/mds-url-view/test/mds-url-view.stories.d.ts +0 -63
  1604. package/dist/types/components/mds-usage/test/mds-usage.stories.d.ts +0 -37
  1605. package/dist/types/components/mds-video-wall/test/mds-video-wall.stories.d.ts +0 -119
  1606. package/dist/types/components/mds-zero/test/mds-zero.stories.d.ts +0 -7
  1607. package/dist/types/event-detail/theme-variant.d.ts +0 -5
  1608. package/dist/types/storybook/box-shadows.stories.d.ts +0 -7
  1609. package/dist/types/storybook/color-scale.stories.d.ts +0 -7
  1610. package/dist/types/storybook/components-preview.stories.d.ts +0 -33
  1611. package/dist/types/storybook/example-page.stories.d.ts +0 -7
  1612. package/dist/types/storybook/fouc-hydrated.stories.d.ts +0 -7
  1613. package/dist/types/storybook/input-form.stories.d.ts +0 -7
  1614. package/dist/types/storybook/same-childrend-slot-names.stories.d.ts +0 -7
  1615. package/dist/types/test/file.d.ts +0 -35
  1616. package/dist/types/test/mock.d.ts +0 -2
  1617. /package/dist/collection/{event-detail/theme-variant.js → components/mds-mention/meta/interface.js} +0 -0
  1618. /package/dist/components/{broken-image.js → p-0FAG3rkw.js} +0 -0
  1619. /package/dist/components/{horizontal-rule.js → p-BE8xuIpS.js} +0 -0
  1620. /package/dist/components/{check-circle.js → p-BFhO-KUe.js} +0 -0
  1621. /package/dist/components/{cancel.js → p-BJ8rpzfj.js} +0 -0
  1622. /package/dist/components/{calendar-today.js → p-BVQMG7KJ.js} +0 -0
  1623. /package/dist/components/{arrow-forward.js → p-Bd0uuNDE.js} +0 -0
  1624. /package/dist/components/{keys.js → p-C4ckbXOl.js} +0 -0
  1625. /package/dist/components/{panorama.js → p-CGFwoK_U.js} +0 -0
  1626. /package/dist/components/{aria.js → p-CSCy6TMW.js} +0 -0
  1627. /package/dist/components/{keyboard-arrow-up.js → p-Ccz0jCNB.js} +0 -0
  1628. /package/dist/components/{clsx.js → p-ChV9xqsO.js} +0 -0
  1629. /package/dist/components/{done.js → p-CvUz9jjh.js} +0 -0
  1630. /package/dist/components/{remove.js → p-D17B058a.js} +0 -0
  1631. /package/dist/components/{unit.js → p-D8eZRaSQ.js} +0 -0
  1632. /package/dist/components/{keyboard-arrow-right.js → p-DFyAGAnn.js} +0 -0
  1633. /package/dist/components/{keyboard-arrow-down.js → p-DiWN48aq.js} +0 -0
  1634. /package/dist/components/{browser.js → p-Dje8Mggf.js} +0 -0
  1635. /package/dist/components/{arrow-back.js → p-DnEUG7st.js} +0 -0
  1636. /package/dist/components/{_commonjsHelpers.js → p-E-ZsRS8r.js} +0 -0
  1637. /package/dist/components/{close.js → p-J-ikDhyq.js} +0 -0
  1638. /package/dist/components/{settings.js → p-XQgkfNpn.js} +0 -0
  1639. /package/dist/components/{circle.js → p-lZldSMeV.js} +0 -0
@@ -1 +1,13 @@
1
- import{r as registerInstance,h,H as Host,g as getElement}from"./index-CAd5312P.js";import{s as subscribePreference}from"./preference-fMwnXhio.js";import{o as offset,s as shift,c as computePosition,d as autoUpdate}from"./floating-ui.dom-8RYXTPXs.js";var mdsNotificationCss=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{--mds-notification-color:rgb(var(--tone-neutral,0 0 0));--mds-notification-dot-background:rgb(var(--status-error-05,250 165 160));--mds-notification-dot-padding:6px;--mds-notification-min-width:var(--mds-notification-size,20px);--mds-notification-ring-color:rgb(var(--tone-neutral,0 0 0));--mds-notification-ring-size:2px;--mds-notification-size:20px;--mds-notification-transition-duration:.2s;--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)));--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}@property --mds-notification-dot-padding{syntax:"<length>";inherits:false;initial-value:6px}@property --mds-notification-ring-size{syntax:"<length>";inherits:false;initial-value:2px}@property --mds-notification-size{syntax:"<length>";inherits:false;initial-value:20px}@property --mds-notification-transition-duration{syntax:"<time>";inherits:false;initial-value:.2s}@property --mds-notification-translate-offset-x{syntax:"<number>";inherits:false;initial-value:-1.75}@property --mds-notification-translate-offset-y{syntax:"<number>";inherits:false;initial-value:-2}:host{--mds-notification-color:rgb(var(--tone-neutral,0 0 0));--mds-notification-dot-background:rgb(var(--status-error-05,250 165 160));--mds-notification-dot-padding:6px;--mds-notification-min-width:var(--mds-notification-size,20px);--mds-notification-ring-color:rgb(var(--tone-neutral,0 0 0));--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(--tone-neutral,0 0 0)));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(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)))) scale(0);transform:var(--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)))) 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(--status-error-05,250 165 160)));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(--tone-neutral,0 0 0)));box-shadow:0 0 0 var(--mds-notification-ring-size,2px) var(--mds-notification-ring-color,rgb(var(--tone-neutral,0 0 0)));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,var(--mds-notification-size,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,var(--mds-notification-size,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(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)))) scale(0);transform:var(--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)))) 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(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)))) scale(1);transform:var(--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)))) 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]){--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([pref-animation=system]){--private-notification-transition-duration:0s;--private-notification-dot-transition-duration:0s}}'};var MdsNotification=function(){function t(t){var i=this;registerInstance(this,t);this.value=0;this.dismissed=false;this.strategy="fixed";this.placement="right-start";this.updatePosition=function(){var t=new Array;var n=i.strategy==="disabled"?"absolute":"fixed";t.push(offset(0));t.push(shift({padding:0}));computePosition(i.caller,i.host,{middleware:t,placement:i.placement,strategy:n}).then((function(t){var n=t.x,a=t.y;Object.assign(i.host.style,{left:"".concat(n,"px"),top:"".concat(a,"px")})}))};this.clean=function(t){if(t===0||isNaN(t))return"";if(i.max!==undefined&&i.max!==0&&!Number.isNaN(i.max)){if(t>i.max){return"+".concat(Number(i.max).toLocaleString())}}return Number(t).toLocaleString()}}t.prototype.connectedCallback=function(){var t=this;this.unsubscribePrefAnimation=subscribePreference("animation",(function(i){t.prefAnimation=i}))};t.prototype.componentDidRender=function(){if(this.target===""){this.strategy="disabled";return}var t=document.querySelector(this.target);if(t==null)throw new Error("No valid target found");this.caller=t};t.prototype.componentDidLoad=function(){var t=this;if(this.strategy==="disabled"){return}if(this.target!==""&&this.cleanupAutoUpdate==null){setTimeout((function(){t.cleanupAutoUpdate=autoUpdate(t.caller,t.host,t.updatePosition)}),100)}};t.prototype.disconnectedCallback=function(){var t;(t=this.unsubscribePrefAnimation)===null||t===void 0?void 0:t.call(this);this.cleanupAutoUpdate=function(){}};t.prototype.strategyHandler=function(t){if(t==="disabled"){this.cleanupAutoUpdate=function(){}}};t.prototype.render=function(){var t;return h(Host,{key:"6f224fcb0e2aa7a9b0c2b43f0fd13dce05ee5c64","aria-labelledby":this.target,"aria-label":(t=this.value)!==null&&t!==void 0?t:"0","pref-animation":this.prefAnimation},h("mds-text",{key:"22c5441fd70f730a9696208688463ef36e8396e7",typography:"caption",class:"dot","aria-hidden":"true"},this.clean(this.value)))};Object.defineProperty(t.prototype,"host",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{strategy:[{strategyHandler:0}]}},enumerable:false,configurable:true});return t}();MdsNotification.style=mdsNotificationCss();export{MdsNotification as mds_notification};
1
+ import{r as registerInstance,h,e as Host,g as getElement}from"./index-DIiEV39g.js";import{p as preferenceStore}from"./preference-CKerJx2M.js";import{o as offset,s as shift,c as computePosition,d as autoUpdate}from"./floating-ui.dom-CHAGzQT-.js";var mdsNotificationCss=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-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}}'};var MdsNotification=/** @class */function(){function t(t){var i=this;registerInstance(this,t);
2
+ /**
3
+ * Specifies number of notifications to display, if it set to 0, the element will be hidden
4
+ */this.value=0;
5
+ /**
6
+ * Specifies if the notification is dismissed
7
+ */this.dismissed=false;
8
+ /**
9
+ * Specifies the position strategy of the notification
10
+ */this.strategy="fixed";this.placement="right-start";this.updatePosition=function(){var t=new Array;var n=i.strategy==="disabled"?"absolute":"fixed";t.push(offset(0));t.push(shift({padding:0}));computePosition(i.caller,i.host,{middleware:t,placement:i.placement,strategy:n}).then((function(t){var n=t.x,a=t.y;Object.assign(i.host.style,{left:"".concat(n,"px"),top:"".concat(a,"px")})}))};this.clean=function(t){if(t===0||isNaN(t))return"";if(i.max!==undefined&&i.max!==0&&!Number.isNaN(i.max)){if(t>i.max){return"+".concat(Number(i.max).toLocaleString())}}return Number(t).toLocaleString()}}t.prototype.componentDidRender=function(){if(this.target===""){this.strategy="disabled";return}var t=document.querySelector(this.target);if(t==null){
11
+ // the target may legitimately be absent (e.g. during SSR the document
12
+ // only contains the component subtree being serialized)
13
+ console.warn("mds-notification: no valid target found: ".concat(this.target));this.strategy="disabled";return}this.caller=t};t.prototype.componentDidLoad=function(){var t=this;if(this.strategy==="disabled"){return}if(this.target!==""&&this.cleanupAutoUpdate==null){setTimeout((function(){t.cleanupAutoUpdate=autoUpdate(t.caller,t.host,t.updatePosition)}),100)}};t.prototype.disconnectedCallback=function(){this.cleanupAutoUpdate=function(){}};t.prototype.strategyHandler=function(t){if(t==="disabled"){this.cleanupAutoUpdate=function(){}}};t.prototype.render=function(){var t;return h(Host,{key:"5bfd87ef1cb2958966986af0146414ee844e1b62","aria-labelledby":this.target,"aria-label":(t=this.value)!==null&&t!==void 0?t:"0","pref-animation":preferenceStore.state.animation},h("mds-text",{key:"8bc7cdde24f617591a8824a6e2600bdc764fee7a",typography:"caption",class:"dot","aria-hidden":"true"},this.clean(this.value)))};Object.defineProperty(t.prototype,"host",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{strategy:[{strategyHandler:0}]}},enumerable:false,configurable:true});return t}();MdsNotification.style=mdsNotificationCss();export{MdsNotification as mds_notification};
@@ -1 +1 @@
1
- import{r as registerInstance,h,H as Host,g as getElement}from"./index-CAd5312P.js";import{K as KeyboardManager}from"./keyboard-manager-BudfaWhu.js";import{s as subscribePreference}from"./preference-fMwnXhio.js";var mdsPaginatorItemCss=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{--mds-paginator-item-background-disabled:rgb(var(--tone-neutral-09,76 76 76));--mds-paginator-item-background-hover:rgb(var(--tone-neutral-08,107 107 107));--mds-paginator-item-background-selected:rgb(var(--variant-primary-03,211 226 255));--mds-paginator-item-background:#0000;--mds-paginator-item-color-disabled:rgb(var(--tone-neutral-06,158 158 158));--mds-paginator-item-color-hover:rgb(var(--tone-neutral-02,244 244 244));--mds-paginator-item-color-selected:rgb(var(--tone-neutral,0 0 0));--mds-paginator-item-color:rgb(var(--tone-neutral-02,244 244 244));--mds-paginator-item-radius:200px;--mds-paginator-item-size:calc(var(--spacing,.0025rem)*900);--tw-ease:initial}}}:host(:not(:is([hydrated],.hydrated))),:is(mds-icon,mds-text):not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}@property --mds-paginator-item-background{syntax:"<color>";inherits:false;initial-value:#0000}@property --mds-paginator-item-radius{syntax:"<length>";inherits:false;initial-value:200px}:host{--mds-paginator-item-transition-duration:var(--duration-200,.2s);--private-paginator-item-transition-duration:var(--mds-paginator-item-transition-duration);--mds-paginator-item-background-disabled:rgb(var(--tone-neutral-09,76 76 76));--mds-paginator-item-background-hover:rgb(var(--tone-neutral-08,107 107 107));--mds-paginator-item-background-selected:rgb(var(--variant-primary-03,211 226 255));--mds-paginator-item-background:#0000;--mds-paginator-item-color-disabled:rgb(var(--tone-neutral-06,158 158 158));--mds-paginator-item-color-hover:rgb(var(--tone-neutral-02,244 244 244));--mds-paginator-item-color-selected:rgb(var(--tone-neutral,0 0 0));--mds-paginator-item-color:rgb(var(--tone-neutral-02,244 244 244));--mds-paginator-item-radius:200px;--mds-paginator-item-shadow-disabled:none;--mds-paginator-item-shadow-hover:none;--mds-paginator-item-shadow-selected:var(--shadow-md-sharp,0 0 1px 1px #0000000f,0 4px 6px -1px #0000001a,0 2px 4px -1px #0000000f);--mds-paginator-item-shadow:none;--mds-paginator-item-size:calc(var(--spacing,.0025rem)*900);animation-duration:var(--magma-outline-animation-duration,1s);animation-fill-mode:forwards;animation-iteration-count:infinite;animation-name:focus-bounce;animation-play-state:paused;animation-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1));outline:var(--magma-outline-blur,2px solid var(--magma-outline-blur-color,#0000));--tw-ease:var(--ease-out,cubic-bezier(0,0,.2,1));align-items:center;background-color:var(--mds-paginator-item-background,#0000);border-radius:var(--mds-paginator-item-radius,200px);-webkit-box-shadow:var(--mds-paginator-item-shadow);box-shadow:var(--mds-paginator-item-shadow);box-sizing:border-box;color:var(--mds-paginator-item-color,rgb(var(--tone-neutral-02,244 244 244)));cursor:pointer;display:inline-flex;flex-shrink:0;height:var(--mds-paginator-item-size,calc(var(--spacing,.0025rem)*900));justify-content:center;min-width:var(--mds-paginator-item-size,calc(var(--spacing,.0025rem)*900));padding-inline:calc(var(--spacing,.0025rem)*300);transition-duration:.2s;-webkit-transition-duration:var(--private-paginator-item-transition-duration);transition-duration:var(--private-paginator-item-transition-duration);transition-property:background-color,border-color,box-shadow,color,fill,outline,outline-offset,transform;transition-property:background-color,box-shadow,color,outline,outline-offset;transition-timing-function:ease-in-out;transition-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1));-webkit-user-select:none;user-select:none}:host:focus-visible{--magma-outline-blur:var(--magma-outline-focus);animation-play-state:running}:host(:focus-visible){--magma-outline-blur:var(--magma-outline-focus);animation-play-state:running}:host(:hover){background-color:var(--mds-paginator-item-background-hover,rgb(var(--tone-neutral-08,107 107 107)));-webkit-box-shadow:var(--mds-paginator-item-shadow-hover);box-shadow:var(--mds-paginator-item-shadow-hover);color:var(--mds-paginator-item-color-hover,rgb(var(--tone-neutral-02,244 244 244)));fill:var(--mds-paginator-item-color-hover,rgb(var(--tone-neutral-02,244 244 244)))}:host([icon]){padding:0}:host([selected]){background-color:var(--mds-paginator-item-background-selected,rgb(var(--variant-primary-03,211 226 255)));-webkit-box-shadow:var(--mds-paginator-item-shadow-selected);box-shadow:var(--mds-paginator-item-shadow-selected);color:var(--mds-paginator-item-color-selected,rgb(var(--tone-neutral,0 0 0)));fill:var(--mds-paginator-item-color-selected,rgb(var(--tone-neutral,0 0 0)));pointer-events:none}:host([disabled]){background-color:var(--mds-paginator-item-background-disabled,rgb(var(--tone-neutral-09,76 76 76)));-webkit-box-shadow:var(--mds-paginator-item-shadow-disabled);box-shadow:var(--mds-paginator-item-shadow-disabled);color:var(--mds-paginator-item-color-disabled,rgb(var(--tone-neutral-06,158 158 158)));fill:var(--mds-paginator-item-color-disabled,rgb(var(--tone-neutral-06,158 158 158)));pointer-events:none}.icon{fill:currentColor;padding-inline:0}:host([pref-animation=reduce]){--private-paginator-item-transition-duration:0s}:host([pref-theme=dark]:not([pref-theme-scheme=light])){--mds-paginator-item-background-disabled:rgb(var(--tone-neutral-09,76 76 76));--mds-paginator-item-background-hover:rgb(var(--tone-neutral-08,107 107 107));--mds-paginator-item-background-selected:rgb(var(--variant-primary-03,211 226 255));--mds-paginator-item-background:#0000;--mds-paginator-item-color-disabled:rgb(var(--tone-neutral-06,158 158 158));--mds-paginator-item-color-hover:rgb(var(--tone-neutral-02,244 244 244));--mds-paginator-item-color-selected:rgb(var(--tone-neutral,0 0 0));--mds-paginator-item-color:rgb(var(--tone-neutral-02,244 244 244));--mds-paginator-item-shadow-disabled:none;--mds-paginator-item-shadow-hover:none;--mds-paginator-item-shadow-selected:var(--shadow-md-sharp,0 0 1px 1px #0000000f,0 4px 6px -1px #0000001a,0 2px 4px -1px #0000000f);--mds-paginator-item-shadow:none}@property --tw-ease{syntax:"*";inherits:false}@media (prefers-reduced-motion:reduce){:host(:not([pref-animation])),:host([pref-animation=system]){--private-paginator-item-transition-duration:0s}}@media (prefers-color-scheme:dark){:host(:not([pref-theme])),:host([pref-theme=system]:not([pref-theme-scheme=light])){--mds-paginator-item-background-disabled:rgb(var(--tone-neutral-09,76 76 76));--mds-paginator-item-background-hover:rgb(var(--tone-neutral-08,107 107 107));--mds-paginator-item-background-selected:rgb(var(--variant-primary-03,211 226 255));--mds-paginator-item-background:#0000;--mds-paginator-item-color-disabled:rgb(var(--tone-neutral-06,158 158 158));--mds-paginator-item-color-hover:rgb(var(--tone-neutral-02,244 244 244));--mds-paginator-item-color-selected:rgb(var(--tone-neutral,0 0 0));--mds-paginator-item-color:rgb(var(--tone-neutral-02,244 244 244));--mds-paginator-item-shadow-disabled:none;--mds-paginator-item-shadow-hover:none;--mds-paginator-item-shadow-selected:var(--shadow-md-sharp,0 0 1px 1px #0000000f,0 4px 6px -1px #0000001a,0 2px 4px -1px #0000000f);--mds-paginator-item-shadow:none}}'};var MdsPaginatorItem=function(){function a(a){registerInstance(this,a);this.km=new KeyboardManager}a.prototype.connectedCallback=function(){var a=this;this.unsubscribePrefAnimation=subscribePreference("animation",(function(r){a.prefAnimation=r}));this.unsubscribePrefTheme=subscribePreference("theme",(function(r){a.prefTheme=r}));this.unsubscribePrefThemeScheme=subscribePreference("theme-scheme",(function(r){a.prefThemeScheme=r}))};a.prototype.componentDidLoad=function(){this.km.addElement(this.host);this.km.attachClickBehavior()};a.prototype.componentDidUpdate=function(){if(!this.disabled&&!this.selected){this.km.attachClickBehavior();return}this.km.detachClickBehavior()};a.prototype.disconnectedCallback=function(){var a,r,t;(a=this.unsubscribePrefAnimation)===null||a===void 0?void 0:a.call(this);(r=this.unsubscribePrefTheme)===null||r===void 0?void 0:r.call(this);(t=this.unsubscribePrefThemeScheme)===null||t===void 0?void 0:t.call(this);this.km.detachClickBehavior()};a.prototype.render=function(){return h(Host,{key:"45f9712aabb1119f72bc76986fc0043ea7839b93",tabindex:"0","pref-animation":this.prefAnimation,"pref-theme":this.prefTheme,"pref-theme-scheme":this.prefThemeScheme},this.icon!==undefined?h("mds-icon",{class:"icon",name:this.icon}):h("mds-text",{class:"text",typography:"caption"},h("b",null,h("slot",null))))};Object.defineProperty(a.prototype,"host",{get:function(){return getElement(this)},enumerable:false,configurable:true});return a}();MdsPaginatorItem.style=mdsPaginatorItemCss();export{MdsPaginatorItem as mds_paginator_item};
1
+ import{r as registerInstance,h,e as Host,g as getElement}from"./index-DIiEV39g.js";import{K as KeyboardManager}from"./keyboard-manager-KRu9I7dw.js";import{p as preferenceStore}from"./preference-CKerJx2M.js";var mdsPaginatorItemCss=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))),:is(mds-icon,mds-text):not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-paginator-item-transition-duration:var(--duration-200,.2s);--private-paginator-item-transition-duration:var(--mds-paginator-item-transition-duration);--mds-paginator-item-background-disabled:rgb(var(--magma-wash-base,var(--magma-tint-scale-09,var(--tone-neutral-09,225 225 225))));--mds-paginator-item-background-hover:rgb(var(--magma-wash-strong,var(--magma-tint-scale-08,var(--tone-neutral-08,208 208 208))));--mds-paginator-item-background-selected:rgb(var(--magma-accent-emphasis-hover,var(--magma-tint-accent-emphasis-hover,var(--variant-primary-03,7 76 204))));--mds-paginator-item-background:#0000;--mds-paginator-item-color-disabled:rgb(var(--magma-text-disabled,var(--magma-tint-text-disabled,var(--text-neutral-disabled,119 119 119))));--mds-paginator-item-color-hover:rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5))));--mds-paginator-item-color-selected:rgb(var(--magma-text-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))));--mds-paginator-item-color:rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5))));--mds-paginator-item-radius:var(--radius-full,1000px);--mds-paginator-item-shadow-disabled:none;--mds-paginator-item-shadow-hover:none;--mds-paginator-item-shadow-selected:var(--shadow-md-sharp,0 0 1px 1px #0000000f,0 4px 6px -1px #0000001a,0 2px 4px -1px #0000000f);--mds-paginator-item-shadow:none;--mds-paginator-item-size:calc(var(--spacing,.0025rem)*900);animation-duration:var(--magma-outline-animation-duration,1s);animation-fill-mode:forwards;animation-iteration-count:infinite;animation-name:focus-bounce;animation-play-state:paused;animation-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1));outline:var(--magma-outline-blur,2px solid var(--magma-outline-blur-color,#0000));--tw-ease:var(--ease-out,cubic-bezier(0,0,.2,1));align-items:center;background-color:var(--mds-paginator-item-background,#0000);border-radius:var(--mds-paginator-item-radius,200px);-webkit-box-shadow:var(--mds-paginator-item-shadow);box-shadow:var(--mds-paginator-item-shadow);box-sizing:border-box;color:var(--mds-paginator-item-color,rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5)))));cursor:pointer;display:inline-flex;flex-shrink:0;height:var(--mds-paginator-item-size,calc(var(--spacing,.0025rem)*900));justify-content:center;min-width:var(--mds-paginator-item-size,calc(var(--spacing,.0025rem)*900));padding-inline:calc(var(--spacing,.0025rem)*300);transition-duration:.2s;-webkit-transition-duration:var(--private-paginator-item-transition-duration);transition-duration:var(--private-paginator-item-transition-duration);transition-property:background-color,border-color,box-shadow,color,fill,outline,outline-offset,transform;transition-property:background-color,box-shadow,color,outline,outline-offset;transition-timing-function:ease-in-out;transition-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1));-webkit-user-select:none;user-select:none}:host:focus-visible{--magma-outline-blur:var(--magma-outline-focus);animation-play-state:running}:host(:focus-visible){--magma-outline-blur:var(--magma-outline-focus);animation-play-state:running}:host(:hover){background-color:var(--mds-paginator-item-background-hover,rgb(var(--magma-wash-strong,var(--magma-tint-scale-08,var(--tone-neutral-08,208 208 208)))));-webkit-box-shadow:var(--mds-paginator-item-shadow-hover);box-shadow:var(--mds-paginator-item-shadow-hover);color:var(--mds-paginator-item-color-hover,rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5)))));fill:var(--mds-paginator-item-color-hover,rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5)))))}:host([icon]){padding:0}:host([selected]){background-color:var(--mds-paginator-item-background-selected,rgb(var(--magma-accent-emphasis-hover,var(--magma-tint-accent-emphasis-hover,var(--variant-primary-03,7 76 204)))));-webkit-box-shadow:var(--mds-paginator-item-shadow-selected);box-shadow:var(--mds-paginator-item-shadow-selected);color:var(--mds-paginator-item-color-selected,rgb(var(--magma-text-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255)))));fill:var(--mds-paginator-item-color-selected,rgb(var(--magma-text-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255)))));pointer-events:none}:host([disabled]){background-color:var(--mds-paginator-item-background-disabled,rgb(var(--magma-wash-base,var(--magma-tint-scale-09,var(--tone-neutral-09,225 225 225)))));-webkit-box-shadow:var(--mds-paginator-item-shadow-disabled);box-shadow:var(--mds-paginator-item-shadow-disabled);color:var(--mds-paginator-item-color-disabled,rgb(var(--magma-text-disabled,var(--magma-tint-text-disabled,var(--text-neutral-disabled,119 119 119)))));fill:var(--mds-paginator-item-color-disabled,rgb(var(--magma-text-disabled,var(--magma-tint-text-disabled,var(--text-neutral-disabled,119 119 119)))));pointer-events:none}.icon{fill:currentColor;padding-inline:0}:host([pref-animation=reduce]),:host([pref-animation=reduce]) *,:host([pref-animation=reduce]) :after,:host([pref-animation=reduce]) :before{transition-duration:.01ms!important}:host([pref-animation=reduce]){--private-paginator-item-transition-duration:0s}:host([pref-mode=dark]:not([pref-theme-scheme=light])){--mds-paginator-item-background-disabled:rgb(var(--magma-wash-base,var(--magma-tint-scale-09,var(--tone-neutral-09,225 225 225))));--mds-paginator-item-background-hover:rgb(var(--magma-wash-strong,var(--magma-tint-scale-08,var(--tone-neutral-08,208 208 208))));--mds-paginator-item-background-selected:rgb(var(--magma-accent-emphasis-hover,var(--magma-tint-accent-emphasis-hover,var(--variant-primary-03,7 76 204))));--mds-paginator-item-background:#0000;--mds-paginator-item-color-hover:rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5))));--mds-paginator-item-color-selected:rgb(var(--magma-text-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))));--mds-paginator-item-color:rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5))));--mds-paginator-item-shadow-disabled:none;--mds-paginator-item-shadow-hover:none;--mds-paginator-item-shadow-selected:var(--shadow-md-sharp,0 0 1px 1px #0000000f,0 4px 6px -1px #0000001a,0 2px 4px -1px #0000000f);--mds-paginator-item-shadow:none}@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-paginator-item-transition-duration:0s}}@media (prefers-color-scheme:dark){:host(:not([pref-mode])),:host([pref-mode=system]:not([pref-theme-scheme=light])){--mds-paginator-item-background-disabled:rgb(var(--magma-wash-base,var(--magma-tint-scale-09,var(--tone-neutral-09,225 225 225))));--mds-paginator-item-background-hover:rgb(var(--magma-wash-strong,var(--magma-tint-scale-08,var(--tone-neutral-08,208 208 208))));--mds-paginator-item-background-selected:rgb(var(--magma-accent-emphasis-hover,var(--magma-tint-accent-emphasis-hover,var(--variant-primary-03,7 76 204))));--mds-paginator-item-background:#0000;--mds-paginator-item-color-hover:rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5))));--mds-paginator-item-color-selected:rgb(var(--magma-text-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))));--mds-paginator-item-color:rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5))));--mds-paginator-item-shadow-disabled:none;--mds-paginator-item-shadow-hover:none;--mds-paginator-item-shadow-selected:var(--shadow-md-sharp,0 0 1px 1px #0000000f,0 4px 6px -1px #0000001a,0 2px 4px -1px #0000000f);--mds-paginator-item-shadow:none}}'};var MdsPaginatorItem=/** @class */function(){function a(a){registerInstance(this,a);this.km=new KeyboardManager}a.prototype.componentDidLoad=function(){this.km.addElement(this.host);this.km.attachClickBehavior()};a.prototype.componentDidUpdate=function(){if(!this.disabled&&!this.selected){this.km.attachClickBehavior();return}this.km.detachClickBehavior()};a.prototype.disconnectedCallback=function(){this.km.detachClickBehavior()};a.prototype.render=function(){return h(Host,{key:"f713544c49163c9dfdc68b64156516dfa0b7edde",tabindex:"0","pref-animation":preferenceStore.state.animation,"pref-mode":preferenceStore.state.mode,"pref-theme-scheme":preferenceStore.state["theme-scheme"]},this.icon!==undefined?h("mds-icon",{class:"icon",name:this.icon}):h("mds-text",{class:"text",typography:"caption"},h("b",null,h("slot",null))))};Object.defineProperty(a.prototype,"host",{get:function(){return getElement(this)},enumerable:false,configurable:true});return a}();MdsPaginatorItem.style=mdsPaginatorItemCss();export{MdsPaginatorItem as mds_paginator_item};
@@ -1 +1,14 @@
1
- import{r as registerInstance,c as createEvent,h,H as Host,g as getElement}from"./index-CAd5312P.js";import{s as subscribePreference}from"./preference-fMwnXhio.js";import{m as miBaselineArrowBack}from"./arrow-back-DnEUG7st.js";import{m as miBaselineArrowForward}from"./arrow-forward-Bd0uuNDE.js";var mdsPaginatorCss=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{--mds-paginator-background:rgb(var(--tone-neutral-09,76 76 76));--mds-paginator-scroll-behavior:smooth;--tw-ease:initial}}}:host(:not(:is([hydrated],.hydrated))),mds-paginator-item:not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}@property --mds-paginator-scroll-behavior{syntax:"smooth|auto";inherits:false;initial-value:smooth}:host{--mds-paginator-background:rgb(var(--tone-neutral-09,76 76 76));--mds-paginator-scroll-behavior:smooth;--mds-paginator-transition-duration:var(--duration-200,.2s);--private-paginator-transition-duration:var(--mds-paginator-transition-duration);align-items:center;display:flex;gap:calc(var(--spacing,.0025rem)*100)}.pages{-webkit-overflow-scrolling:touch;-ms-overflow-style:none;scrollbar-width:none;--tw-ease:var(--ease-in-out,cubic-bezier(.4,0,.2,1));align-items:center;background-color:var(--mds-paginator-background,rgb(var(--tone-neutral-09,76 76 76)));border-radius:var(--radius-full,1000px);display:flex;flex-shrink:1;gap:2px;margin-inline:calc(var(--spacing,.0025rem)*200);overflow:auto;padding:calc(var(--spacing,.0025rem)*200);scroll-behavior:var(--mds-paginator-scroll-behavior,smooth);-webkit-transition-duration:var(--private-paginator-transition-duration);transition-duration:var(--private-paginator-transition-duration);transition-property:background-color,box-shadow;transition-timing-function:var(--ease-in-out,cubic-bezier(.4,0,.2,1))}.pages::-webkit-scrollbar{display:none}:host([pref-animation=reduce]){--private-paginator-transition-duration:0s}:host([pref-theme=dark]:not([pref-theme-scheme=light])){--mds-paginator-background:rgb(var(--tone-neutral-09,76 76 76))}:host([pref-theme=dark]:not([pref-theme-scheme=light])) .pages{-webkit-box-shadow:var(--shadow-outline) inset;box-shadow:var(--shadow-outline) inset}:host([pref-contrast=more]) .pages{-webkit-box-shadow:var(--shadow-outline-50) inset;box-shadow:var(--shadow-outline-50) inset}:host([pref-contrast=more]) .item{--mds-paginator-item-background-hover:rgb(var(--tone-neutral,0 0 0));--mds-paginator-item-shadow-hover:var(--shadow-outline-50) inset;--mds-paginator-item-shadow:none}:host([pref-contrast=more]) :is(.item-first,.item-icon,.item-last){--mds-paginator-item-shadow-disabled:var(--shadow-outline-50) inset;--mds-paginator-item-shadow-hover:var(--shadow-outline-50) inset;--mds-paginator-item-shadow:var(--shadow-outline-50) inset}@property --tw-ease{syntax:"*";inherits:false}@media (prefers-reduced-motion:reduce){:host{--mds-paginator-scroll-behavior:auto}:host(:not([pref-animation])),:host([pref-animation=system]){--private-paginator-transition-duration:0s}}@media (prefers-color-scheme:dark){:host(:not([pref-theme])),:host([pref-theme=system]:not([pref-theme-scheme=light])){--mds-paginator-background:rgb(var(--tone-neutral-09,76 76 76))}:is(:host([pref-theme=system]:not([pref-theme-scheme=light])),:host(:not([pref-theme]))) .pages{-webkit-box-shadow:var(--shadow-outline) inset;box-shadow:var(--shadow-outline) inset}}@media (prefers-contrast:more){:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))) .pages{-webkit-box-shadow:var(--shadow-outline-50) inset;box-shadow:var(--shadow-outline-50) inset}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))) .item{--mds-paginator-item-background-hover:rgb(var(--tone-neutral,0 0 0));--mds-paginator-item-shadow-hover:var(--shadow-outline-50) inset;--mds-paginator-item-shadow:none}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))) :is(.item-first,.item-icon,.item-last){--mds-paginator-item-shadow-disabled:var(--shadow-outline-50) inset;--mds-paginator-item-shadow-hover:var(--shadow-outline-50) inset;--mds-paginator-item-shadow:var(--shadow-outline-50) inset}}'};var MdsPaginator=function(){function t(t){var e=this;registerInstance(this,t);this.pageChangedEvent=createEvent(this,"mdsPaginatorChange");this.pages=0;this.currentPage=1;this.scrollPage=function(t){var i;var a=t;var r=(i=e.element.shadowRoot)===null||i===void 0?void 0:i.querySelector(".pages");var o=r===null||r===void 0?void 0:r.querySelectorAll("mds-paginator-item");if(!r||!o)return;if(a<0){r.scrollLeft=0;return}if(a>o.length-1){var s=o[o.length-1];r.scrollLeft=s.offsetLeft-r.offsetLeft;return}var n=o[a];r.scrollLeft=n.offsetLeft-r.offsetLeft-r.offsetWidth/2+n.offsetWidth/2};this.focus=function(t){var i;var a=(i=e.element.shadowRoot)===null||i===void 0?void 0:i.querySelector(".pages");var r=a===null||a===void 0?void 0:a.querySelectorAll("mds-paginator-item");if(r&&t.target){var o=Array.from(r);var s=o.indexOf(t.target);e.scrollPage(s)}};this.goToPage=function(t,i){if(t<1||t>e.pages){return}e.currentPage=t;if(e.pages>2){e.scrollPage(e.currentPage-2)}e.pageChangedEvent.emit({page:e.currentPage,caller:i})};this.handlePrevClick=function(t){e.goToPage(e.currentPage-1,t.target)};this.handleFirstClick=function(t){e.goToPage(1,t.target)};this.handlePageClick=function(t){return function(i){e.goToPage(t,i.target)}};this.handleLastClick=function(t){e.goToPage(e.pages,t.target)};this.handleNextClick=function(t){e.goToPage(e.currentPage+1,t.target)}}t.prototype.connectedCallback=function(){var t=this;this.unsubscribePrefAnimation=subscribePreference("animation",(function(e){t.prefAnimation=e}));this.unsubscribePrefContrast=subscribePreference("contrast",(function(e){t.prefContrast=e}));this.unsubscribePrefTheme=subscribePreference("theme",(function(e){t.prefTheme=e}));this.unsubscribePrefThemeScheme=subscribePreference("theme-scheme",(function(e){t.prefThemeScheme=e}))};t.prototype.disconnectedCallback=function(){var t,e,i,a;(t=this.unsubscribePrefAnimation)===null||t===void 0?void 0:t.call(this);(e=this.unsubscribePrefContrast)===null||e===void 0?void 0:e.call(this);(i=this.unsubscribePrefTheme)===null||i===void 0?void 0:i.call(this);(a=this.unsubscribePrefThemeScheme)===null||a===void 0?void 0:a.call(this)};t.prototype.componentDidLoad=function(){var t=this;setTimeout((function(){t.goToPage(t.currentPage)}),10)};t.prototype.render=function(){var t=this;return h(Host,{key:"bc0ed7f7a7267fad452ad2186692f7198797dada","pref-animation":this.prefAnimation,"pref-contrast":this.prefContrast,"pref-theme":this.prefTheme,"pref-theme-scheme":this.prefThemeScheme},h("mds-paginator-item",{key:"0704650f6f83b9a4ff5bc6f112b9d448feeac6ac",class:"item-icon",icon:miBaselineArrowBack,disabled:this.currentPage===1,onClick:this.handlePrevClick}),this.pages>0&&h("mds-paginator-item",{key:"3247caa7de6b88ed40b8c1206d45b32de40c0ad0",class:"item-first",selected:this.currentPage===1,onClick:this.handleFirstClick},"1"),this.pages>2&&h("div",{key:"a06359ddb8fef5e739d3700c2c1dce88bc44b49a",class:"pages"},Array.from(Array(this.pages-2).keys()).map((function(e){return h("mds-paginator-item",{key:e,class:"item",selected:t.currentPage===e+2,onClick:t.handlePageClick(e+2),onFocus:t.focus},e+2)}))),this.pages>1&&h("mds-paginator-item",{key:"5fdc19718a0e64787d10539fb1922aa5a917caf3",class:"item-last",selected:this.currentPage===this.pages,onClick:this.handleLastClick},this.pages),h("mds-paginator-item",{key:"24fb27d454ecc1bb01334958caf93e0d2de71b02",class:"item-icon",icon:miBaselineArrowForward,disabled:this.currentPage===this.pages,onClick:this.handleNextClick}))};Object.defineProperty(t.prototype,"element",{get:function(){return getElement(this)},enumerable:false,configurable:true});return t}();MdsPaginator.style=mdsPaginatorCss();export{MdsPaginator as mds_paginator};
1
+ import{r as registerInstance,d as createEvent,h,e as Host,g as getElement}from"./index-DIiEV39g.js";import{p as preferenceStore}from"./preference-CKerJx2M.js";import{m as miBaselineArrowBack}from"./arrow-back-DnEUG7st.js";import{m as miBaselineArrowForward}from"./arrow-forward-Bd0uuNDE.js";var mdsPaginatorCss=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-paginator-item:not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-paginator-background:rgb(var(--magma-wash-base,var(--magma-tint-scale-09,var(--tone-neutral-09,225 225 225))));--mds-paginator-scroll-behavior:smooth;--mds-paginator-transition-duration:var(--duration-200,.2s);--private-paginator-transition-duration:var(--mds-paginator-transition-duration);align-items:center;display:flex;gap:calc(var(--spacing,.0025rem)*100)}.pages{-webkit-overflow-scrolling:touch;-ms-overflow-style:none;scrollbar-width:none;--tw-ease:var(--ease-in-out,cubic-bezier(.4,0,.2,1));align-items:center;background-color:var(--mds-paginator-background,rgb(var(--magma-wash-base,var(--magma-tint-scale-09,var(--tone-neutral-09,225 225 225)))));border-radius:var(--radius-full,1000px);display:flex;flex-shrink:1;gap:2px;margin-inline:calc(var(--spacing,.0025rem)*200);overflow:auto;padding:calc(var(--spacing,.0025rem)*200);scroll-behavior:var(--mds-paginator-scroll-behavior,smooth);-webkit-transition-duration:var(--private-paginator-transition-duration);transition-duration:var(--private-paginator-transition-duration);transition-property:background-color,box-shadow;transition-timing-function:var(--ease-in-out,cubic-bezier(.4,0,.2,1))}.pages::-webkit-scrollbar{display:none}:host([pref-animation=reduce]),:host([pref-animation=reduce]) *,:host([pref-animation=reduce]) :after,:host([pref-animation=reduce]) :before{transition-duration:.01ms!important}:host([pref-animation=reduce]){--private-paginator-transition-duration:0s}:host([pref-mode=dark]:not([pref-theme-scheme=light])){--mds-paginator-background:rgb(var(--magma-wash-base,var(--magma-tint-scale-09,var(--tone-neutral-09,225 225 225))))}:host([pref-mode=dark]:not([pref-theme-scheme=light])) .pages{-webkit-box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3)) inset;box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3)) inset}:host([pref-contrast=more]) .pages{-webkit-box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3)) inset;box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3)) inset}:host([pref-contrast=more]) .item{--mds-paginator-item-background-hover:rgb(var(--magma-surface-default,var(--magma-tint-default,var(--surface-neutral-default,242 242 242))));--mds-paginator-item-shadow-hover:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3)) inset;--mds-paginator-item-shadow:none}:host([pref-contrast=more]) :is(.item-first,.item-icon,.item-last){--mds-paginator-item-shadow-disabled:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3)) inset;--mds-paginator-item-shadow-hover:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3)) inset;--mds-paginator-item-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3)) inset}@property --tw-ease{syntax:"*";inherits:false}@media (prefers-reduced-motion:reduce){:host{--mds-paginator-scroll-behavior:auto}:host(:not([pref-animation])),:host(:not([pref-animation])) *,:host(:not([pref-animation])) :after,:host(:not([pref-animation])) :before,:host([pref-animation=system]),:host([pref-animation=system]) *,:host([pref-animation=system]) :after,:host([pref-animation=system]) :before{transition-duration:.01ms!important}:host(:not([pref-animation])),:host([pref-animation=system]){--private-paginator-transition-duration:0s}}@media (prefers-color-scheme:dark){:host(:not([pref-mode])),:host([pref-mode=system]:not([pref-theme-scheme=light])){--mds-paginator-background:rgb(var(--magma-wash-base,var(--magma-tint-scale-09,var(--tone-neutral-09,225 225 225))))}:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]))) .pages{-webkit-box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3)) inset;box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3)) inset}}@media (prefers-contrast:more){:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))) .pages{-webkit-box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3)) inset;box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3)) inset}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))) .item{--mds-paginator-item-background-hover:rgb(var(--magma-surface-default,var(--magma-tint-default,var(--surface-neutral-default,242 242 242))));--mds-paginator-item-shadow-hover:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3)) inset;--mds-paginator-item-shadow:none}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))) :is(.item-first,.item-icon,.item-last){--mds-paginator-item-shadow-disabled:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3)) inset;--mds-paginator-item-shadow-hover:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3)) inset;--mds-paginator-item-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3)) inset}}'};var MdsPaginator=/** @class */function(){function a(a){var t=this;registerInstance(this,a);this.pageChangedEvent=createEvent(this,"mdsPaginatorChange",7);
2
+ /**
3
+ * Specifies the number of total pages to be handled
4
+ */this.pages=0;
5
+ /**
6
+ * Specifies the current page selected in the paginator
7
+ */this.currentPage=1;this.scrollPage=function(a){var r;var e=a;var i=(r=t.element.shadowRoot)===null||r===void 0?void 0:r.querySelector(".pages");var n=i===null||i===void 0?void 0:i.querySelectorAll("mds-paginator-item");if(!i||!n)return;if(e<0){i.scrollLeft=0;return}if(e>n.length-1){var o=n[n.length-1];i.scrollLeft=o.offsetLeft-i.offsetLeft;return}var s=n[e];i.scrollLeft=s.offsetLeft-i.offsetLeft-i.offsetWidth/2+s.offsetWidth/2};
8
+ /**
9
+ * The strip follows the focused item only when the focus comes from the keyboard.
10
+ * On a pointer interaction the item receives focus on mousedown: scrolling the strip
11
+ * at that moment moves the item away from under the pointer, the mouseup lands on
12
+ * another element and the browser dispatches the click on their common ancestor
13
+ * (the strip itself) instead of the item, so the page would never be selected.
14
+ */this.isKeyboardFocus=function(a){try{return a.matches(":focus-visible")}catch(a){return true}};this.handleItemFocus=function(a){var r;var e=a.target;if(!e||!t.isKeyboardFocus(e))return;var i=(r=t.element.shadowRoot)===null||r===void 0?void 0:r.querySelector(".pages");var n=i===null||i===void 0?void 0:i.querySelectorAll("mds-paginator-item");if(!n)return;t.scrollPage(Array.from(n).indexOf(e))};this.goToPage=function(a,r){if(a<1||a>t.pages){return}t.currentPage=a;if(t.pages>2){t.scrollPage(t.currentPage-2)}t.pageChangedEvent.emit({page:t.currentPage,caller:r})};this.handlePrevClick=function(a){t.goToPage(t.currentPage-1,a.target)};this.handleFirstClick=function(a){t.goToPage(1,a.target)};this.handlePageClick=function(a){return function(r){t.goToPage(a,r.target)}};this.handleLastClick=function(a){t.goToPage(t.pages,a.target)};this.handleNextClick=function(a){t.goToPage(t.currentPage+1,a.target)}}a.prototype.componentDidLoad=function(){var a=this;setTimeout((function(){a.goToPage(a.currentPage)}),10)};a.prototype.render=function(){var a=this;return h(Host,{key:"d29ec2aa4d88ceafef3d15bfa0b2c8696ba05740","pref-animation":preferenceStore.state.animation,"pref-contrast":preferenceStore.state.contrast,"pref-mode":preferenceStore.state.mode,"pref-theme-scheme":preferenceStore.state["theme-scheme"]},h("mds-paginator-item",{key:"4a6c8fadf530613476af4b661a098909392478fe",class:"item-icon",icon:miBaselineArrowBack,disabled:this.currentPage===1,onClick:this.handlePrevClick}),this.pages>0&&h("mds-paginator-item",{key:"689c8f65c52316084b5fd7168d662561e0b23be4",class:"item-first",selected:this.currentPage===1,onClick:this.handleFirstClick},"1"),this.pages>2&&h("div",{key:"eb496adef5c1e3bfb466dbf6ae7a851bcf785328",class:"pages"},Array.from(Array(this.pages-2).keys()).map((function(t){return h("mds-paginator-item",{key:t,class:"item",selected:a.currentPage===t+2,onClick:a.handlePageClick(t+2),onFocus:a.handleItemFocus},t+2)}))),this.pages>1&&h("mds-paginator-item",{key:"5878453bbcd377cdc6695647dd06e25789ddc50e",class:"item-last",selected:this.currentPage===this.pages,onClick:this.handleLastClick},this.pages),h("mds-paginator-item",{key:"854f97ba542485495793d4f135410e4e25fab260",class:"item-icon",icon:miBaselineArrowForward,disabled:this.currentPage===this.pages,onClick:this.handleNextClick}))};Object.defineProperty(a.prototype,"element",{get:function(){return getElement(this)},enumerable:false,configurable:true});return a}();MdsPaginator.style=mdsPaginatorCss();export{MdsPaginator as mds_paginator};
@@ -1 +1,7 @@
1
- var __awaiter=this&&this.__awaiter||function(i,e,a,n){function t(i){return i instanceof a?i:new a((function(e){e(i)}))}return new(a||(a=Promise))((function(a,r){function c(i){try{l(n.next(i))}catch(i){r(i)}}function o(i){try{l(n["throw"](i))}catch(i){r(i)}}function l(i){i.done?a(i.value):t(i.value).then(c,o)}l((n=n.apply(i,e||[])).next())}))};var __generator=this&&this.__generator||function(i,e){var a={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},n,t,r,c=Object.create((typeof Iterator==="function"?Iterator:Object).prototype);return c.next=o(0),c["throw"]=o(1),c["return"]=o(2),typeof Symbol==="function"&&(c[Symbol.iterator]=function(){return this}),c;function o(i){return function(e){return l([i,e])}}function l(o){if(n)throw new TypeError("Generator is already executing.");while(c&&(c=0,o[0]&&(a=0)),a)try{if(n=1,t&&(r=o[0]&2?t["return"]:o[0]?t["throw"]||((r=t["return"])&&r.call(t),0):t.next)&&!(r=r.call(t,o[1])).done)return r;if(t=0,r)o=[o[0]&2,r.value];switch(o[0]){case 0:case 1:r=o;break;case 4:a.label++;return{value:o[1],done:false};case 5:a.label++;t=o[1];o=[0];continue;case 7:o=a.ops.pop();a.trys.pop();continue;default:if(!(r=a.trys,r=r.length>0&&r[r.length-1])&&(o[0]===6||o[0]===2)){a=0;continue}if(o[0]===3&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(o[0]===6&&a.label<r[1]){a.label=r[1];r=o;break}if(r&&a.label<r[2]){a.label=r[2];a.ops.push(o);break}if(r[2])a.ops.pop();a.trys.pop();continue}o=e.call(i,a)}catch(i){o=[6,i];t=0}finally{n=r=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:true}}};import{r as registerInstance,h,H as Host,g as getElement}from"./index-CAd5312P.js";import{L as Locale}from"./locale-a4oAcjYG.js";var mggAiChatbot='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">\n <path fill-rule="evenodd" d="M15.318 3a3 3 0 0 1 2.56 1.436l3.666 6a3 3 0 0 1 0 3.129l-3.667 6A3 3 0 0 1 15.317 21H8.684a3 3 0 0 1-2.56-1.436l-3.667-6a3 3 0 0 1 0-3.129l3.666-6A3 3 0 0 1 8.682 3zm-.025 11.293c-.77.77-1.991 1.207-3.293 1.207-1.301 0-2.523-.437-3.293-1.207l-1.414 1.414C8.523 16.937 10.302 17.5 12 17.5c1.699 0 3.477-.563 4.707-1.793zM8 11h2V8H8zm6 0h2V8h-2z" clip-rule="evenodd"/>\n</svg>\n';var miOutlinePolicy='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M12 1L3 5v6c0 5.55 3.84 10.74 9 12c5.16-1.26 9-6.45 9-12V5l-9-4zm7 10c0 1.85-.51 3.65-1.38 5.21l-1.45-1.45a4.994 4.994 0 0 0-.64-6.29a5.003 5.003 0 0 0-7.07 0a5.003 5.003 0 0 0 0 7.07a5.006 5.006 0 0 0 6.29.64l1.72 1.72c-1.19 1.42-2.73 2.51-4.47 3.04c-4.02-1.25-7-5.42-7-9.94V6.3l7-3.11l7 3.11V11zm-7 4c-1.66 0-3-1.34-3-3s1.34-3 3-3s3 1.34 3 3s-1.34 3-3 3z"/></svg>';var bannerDescription$3="Αυτό το περιεχόμενο δημιουργήθηκε αυτόματα από την τεχνητή μας νοημοσύνη MIA και ενδέχεται να περιέχει ανακρίβειες. Σας συνιστούμε να επαληθεύσετε την ακρίβειά του και να συμβουλευτείτε επίσημες πηγές για οριστικές πληροφορίες.";var bannerTitle$3="Περιεχόμενο που δημιουργήθηκε με την MIA";var cardDescription$3="Αυτό το περιεχόμενο δημιουργήθηκε αυτόματα από την τεχνητή μας νοημοσύνη MIA και ενδέχεται να περιέχει ανακρίβειες.";var cardTitle$3="Περιεχόμενο που δημιουργήθηκε με την MIA";var chipLabel$3="Δημιουργήθηκε με MIA";var iconTooltip$3="Αυτό το περιεχόμενο δημιουργήθηκε αυτόματα από την τεχνητή μας νοημοσύνη MIA και ενδέχεται να περιέχει ανακρίβειες.";var iconLinkLabel$3="Κάντε κλικ για να διαβάσετε τις πολιτικές μας για την τεχνητή νοημοσύνη";var linkLabel$3="Πολιτική τεχνητής νοημοσύνης MIA";var linkLabelShort$3="Πολιτική MIA";var linkLabelTitle$3="Διαβάστε τις πολιτικές μας για τη χρήση της MIA, της τεχνητής μας νοημοσύνης, και τη δημιουργία αυτόματου περιεχομένου";var localeEl={bannerDescription:bannerDescription$3,bannerTitle:bannerTitle$3,cardDescription:cardDescription$3,cardTitle:cardTitle$3,chipLabel:chipLabel$3,iconTooltip:iconTooltip$3,iconLinkLabel:iconLinkLabel$3,linkLabel:linkLabel$3,linkLabelShort:linkLabelShort$3,linkLabelTitle:linkLabelTitle$3};var bannerDescription$2="This content was automatically generated by our artificial intelligence MIA and may contain inaccuracies. Please verify its accuracy and consult official sources for definitive information.";var bannerTitle$2="Content generated with MIA";var cardDescription$2="This content was automatically generated by our artificial intelligence MIA and may contain inaccuracies.";var cardTitle$2="Content generated with MIA";var chipLabel$2="Generated with MIA";var iconTooltip$2="This content was automatically generated by our artificial intelligence MIA and may contain inaccuracies.";var iconLinkLabel$2="Click to read our artificial intelligence policies";var linkLabel$2="MIA Artificial Intelligence Policy";var linkLabelShort$2="MIA Policy";var linkLabelTitle$2="Read our policies on the use of MIA, our artificial intelligence, and the automatic generation of content";var localeEn={bannerDescription:bannerDescription$2,bannerTitle:bannerTitle$2,cardDescription:cardDescription$2,cardTitle:cardTitle$2,chipLabel:chipLabel$2,iconTooltip:iconTooltip$2,iconLinkLabel:iconLinkLabel$2,linkLabel:linkLabel$2,linkLabelShort:linkLabelShort$2,linkLabelTitle:linkLabelTitle$2};var bannerDescription$1="Este contenido fue generado automáticamente por nuestra inteligencia artificial MIA y puede contener inexactitudes. Te recomendamos verificar su precisión y consultar fuentes oficiales para obtener información definitiva.";var bannerTitle$1="Contenido generado con MIA";var cardDescription$1="Este contenido fue generado automáticamente por nuestra inteligencia artificial MIA y puede contener inexactitudes.";var cardTitle$1="Contenido generado con MIA";var chipLabel$1="Generado con MIA";var iconTooltip$1="Este contenido fue generado automáticamente por nuestra inteligencia artificial MIA y puede contener inexactitudes.";var iconLinkLabel$1="Haz clic para leer nuestras políticas sobre inteligencia artificial";var linkLabel$1="Política de inteligencia artificial de MIA";var linkLabelShort$1="Política MIA";var linkLabelTitle$1="Lee nuestras políticas sobre el uso de MIA, nuestra inteligencia artificial, y la generación automática de contenidos";var localeEs={bannerDescription:bannerDescription$1,bannerTitle:bannerTitle$1,cardDescription:cardDescription$1,cardTitle:cardTitle$1,chipLabel:chipLabel$1,iconTooltip:iconTooltip$1,iconLinkLabel:iconLinkLabel$1,linkLabel:linkLabel$1,linkLabelShort:linkLabelShort$1,linkLabelTitle:linkLabelTitle$1};var bannerDescription="Questo contenuto è stato generato automaticamente tramite la nostra intelligenza artificiale MIA e potrebbe contenere inesattezze, ti invitiamo a verificarne l'accuratezza e a consultare fonti ufficiali per informazioni definitive.";var bannerTitle="Contenuto generato con MIA";var cardDescription="Questo contenuto è stato generato automaticamente tramite la nostra intelligenza artificiale MIA e potrebbe contenere inesattezze.";var cardTitle="Contenuto generato con MIA";var chipLabel="Generato con MIA";var iconTooltip="Questo contenuto è stato generato automaticamente dalla nostra intelligenza artificiale MIA e potrebbe contenere inesattezze.";var iconLinkLabel="Clicca per leggere le nostre policy sulla intelligenza artificiale";var linkLabel="Policy MIA intelligenza artificiale";var linkLabelShort="Policy MIA";var linkLabelTitle="Leggi le nostre policy sull'utilizzo di MIA, la nostra intelligenza artificiale e la generazione automatica dei contenuti";var localeIt={bannerDescription:bannerDescription,bannerTitle:bannerTitle,cardDescription:cardDescription,cardTitle:cardTitle,chipLabel:chipLabel,iconTooltip:iconTooltip,iconLinkLabel:iconLinkLabel,linkLabel:linkLabel,linkLabelShort:linkLabelShort,linkLabelTitle:linkLabelTitle};var mdsPolicyAiCss=function(){return"@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),:is(mds-banner,mds-button,mds-chip,mds-dropdown,mds-help,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{display:inline-flex}:host(:not([variant=icon])){container:mds-policy-ai/inline-size;width:100%}mds-button{justify-self:start}.banner{--mds-banner-cockade-background:rgb(var(--variant-ai-05,202 174 251));--mds-banner-icon-color:rgb(var(--variant-ai-10,63 7 161))}.mini-card{background-color:rgb(var(--tone-neutral,0 0 0));border-radius:var(--radius-lg,16px);-webkit-box-shadow:var(--shadow-sm-sharp,0 0 1px 1px #0000000f,0 1px 3px 0 #0000001a);box-shadow:var(--shadow-sm-sharp,0 0 1px 1px #0000000f,0 1px 3px 0 #0000001a);display:inline-flex;gap:calc(var(--spacing,.0025rem)*300);grid-template-columns:repeat(1,minmax(1px,100%));padding:calc(var(--spacing,.0025rem)*400)}.mini-card-icon{background-color:rgb(var(--variant-ai-05,202 174 251));border-radius:var(--radius-2xl,24px);border-top-left-radius:var(--radius-none,0);border-top-right-radius:var(--radius-none,0);fill:rgb(var(--variant-ai-10,63 7 161));height:calc(var(--spacing,.0025rem)*600);margin-top:calc(var(--spacing,.0025rem)*-400);padding:calc(var(--spacing,.0025rem)*100);padding-top:calc(var(--spacing,.0025rem)*400);width:calc(var(--spacing,.0025rem)*600)}.link-label-short{display:none}.mini-card-content{display:grid;gap:calc(var(--spacing,.0025rem)*300);grid-template-columns:repeat(1,minmax(1px,100%))}.mini-card-button{max-width:min-content;min-width:0;width:100%}@container mds-policy-ai (max-width:260px){.mini-card{display:grid}.mini-card-icon{border-top-left-radius:var(--radius-none,0);border-top-right-radius:var(--radius-none,0);margin-top:calc(var(--spacing,.0025rem)*-400);padding-top:calc(var(--spacing,.0025rem)*200)}.mini-card-button{max-width:none}.link-label-long{display:none}.link-label-short{display:inline}}.chip{cursor:help}.chip-dropdown{max-width:calc(var(--spacing,.0025rem)*7200);padding:calc(var(--spacing,.0025rem)*300) calc(var(--spacing,.0025rem)*400)}.icon-help{background-color:rgb(var(--variant-ai-05,202 174 251));border:1px solid rgb(var(--tone-neutral,0 0 0));border-radius:calc(var(--spacing,.0025rem)*600);cursor:pointer;fill:rgb(var(--variant-ai-10,63 7 161));height:min-content;width:min-content}.icon-tip-content{display:grid;gap:calc(var(--spacing,.0025rem)*200)}.icon-help::part(icon){height:calc(var(--spacing,.0025rem)*600);padding:calc(var(--spacing,.0025rem)*100);width:calc(var(--spacing,.0025rem)*600)}"};var MdsPolicyAi=function(){function i(i){var e=this;registerInstance(this,i);this.t=new Locale({el:localeEl,en:localeEn,es:localeEs,it:localeIt});this.variant="chip";this.href="https://www.maggiolieditore.it/il-regolamento-europeo-sull-intelligenza-artificiale.html";this.handleIconClick=function(){window.open(e.href,"_blank")}}i.prototype.updateLang=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(i){this.language=this.t.lang(this.host);this.t.update();return[2]}))}))};i.prototype.componentWillLoad=function(){this.language=this.t.lang(this.host)};i.prototype.render=function(){var i,e,a,n,t,r,c;return h(Host,{key:"d0343aba93633c4172c78cba1fe1ba78066d0703"},this.variant==="icon"&&h("mds-help",{key:"ad4a20df4a631c216ad09fd6bc7ebfcf23ec17ae",icon:mggAiChatbot,class:"icon-help",onClick:this.handleIconClick,part:"icon"},h("div",{key:"5c173707b353453e1f88071caa83ae7bef95ef63",class:"icon-tip-content"},h("mds-text",{key:"02b915e883391648c0d7701869278c2e088c2349",typography:"tip"},(i=this.headline)!==null&&i!==void 0?i:this.t.get("iconTooltip")),h("mds-text",{key:"ee07386a254fa7ed397374e116f4b2cbb38e9bd8",typography:"tip"},(e=this.description)!==null&&e!==void 0?e:this.t.get("iconLinkLabel")))),this.variant==="chip"&&h("div",{key:"c0f788345c6ea9e09f34bbdf8432bdf6119cb6f6",class:"chip-wrapper",part:"chip"},h("mds-chip",{key:"7014d5bb99185352ddfa1767230c40487a27fba7",id:"chip",icon:mggAiChatbot,class:"chip",variant:"ai",label:(a=this.headline)!==null&&a!==void 0?a:this.t.get("chipLabel")}),h("mds-dropdown",{key:"46aee6235eb317f64d984c5d7ffeec6e9ef23b5d",target:"#chip",class:"chip-dropdown",interaction:"mouseover"},h("mds-text",{key:"940a93b53ee5c78634eaf39ebdc4843de874c339",typography:"tip"},(n=this.description)!==null&&n!==void 0?n:this.t.get("cardDescription")),h("mds-button",{key:"e94a60aef4a8d754882070300ebe40ec52819354",icon:miOutlinePolicy,href:this.href,variant:"ai",tone:"weak",size:"sm"},this.t.get("linkLabel")))),this.variant==="card"&&h("div",{key:"8f38c98a3f90a2daee5c0fe56dc08be4a5805724",class:"mini-card",part:"card"},h("mds-icon",{key:"e95bf26e2073d4ed6bcbe8458fb59d29242d803b",name:mggAiChatbot,class:"mini-card-icon"}),h("div",{key:"27f3d7807627409bcc7c12a2ff0b13a9aedb4a1a",class:"mini-card-content"},h("mds-text",{key:"974df045532462567e64d46dd308281790c3a0a0",typography:"caption"},(t=this.description)!==null&&t!==void 0?t:this.t.get("iconTooltip")),h("mds-button",{key:"79b09fbc1f0dc53de3094e5c2fc3618d3ae79afc",class:"mini-card-button",icon:miOutlinePolicy,href:this.href,variant:"ai",tone:"weak",size:"sm"},h("span",{key:"06b0094335d78affa64fa2c6f9eab0ed657c8183",class:"link-label-long"},this.t.get("linkLabel")),h("span",{key:"5c24c8b36cadec1ec9f0c9a671c268c153e5b609",class:"link-label-short"},this.t.get("linkLabelShort"))))),this.variant==="banner"&&h("mds-banner",{key:"c787b1aa6437af944eb39d50a07a3f101f763b00",class:"banner",variant:"ai",tone:"weak",icon:mggAiChatbot,headline:(r=this.headline)!==null&&r!==void 0?r:this.t.get("bannerTitle"),part:"banner"},h("mds-text",{key:"3cd7e4076bdbf770070c6d29e57a441ccc9921c3",typography:"caption"},(c=this.description)!==null&&c!==void 0?c:this.t.get("bannerDescription")),h("mds-button",{key:"40388d6d8e3d02c8db0c94c585d2dffa879ae83b",icon:miOutlinePolicy,slot:"action",href:this.href,variant:"ai",tone:"weak",size:"sm"},h("span",{key:"e25299573ed2c28821773871091041604059d005",class:"link-label-long"},this.t.get("linkLabel")),h("span",{key:"cd5f7376104f6ec21f1a1fd8293004f49016bb56",class:"link-label-short"},this.t.get("linkLabelShort")))))};Object.defineProperty(i.prototype,"host",{get:function(){return getElement(this)},enumerable:false,configurable:true});return i}();MdsPolicyAi.style=mdsPolicyAiCss();export{MdsPolicyAi as mds_policy_ai};
1
+ import{r as registerInstance,h,e as Host}from"./index-DIiEV39g.js";import{L as Locale}from"./locale-CbJbTW_c.js";import"./preference-CKerJx2M.js";var mggAiChatbot='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">\n <path fill-rule="evenodd" d="M15.318 3a3 3 0 0 1 2.56 1.436l3.666 6a3 3 0 0 1 0 3.129l-3.667 6A3 3 0 0 1 15.317 21H8.684a3 3 0 0 1-2.56-1.436l-3.667-6a3 3 0 0 1 0-3.129l3.666-6A3 3 0 0 1 8.682 3zm-.025 11.293c-.77.77-1.991 1.207-3.293 1.207-1.301 0-2.523-.437-3.293-1.207l-1.414 1.414C8.523 16.937 10.302 17.5 12 17.5c1.699 0 3.477-.563 4.707-1.793zM8 11h2V8H8zm6 0h2V8h-2z" clip-rule="evenodd"/>\n</svg>\n';var miOutlinePolicy='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M12 1L3 5v6c0 5.55 3.84 10.74 9 12c5.16-1.26 9-6.45 9-12V5l-9-4zm7 10c0 1.85-.51 3.65-1.38 5.21l-1.45-1.45a4.994 4.994 0 0 0-.64-6.29a5.003 5.003 0 0 0-7.07 0a5.003 5.003 0 0 0 0 7.07a5.006 5.006 0 0 0 6.29.64l1.72 1.72c-1.19 1.42-2.73 2.51-4.47 3.04c-4.02-1.25-7-5.42-7-9.94V6.3l7-3.11l7 3.11V11zm-7 4c-1.66 0-3-1.34-3-3s1.34-3 3-3s3 1.34 3 3s-1.34 3-3 3z"/></svg>';var bannerDescription$3="Αυτό το περιεχόμενο δημιουργήθηκε αυτόματα από την τεχνητή μας νοημοσύνη MIA και ενδέχεται να περιέχει ανακρίβειες. Σας συνιστούμε να επαληθεύσετε την ακρίβειά του και να συμβουλευτείτε επίσημες πηγές για οριστικές πληροφορίες.";var bannerTitle$3="Περιεχόμενο που δημιουργήθηκε με την MIA";var cardDescription$3="Αυτό το περιεχόμενο δημιουργήθηκε αυτόματα από την τεχνητή μας νοημοσύνη MIA και ενδέχεται να περιέχει ανακρίβειες.";var cardTitle$3="Περιεχόμενο που δημιουργήθηκε με την MIA";var chipLabel$3="Δημιουργήθηκε με MIA";var iconTooltip$3="Αυτό το περιεχόμενο δημιουργήθηκε αυτόματα από την τεχνητή μας νοημοσύνη MIA και ενδέχεται να περιέχει ανακρίβειες.";var iconLinkLabel$3="Κάντε κλικ για να διαβάσετε τις πολιτικές μας για την τεχνητή νοημοσύνη";var linkLabel$3="Πολιτική τεχνητής νοημοσύνης MIA";var linkLabelShort$3="Πολιτική MIA";var linkLabelTitle$3="Διαβάστε τις πολιτικές μας για τη χρήση της MIA, της τεχνητής μας νοημοσύνης, και τη δημιουργία αυτόματου περιεχομένου";var localeEl={bannerDescription:bannerDescription$3,bannerTitle:bannerTitle$3,cardDescription:cardDescription$3,cardTitle:cardTitle$3,chipLabel:chipLabel$3,iconTooltip:iconTooltip$3,iconLinkLabel:iconLinkLabel$3,linkLabel:linkLabel$3,linkLabelShort:linkLabelShort$3,linkLabelTitle:linkLabelTitle$3};var bannerDescription$2="This content was automatically generated by our artificial intelligence MIA and may contain inaccuracies. Please verify its accuracy and consult official sources for definitive information.";var bannerTitle$2="Content generated with MIA";var cardDescription$2="This content was automatically generated by our artificial intelligence MIA and may contain inaccuracies.";var cardTitle$2="Content generated with MIA";var chipLabel$2="Generated with MIA";var iconTooltip$2="This content was automatically generated by our artificial intelligence MIA and may contain inaccuracies.";var iconLinkLabel$2="Click to read our artificial intelligence policies";var linkLabel$2="MIA Artificial Intelligence Policy";var linkLabelShort$2="MIA Policy";var linkLabelTitle$2="Read our policies on the use of MIA, our artificial intelligence, and the automatic generation of content";var localeEn={bannerDescription:bannerDescription$2,bannerTitle:bannerTitle$2,cardDescription:cardDescription$2,cardTitle:cardTitle$2,chipLabel:chipLabel$2,iconTooltip:iconTooltip$2,iconLinkLabel:iconLinkLabel$2,linkLabel:linkLabel$2,linkLabelShort:linkLabelShort$2,linkLabelTitle:linkLabelTitle$2};var bannerDescription$1="Este contenido fue generado automáticamente por nuestra inteligencia artificial MIA y puede contener inexactitudes. Te recomendamos verificar su precisión y consultar fuentes oficiales para obtener información definitiva.";var bannerTitle$1="Contenido generado con MIA";var cardDescription$1="Este contenido fue generado automáticamente por nuestra inteligencia artificial MIA y puede contener inexactitudes.";var cardTitle$1="Contenido generado con MIA";var chipLabel$1="Generado con MIA";var iconTooltip$1="Este contenido fue generado automáticamente por nuestra inteligencia artificial MIA y puede contener inexactitudes.";var iconLinkLabel$1="Haz clic para leer nuestras políticas sobre inteligencia artificial";var linkLabel$1="Política de inteligencia artificial de MIA";var linkLabelShort$1="Política MIA";var linkLabelTitle$1="Lee nuestras políticas sobre el uso de MIA, nuestra inteligencia artificial, y la generación automática de contenidos";var localeEs={bannerDescription:bannerDescription$1,bannerTitle:bannerTitle$1,cardDescription:cardDescription$1,cardTitle:cardTitle$1,chipLabel:chipLabel$1,iconTooltip:iconTooltip$1,iconLinkLabel:iconLinkLabel$1,linkLabel:linkLabel$1,linkLabelShort:linkLabelShort$1,linkLabelTitle:linkLabelTitle$1};var bannerDescription="Questo contenuto è stato generato automaticamente tramite la nostra intelligenza artificiale MIA e potrebbe contenere inesattezze, ti invitiamo a verificarne l'accuratezza e a consultare fonti ufficiali per informazioni definitive.";var bannerTitle="Contenuto generato con MIA";var cardDescription="Questo contenuto è stato generato automaticamente tramite la nostra intelligenza artificiale MIA e potrebbe contenere inesattezze.";var cardTitle="Contenuto generato con MIA";var chipLabel="Generato con MIA";var iconTooltip="Questo contenuto è stato generato automaticamente dalla nostra intelligenza artificiale MIA e potrebbe contenere inesattezze.";var iconLinkLabel="Clicca per leggere le nostre policy sulla intelligenza artificiale";var linkLabel="Policy MIA intelligenza artificiale";var linkLabelShort="Policy MIA";var linkLabelTitle="Leggi le nostre policy sull'utilizzo di MIA, la nostra intelligenza artificiale e la generazione automatica dei contenuti";var localeIt={bannerDescription:bannerDescription,bannerTitle:bannerTitle,cardDescription:cardDescription,cardTitle:cardTitle,chipLabel:chipLabel,iconTooltip:iconTooltip,iconLinkLabel:iconLinkLabel,linkLabel:linkLabel,linkLabelShort:linkLabelShort,linkLabelTitle:linkLabelTitle};var mdsPolicyAiCss=function(){return"@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),:is(mds-banner,mds-button,mds-chip,mds-dropdown,mds-help,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{display:inline-flex}:host(:not([variant=icon])){container:mds-policy-ai/inline-size;width:100%}mds-button{justify-self:start}.banner{--mds-banner-cockade-background:rgb(var(--magma-accent-ai-fg,var(--magma-tint-accent-ai-fg,var(--variant-ai-03,87 20 242))));--mds-banner-icon-color:rgb(var(--magma-accent-ai-surface-subtle,var(--magma-tint-accent-ai-surface-subtle,var(--variant-ai-10,240 234 254))))}.mini-card{background-color:rgb(var(--magma-surface-raised,var(--magma-tint-raised,var(--surface-neutral-raised,248 248 248))));border-radius:var(--radius-lg,16px);-webkit-box-shadow:var(--shadow-sm-sharp,0 0 1px 1px #0000000f,0 1px 3px 0 #0000001a);box-shadow:var(--shadow-sm-sharp,0 0 1px 1px #0000000f,0 1px 3px 0 #0000001a);display:inline-flex;gap:calc(var(--spacing,.0025rem)*300);grid-template-columns:repeat(1,minmax(1px,100%));padding:calc(var(--spacing,.0025rem)*400)}.mini-card-icon{background-color:rgb(var(--magma-accent-ai-fg,var(--magma-tint-accent-ai-fg,var(--variant-ai-03,87 20 242))));border-radius:var(--radius-2xl,24px);border-top-left-radius:var(--radius-none,0);border-top-right-radius:var(--radius-none,0);fill:rgb(var(--magma-accent-ai-surface-subtle,var(--magma-tint-accent-ai-surface-subtle,var(--variant-ai-10,240 234 254))));height:calc(var(--spacing,.0025rem)*600);margin-top:calc(var(--spacing,.0025rem)*-400);padding:calc(var(--spacing,.0025rem)*100);padding-top:calc(var(--spacing,.0025rem)*400);width:calc(var(--spacing,.0025rem)*600)}.link-label-short{display:none}.mini-card-content{display:grid;gap:calc(var(--spacing,.0025rem)*300);grid-template-columns:repeat(1,minmax(1px,100%))}.mini-card-button{max-width:min-content;min-width:0;width:100%}@container mds-policy-ai (max-width:260px){.mini-card{display:grid}.mini-card-icon{border-top-left-radius:var(--radius-none,0);border-top-right-radius:var(--radius-none,0);margin-top:calc(var(--spacing,.0025rem)*-400);padding-top:calc(var(--spacing,.0025rem)*200)}.mini-card-button{max-width:none}.link-label-long{display:none}.link-label-short{display:inline}}.chip{cursor:help}.chip-dropdown{max-width:calc(var(--spacing,.0025rem)*7200);padding:calc(var(--spacing,.0025rem)*300) calc(var(--spacing,.0025rem)*400)}.icon-help{background-color:rgb(var(--magma-accent-ai-fg,var(--magma-tint-accent-ai-fg,var(--variant-ai-03,87 20 242))));border:1px solid rgb(var(--magma-surface-raised,var(--magma-tint-raised,var(--surface-neutral-raised,248 248 248))));border-radius:var(--radius-2xl,24px);cursor:pointer;fill:rgb(var(--magma-accent-ai-surface-subtle,var(--magma-tint-accent-ai-surface-subtle,var(--variant-ai-10,240 234 254))));height:min-content;width:min-content}.icon-tip-content{display:grid;gap:calc(var(--spacing,.0025rem)*200)}.icon-help::part(icon){height:calc(var(--spacing,.0025rem)*600);padding:calc(var(--spacing,.0025rem)*100);width:calc(var(--spacing,.0025rem)*600)}"};var MdsPolicyAi=/** @class */function(){function a(a){var i=this;registerInstance(this,a);this.t=new Locale({el:localeEl,en:localeEn,es:localeEs,it:localeIt});
2
+ /**
3
+ * Sets the variant type of the component
4
+ */this.variant="chip";
5
+ /**
6
+ * Sets the pointing URL of the component
7
+ */this.href="https://www.maggiolieditore.it/il-regolamento-europeo-sull-intelligenza-artificiale.html";this.handleIconClick=function(){window.open(i.href,"_blank")}}a.prototype.render=function(){var a,i,e,n,t,r,c;return h(Host,{key:"59f8a02cfa8d1e7e97e335242cf0e00899aae503"},this.variant==="icon"&&h("mds-help",{key:"4a28721858db569d763c636bca9c62980fdb1acb",icon:mggAiChatbot,class:"icon-help",onClick:this.handleIconClick,part:"icon"},h("div",{key:"8c50d556884f328ce42ed7b4ea5517ba14cfc388",class:"icon-tip-content"},h("mds-text",{key:"2f99c0ca66e828d29f0a5a2fb8e30756051cc4d6",typography:"tip"},(a=this.headline)!==null&&a!==void 0?a:this.t.get("iconTooltip")),h("mds-text",{key:"4cc83e23777372230856dfeb9d9452e0b2ddcd2b",typography:"tip"},(i=this.description)!==null&&i!==void 0?i:this.t.get("iconLinkLabel")))),this.variant==="chip"&&h("div",{key:"bfc4a3008c3d557bcf825d9e8c44c473a9bfa76b",class:"chip-wrapper",part:"chip"},h("mds-chip",{key:"e2abfc8a9953ebe68dda4dee0a4e16d759238fab",id:"chip",icon:mggAiChatbot,class:"chip",variant:"ai",label:(e=this.headline)!==null&&e!==void 0?e:this.t.get("chipLabel")}),h("mds-dropdown",{key:"b0dbe9a409fd335cc8494d1c8063a6aefa103129",target:"#chip",class:"chip-dropdown",interaction:"mouseover",role:"group"},h("mds-text",{key:"3f28b0b0612a87f759632966f2252c453bbb6b5d",typography:"tip"},(n=this.description)!==null&&n!==void 0?n:this.t.get("cardDescription")),h("mds-button",{key:"304e603de9c02371cf002a7b478c445f17934511",icon:miOutlinePolicy,href:this.href,variant:"ai",tone:"weak",size:"sm",label:this.t.get("linkLabel")}))),this.variant==="card"&&h("div",{key:"494b6ceced784003d7799267ed120acb68ea4d6a",class:"mini-card",part:"card"},h("mds-icon",{key:"8a6ee419027856d853b71cee27f8f34e09167e70",name:mggAiChatbot,class:"mini-card-icon"}),h("div",{key:"fa67a9117394b7548724a812383fd2fdec6080dc",class:"mini-card-content"},h("mds-text",{key:"da4bcf42da38a27c76bea80297f93105e667f9dd",typography:"caption"},(t=this.description)!==null&&t!==void 0?t:this.t.get("iconTooltip")),h("mds-button",{key:"089e5fbb5f5d57ff4ad156d605944e0b492eec60",class:"mini-card-button",icon:miOutlinePolicy,href:this.href,variant:"ai",tone:"weak",size:"sm"},h("span",{key:"5449aa18fabc036160965d74f65010c62cbaec63",class:"link-label-long"},this.t.get("linkLabel")),h("span",{key:"05a2291e3bae3c5d297c2b62ae2ea614151739a4",class:"link-label-short"},this.t.get("linkLabelShort"))))),this.variant==="banner"&&h("mds-banner",{key:"8bcc2e97d3327660028d09f31b35782424fd4ecb",class:"banner",variant:"ai",tone:"weak",icon:mggAiChatbot,headline:(r=this.headline)!==null&&r!==void 0?r:this.t.get("bannerTitle"),part:"banner"},h("mds-text",{key:"49fbd64bede035e346c4ed2dbf910aadee1fd848",typography:"caption"},(c=this.description)!==null&&c!==void 0?c:this.t.get("bannerDescription")),h("mds-button",{key:"12501ab30999aac923821fadb746abd8e323c073",icon:miOutlinePolicy,slot:"action",href:this.href,variant:"ai",tone:"weak",size:"sm"},h("span",{key:"6d2964fbb803765267bff7d35d5e3c01edd334aa",class:"link-label-long"},this.t.get("linkLabel")),h("span",{key:"6ba510de3c02757d12a09924f6bc116170ed8af2",class:"link-label-short"},this.t.get("linkLabelShort")))))};return a}();MdsPolicyAi.style=mdsPolicyAiCss();export{MdsPolicyAi as mds_policy_ai};
@@ -1 +1 @@
1
- var __awaiter=this&&this.__awaiter||function(e,t,i,a){function n(e){return e instanceof i?e:new i((function(t){t(e)}))}return new(i||(i=Promise))((function(i,s){function r(e){try{l(a.next(e))}catch(e){s(e)}}function o(e){try{l(a["throw"](e))}catch(e){s(e)}}function l(e){e.done?i(e.value):n(e.value).then(r,o)}l((a=a.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var i={label:0,sent:function(){if(s[0]&1)throw s[1];return s[1]},trys:[],ops:[]},a,n,s,r=Object.create((typeof Iterator==="function"?Iterator:Object).prototype);return r.next=o(0),r["throw"]=o(1),r["return"]=o(2),typeof Symbol==="function"&&(r[Symbol.iterator]=function(){return this}),r;function o(e){return function(t){return l([e,t])}}function l(o){if(a)throw new TypeError("Generator is already executing.");while(r&&(r=0,o[0]&&(i=0)),i)try{if(a=1,n&&(s=o[0]&2?n["return"]:o[0]?n["throw"]||((s=n["return"])&&s.call(n),0):n.next)&&!(s=s.call(n,o[1])).done)return s;if(n=0,s)o=[o[0]&2,s.value];switch(o[0]){case 0:case 1:s=o;break;case 4:i.label++;return{value:o[1],done:false};case 5:i.label++;n=o[1];o=[0];continue;case 7:o=i.ops.pop();i.trys.pop();continue;default:if(!(s=i.trys,s=s.length>0&&s[s.length-1])&&(o[0]===6||o[0]===2)){i=0;continue}if(o[0]===3&&(!s||o[1]>s[0]&&o[1]<s[3])){i.label=o[1];break}if(o[0]===6&&i.label<s[1]){i.label=s[1];s=o;break}if(s&&i.label<s[2]){i.label=s[2];i.ops.push(o);break}if(s[2])i.ops.pop();i.trys.pop();continue}o=t.call(e,i)}catch(e){o=[6,e];n=0}finally{a=s=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:true}}};import{r as registerInstance,c as createEvent,h,H as Host,g as getElement}from"./index-CAd5312P.js";import{m as miOutlineCircle}from"./circle-lZldSMeV.js";import{m as miBaselineSettings}from"./settings-XQgkfNpn.js";import{L as Locale}from"./locale-a4oAcjYG.js";import{s as subscribePreference}from"./preference-fMwnXhio.js";var miBaselineAnimation='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M15 2c-2.71 0-5.05 1.54-6.22 3.78a7.062 7.062 0 0 0-3 3A7.014 7.014 0 0 0 2 15c0 3.87 3.13 7 7 7c2.71 0 5.05-1.54 6.22-3.78a7.062 7.062 0 0 0 3-3A7.014 7.014 0 0 0 22 9c0-3.87-3.13-7-7-7zM9 20a5.002 5.002 0 0 1-4-8c0 3.87 3.13 7 7 7c-.84.63-1.88 1-3 1zm3-3a5.002 5.002 0 0 1-4-8c0 3.86 3.13 6.99 7 7c-.84.63-1.88 1-3 1zm4.7-3.3c-.53.19-1.1.3-1.7.3c-2.76 0-5-2.24-5-5c0-.6.11-1.17.3-1.7c.53-.19 1.1-.3 1.7-.3c2.76 0 5 2.24 5 5c0 .6-.11 1.17-.3 1.7zM19 12c0-3.86-3.13-6.99-7-7a5.002 5.002 0 0 1 7 7z"/></svg>';var animationDisabled$3="Απενεργοποιημένο";var animationEnabled$3="Ενεργοποιημένο";var label$3="Κινηματογραφήσεις";var systemSettings$3="Ρυθμίσεις συστήματος";var localeEl={animationDisabled:animationDisabled$3,animationEnabled:animationEnabled$3,label:label$3,systemSettings:systemSettings$3};var animationDisabled$2="Disabled";var animationEnabled$2="Enabled";var label$2="Animations";var systemSettings$2="System settings";var localeEn={animationDisabled:animationDisabled$2,animationEnabled:animationEnabled$2,label:label$2,systemSettings:systemSettings$2};var animationDisabled$1="Deshabilitadas";var animationEnabled$1="Habilitadas";var label$1="Animaciones";var systemSettings$1="Sistema operativo";var localeEs={animationDisabled:animationDisabled$1,animationEnabled:animationEnabled$1,label:label$1,systemSettings:systemSettings$1};var animationDisabled="Disabilitate";var animationEnabled="Abilitate";var label="Animazioni";var systemSettings="Sistema operativo";var localeIt={animationDisabled:animationDisabled,animationEnabled:animationEnabled,label:label,systemSettings:systemSettings};var mdsPrefAnimationCss=function(){return"@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),:is(mds-tab,mds-tab-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{display:grid;gap:calc(var(--spacing,.0025rem)*100)}.item{--mds-tab-item-default-color:rgb(var(--tone-neutral-05,197 197 197));flex-basis:0;flex-grow:1}.item--disabled,.item--enabled,.item--system{--mds-tab-item-selected-color:rgb(var(--tone-neutral-03,233 233 233))}:host([pref-contrast=more]) .item{--mds-tab-item-color:rgb(var(--tone-neutral-01,255 255 255))}@media (prefers-contrast:more){:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))) .item{--mds-tab-item-color:rgb(var(--tone-neutral-01,255 255 255))}}"};var MdsPrefAnimation=function(){function e(e){var t=this;registerInstance(this,e);this.prefChangeEvent=createEvent(this,"mdsPrefChange");this.localStorageAlias="mdsPrefAnimation";this.customPropertyAlias="--magma-pref-animation";this.defaultMode="system";this.t=new Locale({el:localeEl,en:localeEn,es:localeEs,it:localeIt});this.animation={reduce:{selector:"pref-animation-reduce",label:"animationDisabled"},system:{selector:"pref-animation-system",label:"systemSettings"},"no-preference":{selector:"pref-animation-no-preference",label:"animationEnabled"}};this.setAnimation=function(e){t.prefChangeEvent.emit({preference:"animation"});t.mode=e;localStorage.setItem(t.localStorageAlias,t.mode);if(typeof document!=="undefined"){var i=document.querySelector("html");for(var a in t.animation){if({}.hasOwnProperty.call(t.animation,a)){i===null||i===void 0?void 0:i.classList.remove(t.animation[a].selector)}}i===null||i===void 0?void 0:i.classList.add(t.animation[t.mode].selector);i===null||i===void 0?void 0:i.style.setProperty(t.customPropertyAlias,t.mode)}};this.handleModeClick=function(e){return function(){t.setAnimation(e)}}}e.prototype.updateLang=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.language=this.t.lang(this.element);return[2]}))}))};e.prototype.connectedCallback=function(){var e=this;this.unsubscribePrefContrast=subscribePreference("contrast",(function(t){e.prefContrast=t}))};e.prototype.disconnectedCallback=function(){var e;(e=this.unsubscribePrefContrast)===null||e===void 0?void 0:e.call(this)};e.prototype.componentWillRender=function(){var e,t;this.t.lang(this.element);this.setAnimation((t=(e=this.mode)!==null&&e!==void 0?e:localStorage.getItem(this.localStorageAlias))!==null&&t!==void 0?t:this.defaultMode)};e.prototype.modeChanged=function(e){this.setAnimation(e)};e.prototype.render=function(){var e;return h(Host,{key:"8c4d271a4f27c766d76b37aa3f0755bba0a19d7c","pref-contrast":this.prefContrast},h("mds-text",{key:"d06ce9519d9e4608219f4d10c9818af4b3430812",class:"info",typography:"caption"},h("b",{key:"95ec18d11359fe4358a8a8d1b63ca695185a8c7e"},this.t.get("label"))," ",this.t.get(this.animation[(e=this.mode)!==null&&e!==void 0?e:this.defaultMode].label)),h("mds-tab",{key:"579e25e9182c02c7d7deceaf46247ea254b676e3",fill:true,size:this.size},h("mds-tab-item",{key:"076a7a88d63c9752fb1c5fce30a816abe52917d4",selected:this.mode==="reduce",onClick:this.handleModeClick("reduce"),class:"item item--reduce",icon:miOutlineCircle}),h("mds-tab-item",{key:"8b7fe984365c966837e6d534251bac8be15e669e",selected:this.mode==="system",onClick:this.handleModeClick("system"),class:"item item--system",icon:miBaselineSettings}),h("mds-tab-item",{key:"d7282679add90930f487e1ef3f35d804d286763f",selected:this.mode==="no-preference",onClick:this.handleModeClick("no-preference"),class:"item item--no-preference",icon:miBaselineAnimation})))};Object.defineProperty(e.prototype,"element",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{mode:[{modeChanged:0}]}},enumerable:false,configurable:true});return e}();MdsPrefAnimation.style=mdsPrefAnimationCss();export{MdsPrefAnimation as mds_pref_animation};
1
+ import{r as registerInstance,d as createEvent,h,e as Host}from"./index-DIiEV39g.js";import{m as miOutlineCircle}from"./circle-lZldSMeV.js";import{m as miBaselineSettings}from"./settings-XQgkfNpn.js";import{L as Locale}from"./locale-CbJbTW_c.js";import{p as preferenceStore}from"./preference-CKerJx2M.js";var miBaselineAnimation='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M15 2c-2.71 0-5.05 1.54-6.22 3.78a7.062 7.062 0 0 0-3 3A7.014 7.014 0 0 0 2 15c0 3.87 3.13 7 7 7c2.71 0 5.05-1.54 6.22-3.78a7.062 7.062 0 0 0 3-3A7.014 7.014 0 0 0 22 9c0-3.87-3.13-7-7-7zM9 20a5.002 5.002 0 0 1-4-8c0 3.87 3.13 7 7 7c-.84.63-1.88 1-3 1zm3-3a5.002 5.002 0 0 1-4-8c0 3.86 3.13 6.99 7 7c-.84.63-1.88 1-3 1zm4.7-3.3c-.53.19-1.1.3-1.7.3c-2.76 0-5-2.24-5-5c0-.6.11-1.17.3-1.7c.53-.19 1.1-.3 1.7-.3c2.76 0 5 2.24 5 5c0 .6-.11 1.17-.3 1.7zM19 12c0-3.86-3.13-6.99-7-7a5.002 5.002 0 0 1 7 7z"/></svg>';var animationDisabled$3="Απενεργοποιημένο";var animationEnabled$3="Ενεργοποιημένο";var label$3="Κινηματογραφήσεις";var systemSettings$3="Ρυθμίσεις συστήματος";var localeEl={animationDisabled:animationDisabled$3,animationEnabled:animationEnabled$3,label:label$3,systemSettings:systemSettings$3};var animationDisabled$2="Disabled";var animationEnabled$2="Enabled";var label$2="Animations";var systemSettings$2="System settings";var localeEn={animationDisabled:animationDisabled$2,animationEnabled:animationEnabled$2,label:label$2,systemSettings:systemSettings$2};var animationDisabled$1="Deshabilitadas";var animationEnabled$1="Habilitadas";var label$1="Animaciones";var systemSettings$1="Sistema operativo";var localeEs={animationDisabled:animationDisabled$1,animationEnabled:animationEnabled$1,label:label$1,systemSettings:systemSettings$1};var animationDisabled="Disabilitate";var animationEnabled="Abilitate";var label="Animazioni";var systemSettings="Sistema operativo";var localeIt={animationDisabled:animationDisabled,animationEnabled:animationEnabled,label:label,systemSettings:systemSettings};var mdsPrefAnimationCss=function(){return"@layer reset,vendor,theme,base,components,utilities;:host([pref-animation=reduce]),:host([pref-animation=reduce]) *,:host([pref-animation=reduce]) :after,:host([pref-animation=reduce]) :before{transition-duration:.01ms!important}:host(:not(:is([hydrated],.hydrated))),:is(mds-tab,mds-tab-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{display:grid;gap:calc(var(--spacing,.0025rem)*100)}.item{--mds-tab-item-default-color:rgb(var(--magma-text-disabled,var(--magma-tint-text-disabled,var(--text-neutral-disabled,119 119 119))));flex-basis:0;flex-grow:1}.item--disabled,.item--enabled,.item--system{--mds-tab-item-selected-color:rgb(var(--magma-text-muted,var(--magma-tint-text-muted,var(--text-neutral-muted,73 73 73))))}:host([pref-contrast=more]) .item{--mds-tab-item-color:rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5))))}@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}}@media (prefers-contrast:more){:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))) .item{--mds-tab-item-color:rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5))))}}"};var MdsPrefAnimation=/** @class */function(){function e(e){var t=this;registerInstance(this,e);this.prefChangeEvent=createEvent(this,"mdsPrefChange",7);this.localStorageAlias="mdsPrefAnimation";this.customPropertyAlias="--magma-pref-animation";this.defaultMode="system";this.t=new Locale({el:localeEl,en:localeEn,es:localeEs,it:localeIt});this.animation={reduce:{selector:"pref-animation-reduce",label:"animationDisabled"},system:{selector:"pref-animation-system",label:"systemSettings"},"no-preference":{selector:"pref-animation-no-preference",label:"animationEnabled"}};this.setAnimation=function(e){t.prefChangeEvent.emit({preference:"animation"});t.mode=e;localStorage.setItem(t.localStorageAlias,t.mode);if(typeof document!=="undefined"){var a=document.querySelector("html");for(var i in t.animation){if({}.hasOwnProperty.call(t.animation,i)){a===null||a===void 0?void 0:a.classList.remove(t.animation[i].selector)}}a===null||a===void 0?void 0:a.classList.add(t.animation[t.mode].selector);a===null||a===void 0?void 0:a.style.setProperty(t.customPropertyAlias,t.mode)}preferenceStore.state.animation=e};this.handleModeClick=function(e){return function(){t.setAnimation(e)}}}e.prototype.componentWillRender=function(){var e,t;this.setAnimation((t=(e=this.mode)!==null&&e!==void 0?e:localStorage.getItem(this.localStorageAlias))!==null&&t!==void 0?t:this.defaultMode)};e.prototype.modeChanged=function(e){this.setAnimation(e)};e.prototype.render=function(){var e;return h(Host,{key:"316e143c4b4db5b9dfb62cb220fe3bc6a5c9f281","pref-contrast":preferenceStore.state.contrast},h("mds-text",{key:"1cdfe2135ee272feced051d65f82474a9cafc6dd",class:"info",typography:"caption"},h("b",{key:"521c7e5128313ff63abfd588853624bf30d93a68"},this.t.get("label"))," ",this.t.get(this.animation[(e=this.mode)!==null&&e!==void 0?e:this.defaultMode].label)),h("mds-tab",{key:"fbc3785a43f7425462cf8aa72dd5da5192e706a9",fill:true,size:this.size},h("mds-tab-item",{key:"0db92d6a4004725bd6c0bf533bae68e16c821f68",selected:this.mode==="reduce",onClick:this.handleModeClick("reduce"),class:"item item--reduce",icon:miOutlineCircle,title:this.t.get(this.animation.reduce.label)}),h("mds-tab-item",{key:"9336c4f7cc8b84835a2cc43b4ec40bf5da62f0b6",selected:this.mode==="system",onClick:this.handleModeClick("system"),class:"item item--system",icon:miBaselineSettings,title:this.t.get(this.animation.system.label)}),h("mds-tab-item",{key:"e3bd86fd690120b3d0fcdda2b9c41da05ebeafef",selected:this.mode==="no-preference",onClick:this.handleModeClick("no-preference"),class:"item item--no-preference",icon:miBaselineAnimation,title:this.t.get(this.animation["no-preference"].label)})))};Object.defineProperty(e,"watchers",{get:function(){return{mode:[{modeChanged:0}]}},enumerable:false,configurable:true});return e}();MdsPrefAnimation.style=mdsPrefAnimationCss();export{MdsPrefAnimation as mds_pref_animation};
@@ -1 +1 @@
1
- var __awaiter=this&&this.__awaiter||function(t,e,o,n){function i(t){return t instanceof o?t:new o((function(e){e(t)}))}return new(o||(o=Promise))((function(o,s){function r(t){try{c(n.next(t))}catch(t){s(t)}}function a(t){try{c(n["throw"](t))}catch(t){s(t)}}function c(t){t.done?o(t.value):i(t.value).then(r,a)}c((n=n.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var o={label:0,sent:function(){if(s[0]&1)throw s[1];return s[1]},trys:[],ops:[]},n,i,s,r=Object.create((typeof Iterator==="function"?Iterator:Object).prototype);return r.next=a(0),r["throw"]=a(1),r["return"]=a(2),typeof Symbol==="function"&&(r[Symbol.iterator]=function(){return this}),r;function a(t){return function(e){return c([t,e])}}function c(a){if(n)throw new TypeError("Generator is already executing.");while(r&&(r=0,a[0]&&(o=0)),o)try{if(n=1,i&&(s=a[0]&2?i["return"]:a[0]?i["throw"]||((s=i["return"])&&s.call(i),0):i.next)&&!(s=s.call(i,a[1])).done)return s;if(i=0,s)a=[a[0]&2,s.value];switch(a[0]){case 0:case 1:s=a;break;case 4:o.label++;return{value:a[1],done:false};case 5:o.label++;i=a[1];a=[0];continue;case 7:a=o.ops.pop();o.trys.pop();continue;default:if(!(s=o.trys,s=s.length>0&&s[s.length-1])&&(a[0]===6||a[0]===2)){o=0;continue}if(a[0]===3&&(!s||a[1]>s[0]&&a[1]<s[3])){o.label=a[1];break}if(a[0]===6&&o.label<s[1]){o.label=s[1];s=a;break}if(s&&o.label<s[2]){o.label=s[2];o.ops.push(a);break}if(s[2])o.ops.pop();o.trys.pop();continue}a=e.call(t,o)}catch(t){a=[6,t];i=0}finally{n=s=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:true}}};import{r as registerInstance,c as createEvent,h,H as Host,g as getElement}from"./index-CAd5312P.js";import{L as Locale}from"./locale-a4oAcjYG.js";import{s as subscribePreference}from"./preference-fMwnXhio.js";var mggConsumptionLow='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">\n <path d="M13.314 12.492c-.943-.837-4.99-3.526-8.385-5.563 2.037 3.395 4.726 7.442 5.563 8.384q.045.052.094.101a2 2 0 1 0 2.728-2.922"/>\n <path d="M2 14c0 1.893.526 3.663 1.44 5.173.326.538.93.827 1.558.827h14.004c.629 0 1.232-.29 1.558-.827A9.95 9.95 0 0 0 22 14c0-5.523-4.477-10-10-10a9.95 9.95 0 0 0-5.416 1.592c.64.39 1.292.795 1.937 1.202A8 8 0 0 1 18.93 18H5.07A7.96 7.96 0 0 1 4 14c0-1.247.285-2.427.794-3.48-.407-.644-.812-1.297-1.202-1.936A9.95 9.95 0 0 0 2 14"/>\n</svg>\n';var mggConsumptionMedium='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">\n <path d="M9.885 4.224C5.378 5.194 2 9.203 2 14c0 1.893.526 3.663 1.44 5.173.326.538.93.827 1.558.827h14.004c.629 0 1.232-.29 1.558-.827A9.95 9.95 0 0 0 22 14c0-4.797-3.378-8.805-7.885-9.776.177.728.352 1.476.52 2.22A8.003 8.003 0 0 1 18.93 18H5.07A8.003 8.003 0 0 1 9.365 6.444a137 137 0 0 1 .52-2.22"/>\n <path d="M13.995 13.862C13.921 12.605 12.96 7.842 12 4c-.96 3.841-1.92 8.605-1.995 9.862a2 2 0 1 0 3.99 0"/>\n</svg>\n';var mggConsumptionHigh='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">\n <path d="M13.508 15.314c.837-.943 3.526-4.99 5.563-8.385-3.395 2.037-7.443 4.726-8.385 5.563q-.051.045-.1.094a2 2 0 1 0 2.922 2.728"/>\n <path d="M3.44 19.173A9.95 9.95 0 0 1 2 14C2 8.477 6.477 4 12 4c1.996 0 3.855.585 5.416 1.592-.64.39-1.292.795-1.937 1.202A8 8 0 0 0 5.07 18h13.86A7.96 7.96 0 0 0 20 14a8 8 0 0 0-.794-3.48c.407-.644.813-1.297 1.202-1.936A9.95 9.95 0 0 1 22 14a9.95 9.95 0 0 1-1.44 5.173c-.326.538-.93.827-1.558.827H4.998c-.629 0-1.232-.29-1.558-.827"/>\n</svg>\n';var consumptionHigh$3="Υψηλή";var consumptionLow$3="Χαμηλή";var consumptionMedium$3="Μεσαία";var label$3="Κατανάλωση";var localeEl={consumptionHigh:consumptionHigh$3,consumptionLow:consumptionLow$3,consumptionMedium:consumptionMedium$3,label:label$3};var consumptionHigh$2="High";var consumptionLow$2="Low";var consumptionMedium$2="Medium";var label$2="Consumption";var localeEn={consumptionHigh:consumptionHigh$2,consumptionLow:consumptionLow$2,consumptionMedium:consumptionMedium$2,label:label$2};var consumptionHigh$1="Alto";var consumptionLow$1="Bajo";var consumptionMedium$1="Medio";var label$1="Consumo";var localeEs={consumptionHigh:consumptionHigh$1,consumptionLow:consumptionLow$1,consumptionMedium:consumptionMedium$1,label:label$1};var consumptionHigh="Alto";var consumptionLow="Basso";var consumptionMedium="Medio";var label="Consumo";var localeIt={consumptionHigh:consumptionHigh,consumptionLow:consumptionLow,consumptionMedium:consumptionMedium,label:label};var mdsPrefConsumptionCss=function(){return"@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),:is(mds-tab,mds-tab-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{display:grid;gap:calc(var(--spacing,.0025rem)*100)}.item{--mds-tab-item-default-color:rgb(var(--tone-neutral-05,197 197 197));flex-basis:0;flex-grow:1}.item--high{--mds-tab-item-selected-color:rgb(var(--status-error-06,239 108 105))}.item--medium{--mds-tab-item-selected-color:rgb(var(--status-warning-06,190 142 0))}.item--low{--mds-tab-item-selected-color:rgb(var(--status-success-06,0 171 97))}:host([pref-contrast=more]) .item{--mds-tab-item-default-color:rgb(var(--tone-neutral-01,255 255 255))}:host([pref-contrast=more]) .item--high{--mds-tab-item-default-color:rgb(var(--status-error-03,255 217 214))}:host([pref-contrast=more]) .item--medium{--mds-tab-item-default-color:rgb(var(--status-warning-03,255 223 129))}:host([pref-contrast=more]) .item--low{--mds-tab-item-default-color:rgb(var(--status-success-03,196 235 209))}@media (prefers-contrast:more){:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))) .item{--mds-tab-item-default-color:rgb(var(--tone-neutral-01,255 255 255))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))) .item--high{--mds-tab-item-default-color:rgb(var(--status-error-03,255 217 214))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))) .item--medium{--mds-tab-item-default-color:rgb(var(--status-warning-03,255 223 129))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))) .item--low{--mds-tab-item-default-color:rgb(var(--status-success-03,196 235 209))}}"};var MdsPrefContrast=function(){function t(t){var e=this;registerInstance(this,t);this.prefChangeEvent=createEvent(this,"mdsPrefChange");this.localStorageAlias="mdsPrefConsumption";this.customPropertyAlias="--magma-pref-consumption";this.defaultMode="high";this.t=new Locale({el:localeEl,en:localeEn,es:localeEs,it:localeIt});this.consumption={high:{selector:"pref-consumption-high",label:"consumptionHigh"},medium:{selector:"pref-consumption-medium",label:"consumptionMedium"},low:{selector:"pref-consumption-low",label:"consumptionLow"}};this.setConsumption=function(t){e.prefChangeEvent.emit({preference:"consumption"});e.mode=t;localStorage.setItem(e.localStorageAlias,e.mode);if(typeof document!=="undefined"){var o=document.querySelector("html");for(var n in e.consumption){if({}.hasOwnProperty.call(e.consumption,n)){o===null||o===void 0?void 0:o.classList.remove(e.consumption[n].selector)}}o===null||o===void 0?void 0:o.classList.add(e.consumption[e.mode].selector);o===null||o===void 0?void 0:o.style.setProperty(e.customPropertyAlias,e.mode)}};this.handleModeClick=function(t){return function(){e.setConsumption(t)}}}t.prototype.updateLang=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.language=this.t.lang(this.element);return[2]}))}))};t.prototype.connectedCallback=function(){var t=this;this.unsubscribePrefContrast=subscribePreference("contrast",(function(e){t.prefContrast=e}))};t.prototype.disconnectedCallback=function(){var t;(t=this.unsubscribePrefContrast)===null||t===void 0?void 0:t.call(this)};t.prototype.componentWillRender=function(){var t,e;this.t.lang(this.element);this.setConsumption((e=(t=this.mode)!==null&&t!==void 0?t:localStorage.getItem(this.localStorageAlias))!==null&&e!==void 0?e:this.defaultMode)};t.prototype.modeChanged=function(t){this.setConsumption(t)};t.prototype.render=function(){var t;return h(Host,{key:"8aacd0158d8dcd42a86c3f8d5a963b509a067d7c","pref-contrast":this.prefContrast},h("mds-text",{key:"0114ef44e5ec8ebfc5eb61e59bc01a8dccc5d443",class:"info",typography:"caption"},h("b",{key:"9062cda609e301b70910c76f0529259aece20356"},this.t.get("label"))," ",this.t.get(this.consumption[(t=this.mode)!==null&&t!==void 0?t:this.defaultMode].label)),h("mds-tab",{key:"44c1462c501e7014db8ece5a0bdbb7a743fb8848",fill:true,size:this.size},h("mds-tab-item",{key:"6ecc4b3963061b230abdba6dd6e1382bc941007e",selected:this.mode==="low",onClick:this.handleModeClick("low"),class:"item item--low",icon:mggConsumptionLow}),h("mds-tab-item",{key:"bd85e99d05f2c21f2e3c1910c0eacce5ab241dd5",selected:this.mode==="medium",onClick:this.handleModeClick("medium"),class:"item item--medium",icon:mggConsumptionMedium}),h("mds-tab-item",{key:"4acf72c60c3b29c9fcc1793faf216a8309a4110d",selected:this.mode==="high",onClick:this.handleModeClick("high"),class:"item item--high",icon:mggConsumptionHigh})))};Object.defineProperty(t.prototype,"element",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{mode:[{modeChanged:0}]}},enumerable:false,configurable:true});return t}();MdsPrefContrast.style=mdsPrefConsumptionCss();export{MdsPrefContrast as mds_pref_consumption};
1
+ import{r as registerInstance,d as createEvent,h,e as Host}from"./index-DIiEV39g.js";import{L as Locale}from"./locale-CbJbTW_c.js";import{p as preferenceStore}from"./preference-CKerJx2M.js";var mggConsumptionLow='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">\n <path d="M13.314 12.492c-.943-.837-4.99-3.526-8.385-5.563 2.037 3.395 4.726 7.442 5.563 8.384q.045.052.094.101a2 2 0 1 0 2.728-2.922"/>\n <path d="M2 14c0 1.893.526 3.663 1.44 5.173.326.538.93.827 1.558.827h14.004c.629 0 1.232-.29 1.558-.827A9.95 9.95 0 0 0 22 14c0-5.523-4.477-10-10-10a9.95 9.95 0 0 0-5.416 1.592c.64.39 1.292.795 1.937 1.202A8 8 0 0 1 18.93 18H5.07A7.96 7.96 0 0 1 4 14c0-1.247.285-2.427.794-3.48-.407-.644-.812-1.297-1.202-1.936A9.95 9.95 0 0 0 2 14"/>\n</svg>\n';var mggConsumptionMedium='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">\n <path d="M9.885 4.224C5.378 5.194 2 9.203 2 14c0 1.893.526 3.663 1.44 5.173.326.538.93.827 1.558.827h14.004c.629 0 1.232-.29 1.558-.827A9.95 9.95 0 0 0 22 14c0-4.797-3.378-8.805-7.885-9.776.177.728.352 1.476.52 2.22A8.003 8.003 0 0 1 18.93 18H5.07A8.003 8.003 0 0 1 9.365 6.444a137 137 0 0 1 .52-2.22"/>\n <path d="M13.995 13.862C13.921 12.605 12.96 7.842 12 4c-.96 3.841-1.92 8.605-1.995 9.862a2 2 0 1 0 3.99 0"/>\n</svg>\n';var mggConsumptionHigh='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">\n <path d="M13.508 15.314c.837-.943 3.526-4.99 5.563-8.385-3.395 2.037-7.443 4.726-8.385 5.563q-.051.045-.1.094a2 2 0 1 0 2.922 2.728"/>\n <path d="M3.44 19.173A9.95 9.95 0 0 1 2 14C2 8.477 6.477 4 12 4c1.996 0 3.855.585 5.416 1.592-.64.39-1.292.795-1.937 1.202A8 8 0 0 0 5.07 18h13.86A7.96 7.96 0 0 0 20 14a8 8 0 0 0-.794-3.48c.407-.644.813-1.297 1.202-1.936A9.95 9.95 0 0 1 22 14a9.95 9.95 0 0 1-1.44 5.173c-.326.538-.93.827-1.558.827H4.998c-.629 0-1.232-.29-1.558-.827"/>\n</svg>\n';var consumptionHigh$3="Υψηλή";var consumptionLow$3="Χαμηλή";var consumptionMedium$3="Μεσαία";var label$3="Κατανάλωση";var localeEl={consumptionHigh:consumptionHigh$3,consumptionLow:consumptionLow$3,consumptionMedium:consumptionMedium$3,label:label$3};var consumptionHigh$2="High";var consumptionLow$2="Low";var consumptionMedium$2="Medium";var label$2="Consumption";var localeEn={consumptionHigh:consumptionHigh$2,consumptionLow:consumptionLow$2,consumptionMedium:consumptionMedium$2,label:label$2};var consumptionHigh$1="Alto";var consumptionLow$1="Bajo";var consumptionMedium$1="Medio";var label$1="Consumo";var localeEs={consumptionHigh:consumptionHigh$1,consumptionLow:consumptionLow$1,consumptionMedium:consumptionMedium$1,label:label$1};var consumptionHigh="Alto";var consumptionLow="Basso";var consumptionMedium="Medio";var label="Consumo";var localeIt={consumptionHigh:consumptionHigh,consumptionLow:consumptionLow,consumptionMedium:consumptionMedium,label:label};var mdsPrefConsumptionCss=function(){return"@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),:is(mds-tab,mds-tab-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{display:grid;gap:calc(var(--spacing,.0025rem)*100)}.item{--mds-tab-item-default-color:rgb(var(--magma-text-disabled,var(--magma-tint-text-disabled,var(--text-neutral-disabled,119 119 119))));flex-basis:0;flex-grow:1}.item--high{--mds-tab-item-selected-color:rgb(var(--magma-danger-emphasis,var(--status-error-04,196 64 65)))}.item--medium{--mds-tab-item-selected-color:rgb(var(--magma-warning-emphasis,var(--status-warning-04,142 106 0)))}.item--low{--mds-tab-item-selected-color:rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57)))}:host([pref-contrast=more]) .item{--mds-tab-item-default-color:rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5))))}:host([pref-contrast=more]) .item--high{--mds-tab-item-default-color:rgb(var(--magma-danger-text-default,var(--text-error-default,89 0 0)))}:host([pref-contrast=more]) .item--medium{--mds-tab-item-default-color:rgb(var(--magma-warning-text-default,var(--text-warning-default,58 44 0)))}:host([pref-contrast=more]) .item--low{--mds-tab-item-default-color:rgb(var(--magma-success-text-default,var(--text-success-default,0 53 0)))}@media (prefers-contrast:more){:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))) .item{--mds-tab-item-default-color:rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5))))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))) .item--high{--mds-tab-item-default-color:rgb(var(--magma-danger-text-default,var(--text-error-default,89 0 0)))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))) .item--medium{--mds-tab-item-default-color:rgb(var(--magma-warning-text-default,var(--text-warning-default,58 44 0)))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))) .item--low{--mds-tab-item-default-color:rgb(var(--magma-success-text-default,var(--text-success-default,0 53 0)))}}"};var MdsPrefContrast=/** @class */function(){function t(t){var e=this;registerInstance(this,t);this.prefChangeEvent=createEvent(this,"mdsPrefChange",7);this.localStorageAlias="mdsPrefConsumption";this.customPropertyAlias="--magma-pref-consumption";this.defaultMode="high";this.t=new Locale({el:localeEl,en:localeEn,es:localeEs,it:localeIt});this.consumption={high:{selector:"pref-consumption-high",label:"consumptionHigh"},medium:{selector:"pref-consumption-medium",label:"consumptionMedium"},low:{selector:"pref-consumption-low",label:"consumptionLow"}};this.setConsumption=function(t){e.prefChangeEvent.emit({preference:"consumption"});e.mode=t;localStorage.setItem(e.localStorageAlias,e.mode);if(typeof document!=="undefined"){var o=document.querySelector("html");for(var a in e.consumption){if({}.hasOwnProperty.call(e.consumption,a)){o===null||o===void 0?void 0:o.classList.remove(e.consumption[a].selector)}}o===null||o===void 0?void 0:o.classList.add(e.consumption[e.mode].selector);o===null||o===void 0?void 0:o.style.setProperty(e.customPropertyAlias,e.mode)}preferenceStore.state.consumption=t};this.handleModeClick=function(t){return function(){e.setConsumption(t)}}}t.prototype.componentWillRender=function(){var t,e;this.setConsumption((e=(t=this.mode)!==null&&t!==void 0?t:localStorage.getItem(this.localStorageAlias))!==null&&e!==void 0?e:this.defaultMode)};t.prototype.modeChanged=function(t){this.setConsumption(t)};t.prototype.render=function(){var t;return h(Host,{key:"54b1faff4937274faebca07bab0a8839c5764dec","pref-contrast":preferenceStore.state.contrast},h("mds-text",{key:"4321a62b672bc9809824662dfe395fcd2676b56e",class:"info",typography:"caption"},h("b",{key:"68eea4182022681cd5085e3b029a5ed404795758"},this.t.get("label"))," ",this.t.get(this.consumption[(t=this.mode)!==null&&t!==void 0?t:this.defaultMode].label)),h("mds-tab",{key:"83265fb0aa01eb10a6fcf19e647d490207e5151e",fill:true,size:this.size},h("mds-tab-item",{key:"2219f44d0f8934439932b10fc02f266b07003a90",selected:this.mode==="low",onClick:this.handleModeClick("low"),class:"item item--low",icon:mggConsumptionLow,title:this.t.get(this.consumption.low.label)}),h("mds-tab-item",{key:"0466ba1148b2ece0d8df7b0f76e6304dfb4ce26a",selected:this.mode==="medium",onClick:this.handleModeClick("medium"),class:"item item--medium",icon:mggConsumptionMedium,title:this.t.get(this.consumption.medium.label)}),h("mds-tab-item",{key:"e93cdd4a2314f7a8e8821bb9c6a0eabf3ab55555",selected:this.mode==="high",onClick:this.handleModeClick("high"),class:"item item--high",icon:mggConsumptionHigh,title:this.t.get(this.consumption.high.label)})))};Object.defineProperty(t,"watchers",{get:function(){return{mode:[{modeChanged:0}]}},enumerable:false,configurable:true});return t}();MdsPrefContrast.style=mdsPrefConsumptionCss();export{MdsPrefContrast as mds_pref_consumption};
@@ -1 +1,4 @@
1
- var __awaiter=this&&this.__awaiter||function(t,e,r,s){function n(t){return t instanceof r?t:new r((function(e){e(t)}))}return new(r||(r=Promise))((function(r,a){function o(t){try{l(s.next(t))}catch(t){a(t)}}function i(t){try{l(s["throw"](t))}catch(t){a(t)}}function l(t){t.done?r(t.value):n(t.value).then(o,i)}l((s=s.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var r={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},s,n,a,o=Object.create((typeof Iterator==="function"?Iterator:Object).prototype);return o.next=i(0),o["throw"]=i(1),o["return"]=i(2),typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function i(t){return function(e){return l([t,e])}}function l(i){if(s)throw new TypeError("Generator is already executing.");while(o&&(o=0,i[0]&&(r=0)),r)try{if(s=1,n&&(a=i[0]&2?n["return"]:i[0]?n["throw"]||((a=n["return"])&&a.call(n),0):n.next)&&!(a=a.call(n,i[1])).done)return a;if(n=0,a)i=[i[0]&2,a.value];switch(i[0]){case 0:case 1:a=i;break;case 4:r.label++;return{value:i[1],done:false};case 5:r.label++;n=i[1];i=[0];continue;case 7:i=r.ops.pop();r.trys.pop();continue;default:if(!(a=r.trys,a=a.length>0&&a[a.length-1])&&(i[0]===6||i[0]===2)){r=0;continue}if(i[0]===3&&(!a||i[1]>a[0]&&i[1]<a[3])){r.label=i[1];break}if(i[0]===6&&r.label<a[1]){r.label=a[1];a=i;break}if(a&&r.label<a[2]){r.label=a[2];r.ops.push(i);break}if(a[2])r.ops.pop();r.trys.pop();continue}i=e.call(t,r)}catch(t){i=[6,t];n=0}finally{s=a=0}if(i[0]&5)throw i[1];return{value:i[0]?i[1]:void 0,done:true}}};import{r as registerInstance,c as createEvent,h,H as Host,g as getElement}from"./index-CAd5312P.js";import{m as miBaselineSettings}from"./settings-XQgkfNpn.js";import{L as Locale}from"./locale-a4oAcjYG.js";import{s as subscribePreference}from"./preference-fMwnXhio.js";var miBaselineContrast='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M12 22c5.52 0 10-4.48 10-10S17.52 2 12 2S2 6.48 2 12s4.48 10 10 10zm1-17.93c3.94.49 7 3.85 7 7.93s-3.05 7.44-7 7.93V4.07z"/></svg>';var miOutlineAutoAwesome='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M19 9l1.25-2.75L23 5l-2.75-1.25L19 1l-1.25 2.75L15 5l2.75 1.25zm0 6l-1.25 2.75L15 19l2.75 1.25L19 23l1.25-2.75L23 19l-2.75-1.25zm-7.5-5.5L9 4L6.5 9.5L1 12l5.5 2.5L9 20l2.5-5.5L17 12l-5.5-2.5zm-1.51 3.49L9 15.17l-.99-2.18L5.83 12l2.18-.99L9 8.83l.99 2.18l2.18.99l-2.18.99z"/></svg>';var miBaselineAutoAwesome='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M19 9l1.25-2.75L23 5l-2.75-1.25L19 1l-1.25 2.75L15 5l2.75 1.25L19 9zm-7.5.5L9 4L6.5 9.5L1 12l5.5 2.5L9 20l2.5-5.5L17 12l-5.5-2.5zM19 15l-1.25 2.75L15 19l2.75 1.25L19 23l1.25-2.75L23 19l-2.75-1.25L19 15z"/></svg>';var contrastMore$3="Περισσότερο";var contrastDefault$3="Προεπιλογή";var label$3="Αντίθεση";var systemSettings$3="Ρυθμίσεις συστήματος";var localeEl={contrastMore:contrastMore$3,contrastDefault:contrastDefault$3,label:label$3,systemSettings:systemSettings$3};var contrastMore$2="More";var contrastDefault$2="Default";var label$2="Contrast";var systemSettings$2="System settings";var localeEn={contrastMore:contrastMore$2,contrastDefault:contrastDefault$2,label:label$2,systemSettings:systemSettings$2};var contrastMore$1="Mayor";var contrastDefault$1="Predeterminado";var label$1="Contraste";var systemSettings$1="Sistema operativo";var localeEs={contrastMore:contrastMore$1,contrastDefault:contrastDefault$1,label:label$1,systemSettings:systemSettings$1};var contrastMore="Maggiore";var contrastDefault="Predefinito";var label="Contrasto";var systemSettings="Sistema operativo";var localeIt={contrastMore:contrastMore,contrastDefault:contrastDefault,label:label,systemSettings:systemSettings};var mdsPrefContrastCss=function(){return"@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),:is(mds-tab,mds-tab-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{display:grid;gap:calc(var(--spacing,.0025rem)*100)}.item{--mds-tab-item-default-color:rgb(var(--tone-neutral-05,197 197 197));flex-basis:0;flex-grow:1}.item--default,.item--more,.item--system{--mds-tab-item-selected-color:rgb(var(--tone-neutral-03,233 233 233))}:host([pref-contrast=more]) .item{--mds-tab-item-default-color:rgb(var(--tone-neutral-01,255 255 255))}@media (prefers-contrast:more){:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))) .item{--mds-tab-item-default-color:rgb(var(--tone-neutral-01,255 255 255))}}"};var MdsPrefContrast=function(){function t(t){var e=this;registerInstance(this,t);this.prefChangeEvent=createEvent(this,"mdsPrefChange");this.localStorageAlias="mdsPrefContrast";this.customPropertyAlias="--magma-pref-contrast";this.defaultMode="system";this.t=new Locale({el:localeEl,en:localeEn,es:localeEs,it:localeIt});this.prefersDefaults={custom:"no-preference",less:"no-preference",more:"more","no-preference":"no-preference"};this.contrast={more:{selector:"pref-contrast-more",label:"contrastMore"},system:{selector:"pref-contrast-system",label:"systemSettings"},"no-preference":{selector:"pref-contrast-no-preference",label:"contrastDefault"}};this.rollbackContrast=function(){if(typeof window==="undefined"){return e.defaultMode}for(var t in e.prefersDefaults){if({}.hasOwnProperty.call(e.prefersDefaults,t)){if(window.matchMedia("(prefers-contrast: ".concat(t,")")).matches){return e.prefersDefaults[t]}}}throw Error("No prefers-contrast value found.")};this.setContrast=function(t){e.prefChangeEvent.emit({preference:"contrast"});e.rollbackContrast();e.mode=t;localStorage.setItem(e.localStorageAlias,e.mode);if(typeof document!=="undefined"){var r=document.querySelector("html");for(var s in e.contrast){if({}.hasOwnProperty.call(e.contrast,s)){r===null||r===void 0?void 0:r.classList.remove(e.contrast[s].selector)}}r===null||r===void 0?void 0:r.classList.add(e.contrast[t].selector);r===null||r===void 0?void 0:r.style.setProperty(e.customPropertyAlias,e.mode)}};this.handleModeClick=function(t){return function(){e.setContrast(t)}}}t.prototype.updateLang=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.language=this.t.lang(this.element);return[2]}))}))};t.prototype.connectedCallback=function(){var t=this;this.unsubscribePrefContrast=subscribePreference("contrast",(function(e){t.prefContrast=e}))};t.prototype.disconnectedCallback=function(){var t;(t=this.unsubscribePrefContrast)===null||t===void 0?void 0:t.call(this)};t.prototype.componentWillRender=function(){var t,e;this.t.lang(this.element);this.setContrast((e=(t=this.mode)!==null&&t!==void 0?t:localStorage.getItem(this.localStorageAlias))!==null&&e!==void 0?e:this.defaultMode)};t.prototype.modeChanged=function(t,e){if(t!==e){this.setContrast(t)}};t.prototype.render=function(){var t;return h(Host,{key:"0a93ee15ba2f2ebd9be25e94248e14cc28ca91d3","pref-contrast":this.prefContrast},h("mds-text",{key:"f7d472739547a6322dd25582f68b76f6161a1342",class:"info",typography:"caption"},h("b",{key:"8daab80636ad73f434613628c0a7dae43cfdf22c"},this.t.get("label"))," ",this.t.get(this.contrast[(t=this.mode)!==null&&t!==void 0?t:this.defaultMode].label)),h("mds-tab",{key:"30ab0bc43e2859dbdd4b8a2098d351870e4d7226",fill:true,size:this.size},h("mds-tab-item",{key:"06ea791e95ecc5719e46397066cf9d21ed5d7082",selected:this.mode==="more",onClick:this.handleModeClick("more"),class:"item item--more",icon:miBaselineContrast}),h("mds-tab-item",{key:"ef8b0906e9a5efc3facf70cd894af8f59991c32d",selected:this.mode==="system",onClick:this.handleModeClick("system"),class:"item item--system",icon:miBaselineSettings}),h("mds-tab-item",{key:"4f1029e6f821f6e5517e1720bb171aeef19896dc",selected:this.mode==="no-preference",onClick:this.handleModeClick("no-preference"),class:"item item--default",icon:this.mode==="no-preference"?miBaselineAutoAwesome:miOutlineAutoAwesome})))};Object.defineProperty(t.prototype,"element",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{mode:[{modeChanged:0}]}},enumerable:false,configurable:true});return t}();MdsPrefContrast.style=mdsPrefContrastCss();export{MdsPrefContrast as mds_pref_contrast};
1
+ import{r as registerInstance,d as createEvent,h,e as Host}from"./index-DIiEV39g.js";import{m as miBaselineSettings}from"./settings-XQgkfNpn.js";import{L as Locale}from"./locale-CbJbTW_c.js";import{p as preferenceStore}from"./preference-CKerJx2M.js";var miBaselineContrast='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M12 22c5.52 0 10-4.48 10-10S17.52 2 12 2S2 6.48 2 12s4.48 10 10 10zm1-17.93c3.94.49 7 3.85 7 7.93s-3.05 7.44-7 7.93V4.07z"/></svg>';var miOutlineAutoAwesome='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M19 9l1.25-2.75L23 5l-2.75-1.25L19 1l-1.25 2.75L15 5l2.75 1.25zm0 6l-1.25 2.75L15 19l2.75 1.25L19 23l1.25-2.75L23 19l-2.75-1.25zm-7.5-5.5L9 4L6.5 9.5L1 12l5.5 2.5L9 20l2.5-5.5L17 12l-5.5-2.5zm-1.51 3.49L9 15.17l-.99-2.18L5.83 12l2.18-.99L9 8.83l.99 2.18l2.18.99l-2.18.99z"/></svg>';var miBaselineAutoAwesome='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M19 9l1.25-2.75L23 5l-2.75-1.25L19 1l-1.25 2.75L15 5l2.75 1.25L19 9zm-7.5.5L9 4L6.5 9.5L1 12l5.5 2.5L9 20l2.5-5.5L17 12l-5.5-2.5zM19 15l-1.25 2.75L15 19l2.75 1.25L19 23l1.25-2.75L23 19l-2.75-1.25L19 15z"/></svg>';var contrastMore$3="Περισσότερο";var contrastDefault$3="Προεπιλογή";var label$3="Αντίθεση";var systemSettings$3="Ρυθμίσεις συστήματος";var localeEl={contrastMore:contrastMore$3,contrastDefault:contrastDefault$3,label:label$3,systemSettings:systemSettings$3};var contrastMore$2="More";var contrastDefault$2="Default";var label$2="Contrast";var systemSettings$2="System settings";var localeEn={contrastMore:contrastMore$2,contrastDefault:contrastDefault$2,label:label$2,systemSettings:systemSettings$2};var contrastMore$1="Mayor";var contrastDefault$1="Predeterminado";var label$1="Contraste";var systemSettings$1="Sistema operativo";var localeEs={contrastMore:contrastMore$1,contrastDefault:contrastDefault$1,label:label$1,systemSettings:systemSettings$1};var contrastMore="Maggiore";var contrastDefault="Predefinito";var label="Contrasto";var systemSettings="Sistema operativo";var localeIt={contrastMore:contrastMore,contrastDefault:contrastDefault,label:label,systemSettings:systemSettings};var mdsPrefContrastCss=function(){return"@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),:is(mds-tab,mds-tab-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{display:grid;gap:calc(var(--spacing,.0025rem)*100)}.item{--mds-tab-item-default-color:rgb(var(--magma-text-disabled,var(--magma-tint-text-disabled,var(--text-neutral-disabled,119 119 119))));flex-basis:0;flex-grow:1}.item--default,.item--more,.item--system{--mds-tab-item-selected-color:rgb(var(--magma-text-muted,var(--magma-tint-text-muted,var(--text-neutral-muted,73 73 73))))}:host([pref-contrast=more]) .item{--mds-tab-item-default-color:rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5))))}@media (prefers-contrast:more){:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))) .item{--mds-tab-item-default-color:rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5))))}}"};var MdsPrefContrast=/** @class */function(){function t(t){var e=this;registerInstance(this,t);this.prefChangeEvent=createEvent(this,"mdsPrefChange",7);this.localStorageAlias="mdsPrefContrast";this.customPropertyAlias="--magma-pref-contrast";this.defaultMode="system";this.t=new Locale({el:localeEl,en:localeEn,es:localeEs,it:localeIt});this.prefersDefaults={custom:"no-preference",less:"no-preference",more:"more","no-preference":"no-preference"};this.contrast={more:{selector:"pref-contrast-more",label:"contrastMore"},system:{selector:"pref-contrast-system",label:"systemSettings"},"no-preference":{selector:"pref-contrast-no-preference",label:"contrastDefault"}};this.rollbackContrast=function(){if(typeof window==="undefined"){return e.defaultMode}for(var t in e.prefersDefaults){if({}.hasOwnProperty.call(e.prefersDefaults,t)){if(window.matchMedia("(prefers-contrast: ".concat(t,")")).matches){return e.prefersDefaults[t]}}}
2
+ // no media query matched: the hydrate/SSR runtime's matchMedia always
3
+ // reports matches:false, and some browsers expose no prefers-contrast
4
+ return e.defaultMode};this.setContrast=function(t){e.prefChangeEvent.emit({preference:"contrast"});e.rollbackContrast();e.mode=t;localStorage.setItem(e.localStorageAlias,e.mode);if(typeof document!=="undefined"){var s=document.querySelector("html");for(var a in e.contrast){if({}.hasOwnProperty.call(e.contrast,a)){s===null||s===void 0?void 0:s.classList.remove(e.contrast[a].selector)}}s===null||s===void 0?void 0:s.classList.add(e.contrast[t].selector);s===null||s===void 0?void 0:s.style.setProperty(e.customPropertyAlias,e.mode)}preferenceStore.state.contrast=t};this.handleModeClick=function(t){return function(){e.setContrast(t)}}}t.prototype.componentWillRender=function(){var t,e;this.setContrast((e=(t=this.mode)!==null&&t!==void 0?t:localStorage.getItem(this.localStorageAlias))!==null&&e!==void 0?e:this.defaultMode)};t.prototype.modeChanged=function(t,e){if(t!==e){this.setContrast(t)}};t.prototype.render=function(){var t;return h(Host,{key:"dfa5f7d0811bb1acc4e0ef9be168c857ab5704af","pref-contrast":preferenceStore.state.contrast},h("mds-text",{key:"4cc4662732f75c2197a7f32f812aa1ff7cb94d5e",class:"info",typography:"caption"},h("b",{key:"ea29991f41f4241aa2f89eabe8a244e9c383cd7d"},this.t.get("label"))," ",this.t.get(this.contrast[(t=this.mode)!==null&&t!==void 0?t:this.defaultMode].label)),h("mds-tab",{key:"e2138c0af0e534a75bd92fe1e11620efa4415957",fill:true,size:this.size},h("mds-tab-item",{key:"5a7c2fb077c0874ac731de09cfb735d70b7bc9bc",selected:this.mode==="more",onClick:this.handleModeClick("more"),class:"item item--more",icon:miBaselineContrast,title:this.t.get(this.contrast.more.label)}),h("mds-tab-item",{key:"8eb4c0663165f538f8f4b5ed535a2d1e27c7df44",selected:this.mode==="system",onClick:this.handleModeClick("system"),class:"item item--system",icon:miBaselineSettings,title:this.t.get(this.contrast.system.label)}),h("mds-tab-item",{key:"feb3300e7e4f21f76bd544c41433056fa28bae54",selected:this.mode==="no-preference",onClick:this.handleModeClick("no-preference"),class:"item item--default",icon:this.mode==="no-preference"?miBaselineAutoAwesome:miOutlineAutoAwesome,title:this.t.get(this.contrast["no-preference"].label)})))};Object.defineProperty(t,"watchers",{get:function(){return{mode:[{modeChanged:0}]}},enumerable:false,configurable:true});return t}();MdsPrefContrast.style=mdsPrefContrastCss();export{MdsPrefContrast as mds_pref_contrast};
@@ -1 +1,13 @@
1
- var __awaiter=this&&this.__awaiter||function(a,r,e,t){function n(a){return a instanceof e?a:new e((function(r){r(a)}))}return new(e||(e=Promise))((function(e,i){function s(a){try{v(t.next(a))}catch(a){i(a)}}function o(a){try{v(t["throw"](a))}catch(a){i(a)}}function v(a){a.done?e(a.value):n(a.value).then(s,o)}v((t=t.apply(a,r||[])).next())}))};var __generator=this&&this.__generator||function(a,r){var e={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},t,n,i,s=Object.create((typeof Iterator==="function"?Iterator:Object).prototype);return s.next=o(0),s["throw"]=o(1),s["return"]=o(2),typeof Symbol==="function"&&(s[Symbol.iterator]=function(){return this}),s;function o(a){return function(r){return v([a,r])}}function v(o){if(t)throw new TypeError("Generator is already executing.");while(s&&(s=0,o[0]&&(e=0)),e)try{if(t=1,n&&(i=o[0]&2?n["return"]:o[0]?n["throw"]||((i=n["return"])&&i.call(n),0):n.next)&&!(i=i.call(n,o[1])).done)return i;if(n=0,i)o=[o[0]&2,i.value];switch(o[0]){case 0:case 1:i=o;break;case 4:e.label++;return{value:o[1],done:false};case 5:e.label++;n=o[1];o=[0];continue;case 7:o=e.ops.pop();e.trys.pop();continue;default:if(!(i=e.trys,i=i.length>0&&i[i.length-1])&&(o[0]===6||o[0]===2)){e=0;continue}if(o[0]===3&&(!i||o[1]>i[0]&&o[1]<i[3])){e.label=o[1];break}if(o[0]===6&&e.label<i[1]){e.label=i[1];i=o;break}if(i&&e.label<i[2]){e.label=i[2];e.ops.push(o);break}if(i[2])e.ops.pop();e.trys.pop();continue}o=r.call(a,e)}catch(a){o=[6,a];n=0}finally{t=i=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:true}}};import{r as registerInstance,c as createEvent,h,H as Host,g as getElement}from"./index-CAd5312P.js";import{L as Locale}from"./locale-a4oAcjYG.js";import{m as miBaselineCheckCircle}from"./check-circle-BFhO-KUe.js";import{m as miOutlineCircle}from"./circle-lZldSMeV.js";var af="Afrikaans";var ar="العربية";var az="Azərbaycanca";var be="Беларуская";var bg="Български";var bn="বাংলা";var bs="Bosanski";var ca="Català";var ceb="Cebuano";var cs="Čeština";var cy="Cymraeg";var da="Dansk";var de="Deutsch";var el="Ελληνικά";var en="English";var eo="Esperanto";var es="Español";var et="Eesti";var eu="Euskara";var fa="فارسی";var fi="Suomi";var fr="Français";var fy="Frysk";var ga="Gaeilge";var gd="Gàidhlig";var gl="Galego";var gu="ગુજરાતી";var ha="Hausa";var haw="ʻŌlelo Hawaiʻi";var he="עברית";var hi="हिन्दी";var hmn="Hmoob";var hr="Hrvatski";var ht="Kreyòl ayisyen";var hu="Magyar";var hy="Հայերեն";var id="Bahasa Indonesia";var ig="Igbo";var is="Íslenska";var it="Italiano";var ja="日本語";var jv="Basa Jawa";var ka="ქართული";var kk="Қазақ тілі";var km="ភាសាខ្មែរ";var kn="ಕನ್ನಡ";var ko="한국어";var ku="Kurdî";var ky="Кыргызча";var la="Latina";var lb="Lëtzebuergesch";var lo="ພາສາລາວ";var lt="Lietuvių";var lv="Latviešu";var mg="Malagasy";var mi="Māori";var mk="Македонски";var ml="മലയാളം";var mn="Монгол";var mr="मराठी";var ms="Bahasa Melayu";var mt="Malti";var my="မြန်မာ";var ne="नेपाली";var nl="Nederlands";var no="Norsk";var ny="Chinyanja";var or="ଓଡ଼ିଆ";var pa="ਪੰਜਾਬੀ";var pl="Polski";var ps="پښتو";var pt="Português";var ro="Română";var ru="Русский";var sd="سنڌي";var si="සිංහල";var sk="Slovenčina";var sl="Slovenščina";var sm="Gagana Sāmoa";var sn="ChiShona";var so="Soomaali";var sq="Shqip";var sr="Српски";var st="Sesotho";var su="Basa Sunda";var sv="Svenska";var sw="Kiswahili";var ta="தமிழ்";var te="తెలుగు";var tg="Тоҷикӣ";var th="ไทย";var tr="Türkçe";var tt="Tatarça";var uk="Українська";var ur="اردو";var uz="Oʻzbek";var vi="Tiếng Việt";var xh="isiXhosa";var yi="ייִדיש";var yo="Yorùbá";var zh="中文";var zu="isiZulu";var localeDefault={af:af,ar:ar,az:az,be:be,bg:bg,bn:bn,bs:bs,ca:ca,ceb:ceb,cs:cs,cy:cy,da:da,de:de,el:el,en:en,eo:eo,es:es,et:et,eu:eu,fa:fa,fi:fi,fr:fr,fy:fy,ga:ga,gd:gd,gl:gl,gu:gu,ha:ha,haw:haw,he:he,hi:hi,hmn:hmn,hr:hr,ht:ht,hu:hu,hy:hy,id:id,ig:ig,is:is,it:it,ja:ja,jv:jv,ka:ka,kk:kk,km:km,kn:kn,ko:ko,ku:ku,ky:ky,la:la,lb:lb,lo:lo,lt:lt,lv:lv,mg:mg,mi:mi,mk:mk,ml:ml,mn:mn,mr:mr,ms:ms,mt:mt,my:my,ne:ne,nl:nl,no:no,ny:ny,or:or,pa:pa,pl:pl,ps:ps,pt:pt,ro:ro,ru:ru,sd:sd,si:si,sk:sk,sl:sl,sm:sm,sn:sn,so:so,sq:sq,sr:sr,st:st,su:su,sv:sv,sw:sw,ta:ta,te:te,tg:tg,th:th,tr:tr,tt:tt,uk:uk,ur:ur,uz:uz,vi:vi,xh:xh,yi:yi,yo:yo,zh:zh,zu:zu};var noCode$1="Nessun code impostato";var localeIt={noCode:noCode$1};var noCode="No code set";var localeEn={noCode:noCode};var mdsPrefLanguageItemCss=function(){return"@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),mds-button:not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{display:block}"};var MdsPrefLanguageItem=function(){function a(a){var r=this;registerInstance(this,a);this.selectLanguageEvent=createEvent(this,"mdsPrefLanguageItemSelect");this.t=new Locale({en:localeEn,it:localeIt});this.selected=false;this.handleClick=function(){r.selectLanguageEvent.emit({language:r.code})}}a.prototype.updateLang=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(a){this.language=this.t.lang(this.element);return[2]}))}))};a.prototype.componentWillRender=function(){if(!localeDefault[this.code]){throw Error("Language code not found: ".concat(this.code))}this.t.lang(this.element)};a.prototype.render=function(){return h(Host,{key:"0f594deea977bb5473b0fe656bd5e3d69fdb4da1",onClick:this.handleClick},this.code!==""?h("mds-button",{icon:this.selected?miBaselineCheckCircle:miOutlineCircle,variant:"dark",tone:"text"},localeDefault[this.code]):h("mds-button",{icon:miBaselineCheckCircle,variant:"error",tone:"text"},this.t.get("noCode")))};Object.defineProperty(a.prototype,"element",{get:function(){return getElement(this)},enumerable:false,configurable:true});return a}();MdsPrefLanguageItem.style=mdsPrefLanguageItemCss();export{MdsPrefLanguageItem as mds_pref_language_item};
1
+ import{r as registerInstance,d as createEvent,h,e as Host}from"./index-DIiEV39g.js";import{L as Locale}from"./locale-CbJbTW_c.js";import{m as miBaselineCheckCircle}from"./check-circle-BFhO-KUe.js";import{m as miOutlineCircle}from"./circle-lZldSMeV.js";import"./preference-CKerJx2M.js";var af="Afrikaans";var ar="العربية";var az="Azərbaycanca";var be="Беларуская";var bg="Български";var bn="বাংলা";var bs="Bosanski";var ca="Català";var ceb="Cebuano";var cs="Čeština";var cy="Cymraeg";var da="Dansk";var de="Deutsch";var el="Ελληνικά";var en="English";var eo="Esperanto";var es="Español";var et="Eesti";var eu="Euskara";var fa="فارسی";var fi="Suomi";var fr="Français";var fy="Frysk";var ga="Gaeilge";var gd="Gàidhlig";var gl="Galego";var gu="ગુજરાતી";var ha="Hausa";var haw="ʻŌlelo Hawaiʻi";var he="עברית";var hi="हिन्दी";var hmn="Hmoob";var hr="Hrvatski";var ht="Kreyòl ayisyen";var hu="Magyar";var hy="Հայերեն";var id="Bahasa Indonesia";var ig="Igbo";var is="Íslenska";var it="Italiano";var ja="日本語";var jv="Basa Jawa";var ka="ქართული";var kk="Қазақ тілі";var km="ភាសាខ្មែរ";var kn="ಕನ್ನಡ";var ko="한국어";var ku="Kurdî";var ky="Кыргызча";var la="Latina";var lb="Lëtzebuergesch";var lo="ພາສາລາວ";var lt="Lietuvių";var lv="Latviešu";var mg="Malagasy";var mi="Māori";var mk="Македонски";var ml="മലയാളം";var mn="Монгол";var mr="मराठी";var ms="Bahasa Melayu";var mt="Malti";var my="မြန်မာ";var ne="नेपाली";var nl="Nederlands";var no="Norsk";var ny="Chinyanja";var or="ଓଡ଼ିଆ";var pa="ਪੰਜਾਬੀ";var pl="Polski";var ps="پښتو";var pt="Português";var ro="Română";var ru="Русский";var sd="سنڌي";var si="සිංහල";var sk="Slovenčina";var sl="Slovenščina";var sm="Gagana Sāmoa";var sn="ChiShona";var so="Soomaali";var sq="Shqip";var sr="Српски";var st="Sesotho";var su="Basa Sunda";var sv="Svenska";var sw="Kiswahili";var ta="தமிழ்";var te="తెలుగు";var tg="Тоҷикӣ";var th="ไทย";var tr="Türkçe";var tt="Tatarça";var uk="Українська";var ur="اردو";var uz="Oʻzbek";var vi="Tiếng Việt";var xh="isiXhosa";var yi="ייִדיש";var yo="Yorùbá";var zh="中文";var zu="isiZulu";var localeDefault={af:af,ar:ar,az:az,be:be,bg:bg,bn:bn,bs:bs,ca:ca,ceb:ceb,cs:cs,cy:cy,da:da,de:de,el:el,en:en,eo:eo,es:es,et:et,eu:eu,fa:fa,fi:fi,fr:fr,fy:fy,ga:ga,gd:gd,gl:gl,gu:gu,ha:ha,haw:haw,he:he,hi:hi,hmn:hmn,hr:hr,ht:ht,hu:hu,hy:hy,id:id,ig:ig,is:is,it:it,ja:ja,jv:jv,ka:ka,kk:kk,km:km,kn:kn,ko:ko,ku:ku,ky:ky,la:la,lb:lb,lo:lo,lt:lt,lv:lv,mg:mg,mi:mi,mk:mk,ml:ml,mn:mn,mr:mr,ms:ms,mt:mt,my:my,ne:ne,nl:nl,no:no,ny:ny,or:or,pa:pa,pl:pl,ps:ps,pt:pt,ro:ro,ru:ru,sd:sd,si:si,sk:sk,sl:sl,sm:sm,sn:sn,so:so,sq:sq,sr:sr,st:st,su:su,sv:sv,sw:sw,ta:ta,te:te,tg:tg,th:th,tr:tr,tt:tt,uk:uk,ur:ur,uz:uz,vi:vi,xh:xh,yi:yi,yo:yo,zh:zh,zu:zu};var noCode$1="Nessun code impostato";var localeIt={noCode:noCode$1};var noCode="No code set";var localeEn={noCode:noCode};var mdsPrefLanguageItemCss=function(){return"@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),mds-button:not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{display:block}"};var MdsPrefLanguageItem=/** @class */function(){function a(a){var r=this;registerInstance(this,a);this.selectLanguageEvent=createEvent(this,"mdsPrefLanguageItemSelect",7);this.t=new Locale({en:localeEn,it:localeIt});
2
+ /**
3
+ * Specifies if the element is selected
4
+ */this.selected=false;
5
+ // `code` is assigned asynchronously by framework wrappers (e.g. @lit/react sets it
6
+ // as a property after the element connects), so it is briefly undefined on the first
7
+ // render pass and the watcher re-validates once it lands. Only a non-empty,
8
+ // unrecognized code is a real error; empty codes fall back to the `noCode` branch
9
+ // already handled in render().
10
+ this.validateCode=function(a){if(a!==undefined&&a!==""&&localeDefault[a]===undefined){throw Error("Language code not found: ".concat(a))}};this.handleClick=function(){r.selectLanguageEvent.emit({language:r.code})}}a.prototype.componentWillLoad=function(){this.validateCode(this.code)};a.prototype.handleCodeChange=function(a){this.validateCode(a)};a.prototype.render=function(){
11
+ // the item is an entry of the `menu` the mds-dropdown of the controller opens:
12
+ // without the role axe rejects it as a child of that menu (aria-required-children)
13
+ return h(Host,{key:"e1f07e0db96bc168d1b9ad9d386be0758cf84efc",onClick:this.handleClick,role:"menuitem"},this.code!==""?h("mds-button",{icon:this.selected?miBaselineCheckCircle:miOutlineCircle,variant:"dark",tone:"text",label:localeDefault[this.code]}):h("mds-button",{icon:miBaselineCheckCircle,variant:"error",tone:"text",label:this.t.get("noCode")}))};Object.defineProperty(a,"watchers",{get:function(){return{code:[{handleCodeChange:0}]}},enumerable:false,configurable:true});return a}();MdsPrefLanguageItem.style=mdsPrefLanguageItemCss();export{MdsPrefLanguageItem as mds_pref_language_item};
@@ -1 +1,15 @@
1
- var __awaiter=this&&this.__awaiter||function(a,r,e,$){function n(a){return a instanceof e?a:new e((function(r){r(a)}))}return new(e||(e=Promise))((function(e,s){function v(a){try{i($.next(a))}catch(a){s(a)}}function t(a){try{i($["throw"](a))}catch(a){s(a)}}function i(a){a.done?e(a.value):n(a.value).then(v,t)}i(($=$.apply(a,r||[])).next())}))};var __generator=this&&this.__generator||function(a,r){var e={label:0,sent:function(){if(s[0]&1)throw s[1];return s[1]},trys:[],ops:[]},$,n,s,v=Object.create((typeof Iterator==="function"?Iterator:Object).prototype);return v.next=t(0),v["throw"]=t(1),v["return"]=t(2),typeof Symbol==="function"&&(v[Symbol.iterator]=function(){return this}),v;function t(a){return function(r){return i([a,r])}}function i(t){if($)throw new TypeError("Generator is already executing.");while(v&&(v=0,t[0]&&(e=0)),e)try{if($=1,n&&(s=t[0]&2?n["return"]:t[0]?n["throw"]||((s=n["return"])&&s.call(n),0):n.next)&&!(s=s.call(n,t[1])).done)return s;if(n=0,s)t=[t[0]&2,s.value];switch(t[0]){case 0:case 1:s=t;break;case 4:e.label++;return{value:t[1],done:false};case 5:e.label++;n=t[1];t=[0];continue;case 7:t=e.ops.pop();e.trys.pop();continue;default:if(!(s=e.trys,s=s.length>0&&s[s.length-1])&&(t[0]===6||t[0]===2)){e=0;continue}if(t[0]===3&&(!s||t[1]>s[0]&&t[1]<s[3])){e.label=t[1];break}if(t[0]===6&&e.label<s[1]){e.label=s[1];s=t;break}if(s&&e.label<s[2]){e.label=s[2];e.ops.push(t);break}if(s[2])e.ops.pop();e.trys.pop();continue}t=r.call(a,e)}catch(a){t=[6,a];n=0}finally{$=s=0}if(t[0]&5)throw t[1];return{value:t[0]?t[1]:void 0,done:true}}};import{r as registerInstance,c as createEvent,h,H as Host,g as getElement}from"./index-CAd5312P.js";import{L as Locale}from"./locale-a4oAcjYG.js";import{m as miBaselineKeyboardArrowDown}from"./keyboard-arrow-down-DiWN48aq.js";import{m as miBaselineKeyboardArrowUp}from"./keyboard-arrow-up-Ccz0jCNB.js";var auto$3="Αυτόματο";var label$3="Γλώσσα";var af$3="Αφρικάανς";var ar$3="Αραβικά";var az$3="Αζερμπαϊτζανικά";var be$3="Λευκορωσικά";var bg$3="Βουλγαρικά";var bn$3="Μπενγκάλι";var bs$3="Βοσνιακά";var ca$3="Καταλανικά";var ceb$3="Σεμπουάνο";var cs$3="Τσεχικά";var cy$3="Ουαλικά";var da$3="Δανικά";var de$3="Γερμανικά";var el$3="Ελληνικά";var en$3="Αγγλικά";var eo$3="Εσπεράντο";var es$3="Ισπανικά";var et$3="Εσθονικά";var eu$3="Βασκικά";var fa$3="Περσικά";var fi$3="Φινλανδικά";var fr$3="Γαλλικά";var fy$3="Φριζικά";var ga$3="Ιρλανδικά";var gd$3="Σκωτικά Κέλτικα";var gl$3="Γαλικιανά";var gu$3="Γκουτζαράτι";var ha$3="Χάουσα";var haw$3="Χαβαϊκά";var he$3="Εβραϊκά";var hi$3="Χίντι";var hmn$3="Χμονγκ";var hr$3="Κροατικά";var ht$3="Κρεολικά Αϊτής";var hu$3="Ουγγρικά";var hy$3="Αρμενικά";var id$3="Ινδονησιακά";var ig$3="Ίγκμπο";var is$3="Ισλανδικά";var it$3="Ιταλικά";var ja$3="Ιαπωνικά";var jv$3="Ιαβανικά";var ka$3="Γεωργιανά";var kk$3="Καζακικά";var km$3="Χμερ";var kn$3="Κανάντα";var ko$3="Κορεατικά";var ku$3="Κουρδικά";var ky$3="Κιργιζικά";var la$3="Λατινικά";var lb$3="Λουξεμβουργιανά";var lo$3="Λάο";var lt$3="Λιθουανικά";var lv$3="Λετονικά";var mg$3="Μαλαγάσι";var mi$3="Μαορί";var mk$3="Μακεδονικά";var ml$3="Μαλαγιαλαμικά";var mn$3="Μογγολικά";var mr$3="Μαράθι";var ms$3="Μαλαϊκά";var mt$3="Μαλτέζικα";var my$3="Βιρμανικά";var ne$3="Νεπαλικά";var nl$3="Ολλανδικά";var no$3="Νορβηγικά";var ny$3="Τσιτσέουα";var or$3="Ορίγια";var pa$3="Παντζαπικά";var pl$3="Πολωνικά";var ps$3="Πάστο";var pt$3="Πορτογαλικά";var ro$3="Ρουμανικά";var ru$3="Ρωσικά";var sd$3="Σιντ";var si$3="Σινχαλέζικα";var sk$3="Σλοβακικά";var sl$3="Σλοβενικά";var sm$3="Σαμοανά";var sn$3="Σόνα";var so$3="Σομαλικά";var sq$3="Αλβανικά";var sr$3="Σερβικά";var st$3="Σόθο";var su$3="Σουνδανικά";var sv$3="Σουηδικά";var sw$3="Σουαχίλι";var ta$3="Ταμίλ";var te$3="Τελούγκου";var tg$3="Τατζικικά";var th$3="Ταϊλανδικά";var tr$3="Τουρκικά";var tt$3="Ταταρικά";var uk$3="Ουκρανικά";var ur$3="Ουρντού";var uz$3="Ουζμπεκικά";var vi$3="Βιετναμέζικα";var xh$3="Ξόσα";var yi$3="Γίντις";var yo$3="Γιορούμπα";var zh$3="Κινέζικα";var zu$3="Ζουλού";var defaultLanguage$3="Εάν η μετάφραση δεν είναι διαθέσιμη, θα χρησιμοποιηθούν τα Αγγλικά";var localeEl={auto:auto$3,label:label$3,af:af$3,ar:ar$3,az:az$3,be:be$3,bg:bg$3,bn:bn$3,bs:bs$3,ca:ca$3,ceb:ceb$3,cs:cs$3,cy:cy$3,da:da$3,de:de$3,el:el$3,en:en$3,eo:eo$3,es:es$3,et:et$3,eu:eu$3,fa:fa$3,fi:fi$3,fr:fr$3,fy:fy$3,ga:ga$3,gd:gd$3,gl:gl$3,gu:gu$3,ha:ha$3,haw:haw$3,he:he$3,hi:hi$3,hmn:hmn$3,hr:hr$3,ht:ht$3,hu:hu$3,hy:hy$3,id:id$3,ig:ig$3,is:is$3,it:it$3,ja:ja$3,jv:jv$3,ka:ka$3,kk:kk$3,km:km$3,kn:kn$3,ko:ko$3,ku:ku$3,ky:ky$3,la:la$3,lb:lb$3,lo:lo$3,lt:lt$3,lv:lv$3,mg:mg$3,mi:mi$3,mk:mk$3,ml:ml$3,mn:mn$3,mr:mr$3,ms:ms$3,mt:mt$3,my:my$3,ne:ne$3,nl:nl$3,no:no$3,ny:ny$3,or:or$3,pa:pa$3,pl:pl$3,ps:ps$3,pt:pt$3,ro:ro$3,ru:ru$3,sd:sd$3,si:si$3,sk:sk$3,sl:sl$3,sm:sm$3,sn:sn$3,so:so$3,sq:sq$3,sr:sr$3,st:st$3,su:su$3,sv:sv$3,sw:sw$3,ta:ta$3,te:te$3,tg:tg$3,th:th$3,tr:tr$3,tt:tt$3,uk:uk$3,ur:ur$3,uz:uz$3,vi:vi$3,xh:xh$3,yi:yi$3,yo:yo$3,zh:zh$3,zu:zu$3,defaultLanguage:defaultLanguage$3};var auto$2="Automatic";var label$2="Language";var af$2="Afrikaans";var ar$2="Arabic";var az$2="Azerbaijani";var be$2="Belarusian";var bg$2="Bulgarian";var bn$2="Bengali";var bs$2="Bosnian";var ca$2="Catalan";var ceb$2="Cebuano";var cs$2="Czech";var cy$2="Welsh";var da$2="Danish";var de$2="German";var el$2="Greek";var en$2="English";var eo$2="Esperanto";var es$2="Spanish";var et$2="Estonian";var eu$2="Basque";var fa$2="Persian";var fi$2="Finnish";var fr$2="French";var fy$2="Frisian";var ga$2="Irish";var gd$2="Scottish Gaelic";var gl$2="Galician";var gu$2="Gujarati";var ha$2="Hausa";var haw$2="Hawaiian";var he$2="Hebrew";var hi$2="Hindi";var hmn$2="Hmong";var hr$2="Croatian";var ht$2="Haitian Creole";var hu$2="Hungarian";var hy$2="Armenian";var id$2="Indonesian";var ig$2="Igbo";var is$2="Icelandic";var it$2="Italian";var ja$2="Japanese";var jv$2="Javanese";var ka$2="Georgian";var kk$2="Kazakh";var km$2="Khmer";var kn$2="Kannada";var ko$2="Korean";var ku$2="Kurdish";var ky$2="Kyrgyz";var la$2="Latin";var lb$2="Luxembourgish";var lo$2="Lao";var lt$2="Lithuanian";var lv$2="Latvian";var mg$2="Malagasy";var mi$2="Maori";var mk$2="Macedonian";var ml$2="Malayalam";var mn$2="Mongolian";var mr$2="Marathi";var ms$2="Malay";var mt$2="Maltese";var my$2="Burmese";var ne$2="Nepali";var nl$2="Dutch";var no$2="Norwegian";var ny$2="Chichewa";var or$2="Odia";var pa$2="Punjabi";var pl$2="Polish";var ps$2="Pashto";var pt$2="Portuguese";var ro$2="Romanian";var ru$2="Russian";var sd$2="Sindhi";var si$2="Sinhala";var sk$2="Slovak";var sl$2="Slovenian";var sm$2="Samoan";var sn$2="Shona";var so$2="Somali";var sq$2="Albanian";var sr$2="Serbian";var st$2="Sesotho";var su$2="Sundanese";var sv$2="Swedish";var sw$2="Swahili";var ta$2="Tamil";var te$2="Telugu";var tg$2="Tajik";var th$2="Thai";var tr$2="Turkish";var tt$2="Tatar";var uk$2="Ukrainian";var ur$2="Urdu";var uz$2="Uzbek";var vi$2="Vietnamese";var xh$2="Xhosa";var yi$2="Yiddish";var yo$2="Yoruba";var zh$2="Chinese";var zu$2="Zulu";var defaultLanguage$2="If the translation is not available, English will be used";var localeEn={auto:auto$2,label:label$2,af:af$2,ar:ar$2,az:az$2,be:be$2,bg:bg$2,bn:bn$2,bs:bs$2,ca:ca$2,ceb:ceb$2,cs:cs$2,cy:cy$2,da:da$2,de:de$2,el:el$2,en:en$2,eo:eo$2,es:es$2,et:et$2,eu:eu$2,fa:fa$2,fi:fi$2,fr:fr$2,fy:fy$2,ga:ga$2,gd:gd$2,gl:gl$2,gu:gu$2,ha:ha$2,haw:haw$2,he:he$2,hi:hi$2,hmn:hmn$2,hr:hr$2,ht:ht$2,hu:hu$2,hy:hy$2,id:id$2,ig:ig$2,is:is$2,it:it$2,ja:ja$2,jv:jv$2,ka:ka$2,kk:kk$2,km:km$2,kn:kn$2,ko:ko$2,ku:ku$2,ky:ky$2,la:la$2,lb:lb$2,lo:lo$2,lt:lt$2,lv:lv$2,mg:mg$2,mi:mi$2,mk:mk$2,ml:ml$2,mn:mn$2,mr:mr$2,ms:ms$2,mt:mt$2,my:my$2,ne:ne$2,nl:nl$2,no:no$2,ny:ny$2,or:or$2,pa:pa$2,pl:pl$2,ps:ps$2,pt:pt$2,ro:ro$2,ru:ru$2,sd:sd$2,si:si$2,sk:sk$2,sl:sl$2,sm:sm$2,sn:sn$2,so:so$2,sq:sq$2,sr:sr$2,st:st$2,su:su$2,sv:sv$2,sw:sw$2,ta:ta$2,te:te$2,tg:tg$2,th:th$2,tr:tr$2,tt:tt$2,uk:uk$2,ur:ur$2,uz:uz$2,vi:vi$2,xh:xh$2,yi:yi$2,yo:yo$2,zh:zh$2,zu:zu$2,defaultLanguage:defaultLanguage$2};var auto$1="Automático";var label$1="Idioma";var af$1="Afrikáans";var ar$1="Árabe";var az$1="Azerbaiyano";var be$1="Bielorruso";var bg$1="Búlgaro";var bn$1="Bengalí";var bs$1="Bosnio";var ca$1="Catalán";var ceb$1="Cebuano";var cs$1="Checo";var cy$1="Galés";var da$1="Danés";var de$1="Alemán";var el$1="Griego";var en$1="Inglés";var eo$1="Esperanto";var es$1="Español";var et$1="Estonio";var eu$1="Vasco";var fa$1="Persa";var fi$1="Finlandés";var fr$1="Francés";var fy$1="Frisón";var ga$1="Irlandés";var gd$1="Gaélico escocés";var gl$1="Gallego";var gu$1="Gujarati";var ha$1="Hausa";var haw$1="Hawaiano";var he$1="Hebreo";var hi$1="Hindi";var hmn$1="Hmong";var hr$1="Croata";var ht$1="Criollo haitiano";var hu$1="Húngaro";var hy$1="Armenio";var id$1="Indonesio";var ig$1="Igbo";var is$1="Islandés";var it$1="Italiano";var ja$1="Japonés";var jv$1="Javanés";var ka$1="Georgiano";var kk$1="Kazajo";var km$1="Jemer";var kn$1="Canarés";var ko$1="Coreano";var ku$1="Kurdo";var ky$1="Kirguís";var la$1="Latín";var lb$1="Luxemburgués";var lo$1="Lao";var lt$1="Lituano";var lv$1="Letón";var mg$1="Malgache";var mi$1="Maorí";var mk$1="Macedonio";var ml$1="Malayalam";var mn$1="Mongol";var mr$1="Maratí";var ms$1="Malayo";var mt$1="Maltés";var my$1="Birmano";var ne$1="Nepalí";var nl$1="Holandés";var no$1="Noruego";var ny$1="Chichewa";var or$1="Oriya";var pa$1="Panyabí";var pl$1="Polaco";var ps$1="Pastún";var pt$1="Portugués";var ro$1="Rumano";var ru$1="Ruso";var sd$1="Sindhi";var si$1="Cingalés";var sk$1="Eslovaco";var sl$1="Esloveno";var sm$1="Samoano";var sn$1="Shona";var so$1="Somalí";var sq$1="Albanés";var sr$1="Serbio";var st$1="Sesotho";var su$1="Sundanés";var sv$1="Sueco";var sw$1="Suajili";var ta$1="Tamil";var te$1="Telugu";var tg$1="Tayiko";var th$1="Tailandés";var tr$1="Turco";var tt$1="Tártaro";var uk$1="Ucraniano";var ur$1="Urdu";var uz$1="Uzbeko";var vi$1="Vietnamita";var xh$1="Xhosa";var yi$1="Yidis";var yo$1="Yoruba";var zh$1="Chino";var zu$1="Zulú";var defaultLanguage$1="Si la traducción no está disponible, se utilizará el inglés";var localeEs={auto:auto$1,label:label$1,af:af$1,ar:ar$1,az:az$1,be:be$1,bg:bg$1,bn:bn$1,bs:bs$1,ca:ca$1,ceb:ceb$1,cs:cs$1,cy:cy$1,da:da$1,de:de$1,el:el$1,en:en$1,eo:eo$1,es:es$1,et:et$1,eu:eu$1,fa:fa$1,fi:fi$1,fr:fr$1,fy:fy$1,ga:ga$1,gd:gd$1,gl:gl$1,gu:gu$1,ha:ha$1,haw:haw$1,he:he$1,hi:hi$1,hmn:hmn$1,hr:hr$1,ht:ht$1,hu:hu$1,hy:hy$1,id:id$1,ig:ig$1,is:is$1,it:it$1,ja:ja$1,jv:jv$1,ka:ka$1,kk:kk$1,km:km$1,kn:kn$1,ko:ko$1,ku:ku$1,ky:ky$1,la:la$1,lb:lb$1,lo:lo$1,lt:lt$1,lv:lv$1,mg:mg$1,mi:mi$1,mk:mk$1,ml:ml$1,mn:mn$1,mr:mr$1,ms:ms$1,mt:mt$1,my:my$1,ne:ne$1,nl:nl$1,no:no$1,ny:ny$1,or:or$1,pa:pa$1,pl:pl$1,ps:ps$1,pt:pt$1,ro:ro$1,ru:ru$1,sd:sd$1,si:si$1,sk:sk$1,sl:sl$1,sm:sm$1,sn:sn$1,so:so$1,sq:sq$1,sr:sr$1,st:st$1,su:su$1,sv:sv$1,sw:sw$1,ta:ta$1,te:te$1,tg:tg$1,th:th$1,tr:tr$1,tt:tt$1,uk:uk$1,ur:ur$1,uz:uz$1,vi:vi$1,xh:xh$1,yi:yi$1,yo:yo$1,zh:zh$1,zu:zu$1,defaultLanguage:defaultLanguage$1};var auto="Automatico";var label="Lingua";var af="Afrikaans";var ar="Arabo";var az="Azero";var be="Bielorusso";var bg="Bulgaro";var bn="Bengalese";var bs="Bosniaco";var ca="Catalano";var ceb="Cebuano";var cs="Ceco";var cy="Gallese";var da="Danese";var de="Tedesco";var el="Greco";var en="Inglese";var eo="Esperanto";var es="Spagnolo";var et="Estone";var eu="Basco";var fa="Persiano";var fi="Finlandese";var fr="Francese";var fy="Frisone";var ga="Irlandese";var gd="Gaelico scozzese";var gl="Galiziano";var gu="Gujarati";var ha="Hausa";var haw="Hawaiano";var he="Ebraico";var hi="Hindi";var hmn="Hmong";var hr="Croato";var ht="Creolo haitiano";var hu="Ungherese";var hy="Armeno";var id="Indonesiano";var ig="Igbo";var is="Islandese";var it="Italiano";var ja="Giapponese";var jv="Giavanese";var ka="Georgiano";var kk="Kazako";var km="Khmer";var kn="Kannada";var ko="Coreano";var ku="Curdo";var ky="Kirghiso";var la="Latino";var lb="Lussemburghese";var lo="Lao";var lt="Lituano";var lv="Lettone";var mg="Malgascio";var mi="Maori";var mk="Macedone";var ml="Malayalam";var mn="Mongolo";var mr="Marathi";var ms="Malese";var mt="Maltese";var my="Birmano";var ne="Nepalese";var nl="Olandese";var no="Norvegese";var ny="Chichewa";var or="Oriya";var pa="Punjabi";var pl="Polacco";var ps="Pashtu";var pt="Portoghese";var ro="Rumeno";var ru="Russo";var sd="Sindhi";var si="Singalese";var sk="Slovacco";var sl="Sloveno";var sm="Samoano";var sn="Shona";var so="Somalo";var sq="Albanese";var sr="Serbo";var st="Sesotho";var su="Sundanese";var sv="Svedese";var sw="Swahili";var ta="Tamil";var te="Telugu";var tg="Tagico";var th="Thai";var tr="Turco";var tt="Tataro";var uk="Ucraino";var ur="Urdu";var uz="Uzbeko";var vi="Vietnamita";var xh="Xhosa";var yi="Yiddish";var yo="Yoruba";var zh="Cinese";var zu="Zulu";var defaultLanguage="Se la traduzione non è disponibile, verrà utilizzato l'Inglese";var localeIt={auto:auto,label:label,af:af,ar:ar,az:az,be:be,bg:bg,bn:bn,bs:bs,ca:ca,ceb:ceb,cs:cs,cy:cy,da:da,de:de,el:el,en:en,eo:eo,es:es,et:et,eu:eu,fa:fa,fi:fi,fr:fr,fy:fy,ga:ga,gd:gd,gl:gl,gu:gu,ha:ha,haw:haw,he:he,hi:hi,hmn:hmn,hr:hr,ht:ht,hu:hu,hy:hy,id:id,ig:ig,is:is,it:it,ja:ja,jv:jv,ka:ka,kk:kk,km:km,kn:kn,ko:ko,ku:ku,ky:ky,la:la,lb:lb,lo:lo,lt:lt,lv:lv,mg:mg,mi:mi,mk:mk,ml:ml,mn:mn,mr:mr,ms:ms,mt:mt,my:my,ne:ne,nl:nl,no:no,ny:ny,or:or,pa:pa,pl:pl,ps:ps,pt:pt,ro:ro,ru:ru,sd:sd,si:si,sk:sk,sl:sl,sm:sm,sn:sn,so:so,sq:sq,sr:sr,st:st,su:su,sv:sv,sw:sw,ta:ta,te:te,tg:tg,th:th,tr:tr,tt:tt,uk:uk,ur:ur,uz:uz,vi:vi,xh:xh,yi:yi,yo:yo,zh:zh,zu:zu,defaultLanguage:defaultLanguage};var mdsPrefLanguageCss=function(){return"@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),:is(mds-dropdown,mds-tab,mds-tab-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}mds-pref-language{display:grid;gap:calc(var(--spacing,.0025rem)*400)}.mds-pref-language-dropdown{gap:calc(var(--spacing,.0025rem)*100);padding:calc(var(--spacing,.0025rem)*400)}.item{--mds-tab-item-default-color:rgb(var(--tone-neutral-05,197 197 197));flex-basis:0;flex-grow:1}.item--custom-language{cursor:pointer}.item--auto,.item--custom-language{--mds-tab-item-selected-color:rgb(var(--tone-neutral-03,233 233 233))}"};var MdsPrefLanguage=function(){function a(a){var r=this;registerInstance(this,a);this.languageChangeEvent=createEvent(this,"mdsPrefLanguageChange");this.prefChangeEvent=createEvent(this,"mdsPrefChange");this.showDropdown=false;this.localStorageAlias="mdsPrefLanguage";this.defaultLanguage="en";this.t=new Locale({el:localeEl,en:localeEn,es:localeEs,it:localeIt});this.set="auto";this.toggleDropdown=function(){r.showDropdown=!r.showDropdown};this.hideLanguageSelectDropdown=function(){r.showDropdown=false};this.changeLanguageSelectItem=function(){r.elPreferLanguageItems.forEach((function(a){a.selected=false}))};this.checkLanguageSelect=function(){r.elPreferLanguageItems=r.element.querySelectorAll("mds-pref-language-item");r.elPreferLanguageItems.forEach((function(a){a.addEventListener("mdsPrefLanguageItemSelect",(function(a){r.changeLanguageSelectItem();r.currentSelectedItem=a.currentTarget;r.currentSelectedItem.selected=true;r.languageChangeEvent.emit({language:r.currentSelectedItem.code});r.showDropdown=false;r.setLanguage(a.detail.language);r.t.update(document)}))}));r.elPreferLanguageItems.forEach((function(a){a.selected=a.code===r.set}))};this.sanitizeLanguage=function(a){if(a.includes("-")){return a.split("-")[0].toLowerCase()}return a};this.setLanguage=function(a){var e,$;if(!/(auto)|^[a-z]{2}(-[A-Z]{2})?$/gm.exec(a)){throw Error("Language code set not reconized: ".concat(a))}r.set=a==="auto"?($=(e=r.userLanguage)!==null&&e!==void 0?e:r.pageLanguage)!==null&&$!==void 0?$:r.systemLanguage:r.sanitizeLanguage(a);r.prefChangeEvent.emit({preference:"language"});localStorage.setItem(r.localStorageAlias,r.set);if(typeof document!=="undefined"){var n=document.querySelector("html");n===null||n===void 0?void 0:n.setAttribute("lang",r.set)}}}a.prototype.updateLang=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(a){this.language=this.t.lang(this.element);return[2]}))}))};a.prototype.componentDidLoad=function(){this.checkLanguageSelect()};a.prototype.componentWillRender=function(){var a,r;this.systemLanguage=this.sanitizeLanguage(navigator.language);this.userLanguage=localStorage.getItem(this.localStorageAlias);this.pageLanguage=(r=(a=document.querySelector("html"))===null||a===void 0?void 0:a.getAttribute("lang"))!==null&&r!==void 0?r:null;this.setLanguage(this.set);this.t.lang(this.element)};a.prototype.render=function(){var a;return h(Host,{key:"478109efd35a0a896d1783008a16e9275733936d"},h("div",{key:"355b3d289bf281ed132e3bc900a434b4475c6bea",class:"menu"},h("mds-text",{key:"cd8902f3b078732a05c5763479ec947d412bce94",class:"info",typography:"caption"},h("b",{key:"e6298e5c502a2aa177e4669cecab22c8056e87eb"},this.t.get("label"))),h("mds-tab",{key:"f8456b33ec4d07a474994da5d08a333afd5a641f",fill:true,size:this.size},h("mds-tab-item",{key:"fcc54b949621389e4e175dcfe297a0d137b28788",selected:true,onClick:this.toggleDropdown,id:"mds-pref-language-nav",class:"item item--custom-language","icon-position":"right",icon:this.showDropdown?miBaselineKeyboardArrowUp:miBaselineKeyboardArrowDown},this.t.get((a=this.set)!==null&&a!==void 0?a:"auto")))),h("mds-dropdown",{key:"5746fdd9a751a9c71c011aaff73bb3aff6b648f3",class:"mds-pref-language-dropdown",target:"#mds-pref-language-nav",interaction:"none",visible:this.showDropdown,onMdsDropdownHide:this.hideLanguageSelectDropdown},h("slot",{key:"f2a7cc484c3295aa6abd463fb365f8e4a099d130"})),this.set!==this.defaultLanguage&&h("mds-text",{key:"41ebb2d247ce5054ceb807d75539301efb33596c",typography:"caption"},this.t.get("defaultLanguage")))};Object.defineProperty(a.prototype,"element",{get:function(){return getElement(this)},enumerable:false,configurable:true});return a}();MdsPrefLanguage.style=mdsPrefLanguageCss();export{MdsPrefLanguage as mds_pref_language};
1
+ import{r as registerInstance,d as createEvent,h,e as Host,g as getElement}from"./index-DIiEV39g.js";import{L as Locale}from"./locale-CbJbTW_c.js";import{p as preferenceStore}from"./preference-CKerJx2M.js";import{m as miBaselineKeyboardArrowDown}from"./keyboard-arrow-down-DiWN48aq.js";import{m as miBaselineKeyboardArrowUp}from"./keyboard-arrow-up-Ccz0jCNB.js";var auto$3="Αυτόματο";var label$3="Γλώσσα";var af$3="Αφρικάανς";var ar$3="Αραβικά";var az$3="Αζερμπαϊτζανικά";var be$3="Λευκορωσικά";var bg$3="Βουλγαρικά";var bn$3="Μπενγκάλι";var bs$3="Βοσνιακά";var ca$3="Καταλανικά";var ceb$3="Σεμπουάνο";var cs$3="Τσεχικά";var cy$3="Ουαλικά";var da$3="Δανικά";var de$3="Γερμανικά";var el$3="Ελληνικά";var en$3="Αγγλικά";var eo$3="Εσπεράντο";var es$3="Ισπανικά";var et$3="Εσθονικά";var eu$3="Βασκικά";var fa$3="Περσικά";var fi$3="Φινλανδικά";var fr$3="Γαλλικά";var fy$3="Φριζικά";var ga$3="Ιρλανδικά";var gd$3="Σκωτικά Κέλτικα";var gl$3="Γαλικιανά";var gu$3="Γκουτζαράτι";var ha$3="Χάουσα";var haw$3="Χαβαϊκά";var he$3="Εβραϊκά";var hi$3="Χίντι";var hmn$3="Χμονγκ";var hr$3="Κροατικά";var ht$3="Κρεολικά Αϊτής";var hu$3="Ουγγρικά";var hy$3="Αρμενικά";var id$3="Ινδονησιακά";var ig$3="Ίγκμπο";var is$3="Ισλανδικά";var it$3="Ιταλικά";var ja$3="Ιαπωνικά";var jv$3="Ιαβανικά";var ka$3="Γεωργιανά";var kk$3="Καζακικά";var km$3="Χμερ";var kn$3="Κανάντα";var ko$3="Κορεατικά";var ku$3="Κουρδικά";var ky$3="Κιργιζικά";var la$3="Λατινικά";var lb$3="Λουξεμβουργιανά";var lo$3="Λάο";var lt$3="Λιθουανικά";var lv$3="Λετονικά";var mg$3="Μαλαγάσι";var mi$3="Μαορί";var mk$3="Μακεδονικά";var ml$3="Μαλαγιαλαμικά";var mn$3="Μογγολικά";var mr$3="Μαράθι";var ms$3="Μαλαϊκά";var mt$3="Μαλτέζικα";var my$3="Βιρμανικά";var ne$3="Νεπαλικά";var nl$3="Ολλανδικά";var no$3="Νορβηγικά";var ny$3="Τσιτσέουα";var or$3="Ορίγια";var pa$3="Παντζαπικά";var pl$3="Πολωνικά";var ps$3="Πάστο";var pt$3="Πορτογαλικά";var ro$3="Ρουμανικά";var ru$3="Ρωσικά";var sd$3="Σιντ";var si$3="Σινχαλέζικα";var sk$3="Σλοβακικά";var sl$3="Σλοβενικά";var sm$3="Σαμοανά";var sn$3="Σόνα";var so$3="Σομαλικά";var sq$3="Αλβανικά";var sr$3="Σερβικά";var st$3="Σόθο";var su$3="Σουνδανικά";var sv$3="Σουηδικά";var sw$3="Σουαχίλι";var ta$3="Ταμίλ";var te$3="Τελούγκου";var tg$3="Τατζικικά";var th$3="Ταϊλανδικά";var tr$3="Τουρκικά";var tt$3="Ταταρικά";var uk$3="Ουκρανικά";var ur$3="Ουρντού";var uz$3="Ουζμπεκικά";var vi$3="Βιετναμέζικα";var xh$3="Ξόσα";var yi$3="Γίντις";var yo$3="Γιορούμπα";var zh$3="Κινέζικα";var zu$3="Ζουλού";var defaultLanguage$3="Εάν η μετάφραση δεν είναι διαθέσιμη, θα χρησιμοποιηθούν τα Αγγλικά";var localeEl={auto:auto$3,label:label$3,af:af$3,ar:ar$3,az:az$3,be:be$3,bg:bg$3,bn:bn$3,bs:bs$3,ca:ca$3,ceb:ceb$3,cs:cs$3,cy:cy$3,da:da$3,de:de$3,el:el$3,en:en$3,eo:eo$3,es:es$3,et:et$3,eu:eu$3,fa:fa$3,fi:fi$3,fr:fr$3,fy:fy$3,ga:ga$3,gd:gd$3,gl:gl$3,gu:gu$3,ha:ha$3,haw:haw$3,he:he$3,hi:hi$3,hmn:hmn$3,hr:hr$3,ht:ht$3,hu:hu$3,hy:hy$3,id:id$3,ig:ig$3,is:is$3,it:it$3,ja:ja$3,jv:jv$3,ka:ka$3,kk:kk$3,km:km$3,kn:kn$3,ko:ko$3,ku:ku$3,ky:ky$3,la:la$3,lb:lb$3,lo:lo$3,lt:lt$3,lv:lv$3,mg:mg$3,mi:mi$3,mk:mk$3,ml:ml$3,mn:mn$3,mr:mr$3,ms:ms$3,mt:mt$3,my:my$3,ne:ne$3,nl:nl$3,no:no$3,ny:ny$3,or:or$3,pa:pa$3,pl:pl$3,ps:ps$3,pt:pt$3,ro:ro$3,ru:ru$3,sd:sd$3,si:si$3,sk:sk$3,sl:sl$3,sm:sm$3,sn:sn$3,so:so$3,sq:sq$3,sr:sr$3,st:st$3,su:su$3,sv:sv$3,sw:sw$3,ta:ta$3,te:te$3,tg:tg$3,th:th$3,tr:tr$3,tt:tt$3,uk:uk$3,ur:ur$3,uz:uz$3,vi:vi$3,xh:xh$3,yi:yi$3,yo:yo$3,zh:zh$3,zu:zu$3,defaultLanguage:defaultLanguage$3};var auto$2="Automatic";var label$2="Language";var af$2="Afrikaans";var ar$2="Arabic";var az$2="Azerbaijani";var be$2="Belarusian";var bg$2="Bulgarian";var bn$2="Bengali";var bs$2="Bosnian";var ca$2="Catalan";var ceb$2="Cebuano";var cs$2="Czech";var cy$2="Welsh";var da$2="Danish";var de$2="German";var el$2="Greek";var en$2="English";var eo$2="Esperanto";var es$2="Spanish";var et$2="Estonian";var eu$2="Basque";var fa$2="Persian";var fi$2="Finnish";var fr$2="French";var fy$2="Frisian";var ga$2="Irish";var gd$2="Scottish Gaelic";var gl$2="Galician";var gu$2="Gujarati";var ha$2="Hausa";var haw$2="Hawaiian";var he$2="Hebrew";var hi$2="Hindi";var hmn$2="Hmong";var hr$2="Croatian";var ht$2="Haitian Creole";var hu$2="Hungarian";var hy$2="Armenian";var id$2="Indonesian";var ig$2="Igbo";var is$2="Icelandic";var it$2="Italian";var ja$2="Japanese";var jv$2="Javanese";var ka$2="Georgian";var kk$2="Kazakh";var km$2="Khmer";var kn$2="Kannada";var ko$2="Korean";var ku$2="Kurdish";var ky$2="Kyrgyz";var la$2="Latin";var lb$2="Luxembourgish";var lo$2="Lao";var lt$2="Lithuanian";var lv$2="Latvian";var mg$2="Malagasy";var mi$2="Maori";var mk$2="Macedonian";var ml$2="Malayalam";var mn$2="Mongolian";var mr$2="Marathi";var ms$2="Malay";var mt$2="Maltese";var my$2="Burmese";var ne$2="Nepali";var nl$2="Dutch";var no$2="Norwegian";var ny$2="Chichewa";var or$2="Odia";var pa$2="Punjabi";var pl$2="Polish";var ps$2="Pashto";var pt$2="Portuguese";var ro$2="Romanian";var ru$2="Russian";var sd$2="Sindhi";var si$2="Sinhala";var sk$2="Slovak";var sl$2="Slovenian";var sm$2="Samoan";var sn$2="Shona";var so$2="Somali";var sq$2="Albanian";var sr$2="Serbian";var st$2="Sesotho";var su$2="Sundanese";var sv$2="Swedish";var sw$2="Swahili";var ta$2="Tamil";var te$2="Telugu";var tg$2="Tajik";var th$2="Thai";var tr$2="Turkish";var tt$2="Tatar";var uk$2="Ukrainian";var ur$2="Urdu";var uz$2="Uzbek";var vi$2="Vietnamese";var xh$2="Xhosa";var yi$2="Yiddish";var yo$2="Yoruba";var zh$2="Chinese";var zu$2="Zulu";var defaultLanguage$2="If the translation is not available, English will be used";var localeEn={auto:auto$2,label:label$2,af:af$2,ar:ar$2,az:az$2,be:be$2,bg:bg$2,bn:bn$2,bs:bs$2,ca:ca$2,ceb:ceb$2,cs:cs$2,cy:cy$2,da:da$2,de:de$2,el:el$2,en:en$2,eo:eo$2,es:es$2,et:et$2,eu:eu$2,fa:fa$2,fi:fi$2,fr:fr$2,fy:fy$2,ga:ga$2,gd:gd$2,gl:gl$2,gu:gu$2,ha:ha$2,haw:haw$2,he:he$2,hi:hi$2,hmn:hmn$2,hr:hr$2,ht:ht$2,hu:hu$2,hy:hy$2,id:id$2,ig:ig$2,is:is$2,it:it$2,ja:ja$2,jv:jv$2,ka:ka$2,kk:kk$2,km:km$2,kn:kn$2,ko:ko$2,ku:ku$2,ky:ky$2,la:la$2,lb:lb$2,lo:lo$2,lt:lt$2,lv:lv$2,mg:mg$2,mi:mi$2,mk:mk$2,ml:ml$2,mn:mn$2,mr:mr$2,ms:ms$2,mt:mt$2,my:my$2,ne:ne$2,nl:nl$2,no:no$2,ny:ny$2,or:or$2,pa:pa$2,pl:pl$2,ps:ps$2,pt:pt$2,ro:ro$2,ru:ru$2,sd:sd$2,si:si$2,sk:sk$2,sl:sl$2,sm:sm$2,sn:sn$2,so:so$2,sq:sq$2,sr:sr$2,st:st$2,su:su$2,sv:sv$2,sw:sw$2,ta:ta$2,te:te$2,tg:tg$2,th:th$2,tr:tr$2,tt:tt$2,uk:uk$2,ur:ur$2,uz:uz$2,vi:vi$2,xh:xh$2,yi:yi$2,yo:yo$2,zh:zh$2,zu:zu$2,defaultLanguage:defaultLanguage$2};var auto$1="Automático";var label$1="Idioma";var af$1="Afrikáans";var ar$1="Árabe";var az$1="Azerbaiyano";var be$1="Bielorruso";var bg$1="Búlgaro";var bn$1="Bengalí";var bs$1="Bosnio";var ca$1="Catalán";var ceb$1="Cebuano";var cs$1="Checo";var cy$1="Galés";var da$1="Danés";var de$1="Alemán";var el$1="Griego";var en$1="Inglés";var eo$1="Esperanto";var es$1="Español";var et$1="Estonio";var eu$1="Vasco";var fa$1="Persa";var fi$1="Finlandés";var fr$1="Francés";var fy$1="Frisón";var ga$1="Irlandés";var gd$1="Gaélico escocés";var gl$1="Gallego";var gu$1="Gujarati";var ha$1="Hausa";var haw$1="Hawaiano";var he$1="Hebreo";var hi$1="Hindi";var hmn$1="Hmong";var hr$1="Croata";var ht$1="Criollo haitiano";var hu$1="Húngaro";var hy$1="Armenio";var id$1="Indonesio";var ig$1="Igbo";var is$1="Islandés";var it$1="Italiano";var ja$1="Japonés";var jv$1="Javanés";var ka$1="Georgiano";var kk$1="Kazajo";var km$1="Jemer";var kn$1="Canarés";var ko$1="Coreano";var ku$1="Kurdo";var ky$1="Kirguís";var la$1="Latín";var lb$1="Luxemburgués";var lo$1="Lao";var lt$1="Lituano";var lv$1="Letón";var mg$1="Malgache";var mi$1="Maorí";var mk$1="Macedonio";var ml$1="Malayalam";var mn$1="Mongol";var mr$1="Maratí";var ms$1="Malayo";var mt$1="Maltés";var my$1="Birmano";var ne$1="Nepalí";var nl$1="Holandés";var no$1="Noruego";var ny$1="Chichewa";var or$1="Oriya";var pa$1="Panyabí";var pl$1="Polaco";var ps$1="Pastún";var pt$1="Portugués";var ro$1="Rumano";var ru$1="Ruso";var sd$1="Sindhi";var si$1="Cingalés";var sk$1="Eslovaco";var sl$1="Esloveno";var sm$1="Samoano";var sn$1="Shona";var so$1="Somalí";var sq$1="Albanés";var sr$1="Serbio";var st$1="Sesotho";var su$1="Sundanés";var sv$1="Sueco";var sw$1="Suajili";var ta$1="Tamil";var te$1="Telugu";var tg$1="Tayiko";var th$1="Tailandés";var tr$1="Turco";var tt$1="Tártaro";var uk$1="Ucraniano";var ur$1="Urdu";var uz$1="Uzbeko";var vi$1="Vietnamita";var xh$1="Xhosa";var yi$1="Yidis";var yo$1="Yoruba";var zh$1="Chino";var zu$1="Zulú";var defaultLanguage$1="Si la traducción no está disponible, se utilizará el inglés";var localeEs={auto:auto$1,label:label$1,af:af$1,ar:ar$1,az:az$1,be:be$1,bg:bg$1,bn:bn$1,bs:bs$1,ca:ca$1,ceb:ceb$1,cs:cs$1,cy:cy$1,da:da$1,de:de$1,el:el$1,en:en$1,eo:eo$1,es:es$1,et:et$1,eu:eu$1,fa:fa$1,fi:fi$1,fr:fr$1,fy:fy$1,ga:ga$1,gd:gd$1,gl:gl$1,gu:gu$1,ha:ha$1,haw:haw$1,he:he$1,hi:hi$1,hmn:hmn$1,hr:hr$1,ht:ht$1,hu:hu$1,hy:hy$1,id:id$1,ig:ig$1,is:is$1,it:it$1,ja:ja$1,jv:jv$1,ka:ka$1,kk:kk$1,km:km$1,kn:kn$1,ko:ko$1,ku:ku$1,ky:ky$1,la:la$1,lb:lb$1,lo:lo$1,lt:lt$1,lv:lv$1,mg:mg$1,mi:mi$1,mk:mk$1,ml:ml$1,mn:mn$1,mr:mr$1,ms:ms$1,mt:mt$1,my:my$1,ne:ne$1,nl:nl$1,no:no$1,ny:ny$1,or:or$1,pa:pa$1,pl:pl$1,ps:ps$1,pt:pt$1,ro:ro$1,ru:ru$1,sd:sd$1,si:si$1,sk:sk$1,sl:sl$1,sm:sm$1,sn:sn$1,so:so$1,sq:sq$1,sr:sr$1,st:st$1,su:su$1,sv:sv$1,sw:sw$1,ta:ta$1,te:te$1,tg:tg$1,th:th$1,tr:tr$1,tt:tt$1,uk:uk$1,ur:ur$1,uz:uz$1,vi:vi$1,xh:xh$1,yi:yi$1,yo:yo$1,zh:zh$1,zu:zu$1,defaultLanguage:defaultLanguage$1};var auto="Automatico";var label="Lingua";var af="Afrikaans";var ar="Arabo";var az="Azero";var be="Bielorusso";var bg="Bulgaro";var bn="Bengalese";var bs="Bosniaco";var ca="Catalano";var ceb="Cebuano";var cs="Ceco";var cy="Gallese";var da="Danese";var de="Tedesco";var el="Greco";var en="Inglese";var eo="Esperanto";var es="Spagnolo";var et="Estone";var eu="Basco";var fa="Persiano";var fi="Finlandese";var fr="Francese";var fy="Frisone";var ga="Irlandese";var gd="Gaelico scozzese";var gl="Galiziano";var gu="Gujarati";var ha="Hausa";var haw="Hawaiano";var he="Ebraico";var hi="Hindi";var hmn="Hmong";var hr="Croato";var ht="Creolo haitiano";var hu="Ungherese";var hy="Armeno";var id="Indonesiano";var ig="Igbo";var is="Islandese";var it="Italiano";var ja="Giapponese";var jv="Giavanese";var ka="Georgiano";var kk="Kazako";var km="Khmer";var kn="Kannada";var ko="Coreano";var ku="Curdo";var ky="Kirghiso";var la="Latino";var lb="Lussemburghese";var lo="Lao";var lt="Lituano";var lv="Lettone";var mg="Malgascio";var mi="Maori";var mk="Macedone";var ml="Malayalam";var mn="Mongolo";var mr="Marathi";var ms="Malese";var mt="Maltese";var my="Birmano";var ne="Nepalese";var nl="Olandese";var no="Norvegese";var ny="Chichewa";var or="Oriya";var pa="Punjabi";var pl="Polacco";var ps="Pashtu";var pt="Portoghese";var ro="Rumeno";var ru="Russo";var sd="Sindhi";var si="Singalese";var sk="Slovacco";var sl="Sloveno";var sm="Samoano";var sn="Shona";var so="Somalo";var sq="Albanese";var sr="Serbo";var st="Sesotho";var su="Sundanese";var sv="Svedese";var sw="Swahili";var ta="Tamil";var te="Telugu";var tg="Tagico";var th="Thai";var tr="Turco";var tt="Tataro";var uk="Ucraino";var ur="Urdu";var uz="Uzbeko";var vi="Vietnamita";var xh="Xhosa";var yi="Yiddish";var yo="Yoruba";var zh="Cinese";var zu="Zulu";var defaultLanguage="Se la traduzione non è disponibile, verrà utilizzato l'Inglese";var localeIt={auto:auto,label:label,af:af,ar:ar,az:az,be:be,bg:bg,bn:bn,bs:bs,ca:ca,ceb:ceb,cs:cs,cy:cy,da:da,de:de,el:el,en:en,eo:eo,es:es,et:et,eu:eu,fa:fa,fi:fi,fr:fr,fy:fy,ga:ga,gd:gd,gl:gl,gu:gu,ha:ha,haw:haw,he:he,hi:hi,hmn:hmn,hr:hr,ht:ht,hu:hu,hy:hy,id:id,ig:ig,is:is,it:it,ja:ja,jv:jv,ka:ka,kk:kk,km:km,kn:kn,ko:ko,ku:ku,ky:ky,la:la,lb:lb,lo:lo,lt:lt,lv:lv,mg:mg,mi:mi,mk:mk,ml:ml,mn:mn,mr:mr,ms:ms,mt:mt,my:my,ne:ne,nl:nl,no:no,ny:ny,or:or,pa:pa,pl:pl,ps:ps,pt:pt,ro:ro,ru:ru,sd:sd,si:si,sk:sk,sl:sl,sm:sm,sn:sn,so:so,sq:sq,sr:sr,st:st,su:su,sv:sv,sw:sw,ta:ta,te:te,tg:tg,th:th,tr:tr,tt:tt,uk:uk,ur:ur,uz:uz,vi:vi,xh:xh,yi:yi,yo:yo,zh:zh,zu:zu,defaultLanguage:defaultLanguage};var mdsPrefLanguageCss=function(){return"@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),:is(mds-dropdown,mds-tab,mds-tab-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{display:grid;gap:calc(var(--spacing,.0025rem)*400)}.mds-pref-language-dropdown{gap:calc(var(--spacing,.0025rem)*100);padding:calc(var(--spacing,.0025rem)*400)}.item{--mds-tab-item-default-color:rgb(var(--magma-text-disabled,var(--magma-tint-text-disabled,var(--text-neutral-disabled,119 119 119))));flex-basis:0;flex-grow:1}.item--custom-language{cursor:pointer}.item--auto,.item--custom-language{--mds-tab-item-selected-color:rgb(var(--magma-text-muted,var(--magma-tint-text-muted,var(--text-neutral-muted,73 73 73))))}"};var MdsPrefLanguage=/** @class */function(){function a(a){var r=this;registerInstance(this,a);this.languageChangeEvent=createEvent(this,"mdsPrefLanguageChange",7);this.prefChangeEvent=createEvent(this,"mdsPrefChange",7);this.showDropdown=false;this.localStorageAlias="mdsPrefLanguage";this.defaultLanguage="en";this.t=new Locale({el:localeEl,en:localeEn,es:localeEs,it:localeIt});
2
+ /**
3
+ * Specifies the language code based on HTML `lang` attribute
4
+ *
5
+ * A string representing the language version as defined in {@link https://datatracker.ietf.org/doc/html/rfc5646 RFC 5646: Tags for Identifying Languages (also known as BCP 47)}.
6
+ *
7
+ * `Examples of valid language codes include "en", "en-US", "fr", "fr-FR", "es-ES", etc.`
8
+ *
9
+ * Supported languages are Italiano, English, Español, ελληνικά
10
+ */this.set="auto";this.toggleDropdown=function(){r.showDropdown=!r.showDropdown};this.hideLanguageSelectDropdown=function(){r.showDropdown=false};this.changeLanguageSelectItem=function(){r.elPreferLanguageItems.forEach((function(a){a.selected=false}))};this.checkLanguageSelect=function(){r.elPreferLanguageItems=r.element.querySelectorAll("mds-pref-language-item");r.elPreferLanguageItems.forEach((function(a){a.addEventListener("mdsPrefLanguageItemSelect",(function(a){r.changeLanguageSelectItem();r.currentSelectedItem=a.currentTarget;r.currentSelectedItem.selected=true;r.languageChangeEvent.emit({language:r.currentSelectedItem.code});r.showDropdown=false;r.setLanguage(a.detail.language)}))}));r.elPreferLanguageItems.forEach((function(a){a.selected=a.code===r.set}))};this.sanitizeLanguage=function(a){if(a.includes("-")){return a.split("-")[0].toLowerCase()}return a};this.setLanguage=function(a){var e,$,v,s,n;if(!/(auto)|^[a-z]{2}(-[A-Z]{2})?$/gm.exec(a)){throw Error("Language code set not reconized: ".concat(a))}
11
+ // navigator.language is missing in the hydrate/SSR runtime's MockNavigator
12
+ var t=r.sanitizeLanguage((e=navigator.language)!==null&&e!==void 0?e:"en");var i=localStorage.getItem(r.localStorageAlias);var o=(v=($=document.querySelector("html"))===null||$===void 0?void 0:$.getAttribute("lang"))!==null&&v!==void 0?v:null;var l=a==="auto"?(s=i!==null&&i!==void 0?i:o)!==null&&s!==void 0?s:t:r.sanitizeLanguage(a);r.set=l;
13
+ // Re-applying the same language must not emit or write again (the `set`
14
+ // watcher re-fires once after the normalization above)
15
+ if(l===r.appliedLanguage){return}var u=r.appliedLanguage===undefined;r.appliedLanguage=l;localStorage.setItem(r.localStorageAlias,l);if(typeof document!=="undefined"){(n=document.querySelector("html"))===null||n===void 0?void 0:n.setAttribute("lang",l)}preferenceStore.state.language=l;if(!u){r.prefChangeEvent.emit({preference:"language"})}}}a.prototype.componentWillLoad=function(){this.setLanguage(this.set)};a.prototype.componentDidLoad=function(){this.checkLanguageSelect()};a.prototype.handleSetChange=function(a){this.setLanguage(a)};a.prototype.render=function(){var a;return h(Host,{key:"21129a3d751feb56d928d2bc9f5e39f0f548f909"},h("div",{key:"bcfbe0dd6918f8a37d26ecfd57da156c78e94582",class:"menu"},h("mds-text",{key:"6386b4d771c1fca8efbede23f69ea56dbbee4947",class:"info",typography:"caption"},h("b",{key:"4d309028a088aacfac87ee401daaafdc75163d4c"},this.t.get("label"))),h("mds-tab",{key:"ad09f6d0f37a6570d77341456b7b2fcc0a6987a6",fill:true,size:this.size},h("mds-tab-item",{key:"8230f8238bd9e68211d41098af53d78e86711c97",selected:true,onClick:this.toggleDropdown,expanded:this.showDropdown,id:"mds-pref-language-nav",class:"item item--custom-language","icon-position":"right",icon:this.showDropdown?miBaselineKeyboardArrowUp:miBaselineKeyboardArrowDown,label:this.t.get((a=this.set)!==null&&a!==void 0?a:"auto")}))),h("mds-dropdown",{key:"333d1c56ea5e1a7ec3266d25fb4fd46481b18829",class:"mds-pref-language-dropdown",target:"#mds-pref-language-nav",interaction:"none",visible:this.showDropdown,onMdsDropdownHide:this.hideLanguageSelectDropdown},h("slot",{key:"82f649867dbf53c395dcbdc17690512019f0e6b3"})),this.set!==this.defaultLanguage&&h("mds-text",{key:"0ecda6e3832b41bb0e8127ff88a9122eab4459e7",typography:"caption"},this.t.get("defaultLanguage")))};Object.defineProperty(a.prototype,"element",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(a,"watchers",{get:function(){return{set:[{handleSetChange:0}]}},enumerable:false,configurable:true});return a}();MdsPrefLanguage.style=mdsPrefLanguageCss();export{MdsPrefLanguage as mds_pref_language};