@maggioli-design-system/magma 2.0.0-beta.5 → 2.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (346) hide show
  1. package/README.md +2 -1
  2. package/dist/cjs/index.cjs.js +64 -22
  3. package/dist/cjs/{locale.it-D-rxNDkm.js → locale.it-CfUV2hxK.js} +13 -10
  4. package/dist/cjs/mds-avatar.cjs.entry.js +27 -32
  5. package/dist/cjs/mds-badge.cjs.entry.js +3 -2
  6. package/dist/cjs/mds-benchmark-bar.cjs.entry.js +3 -2
  7. package/dist/cjs/mds-bibliography.cjs.entry.js +4 -3
  8. package/dist/cjs/mds-button_3.cjs.entry.js +36 -10
  9. package/dist/cjs/mds-dropdown.cjs.entry.js +4 -3
  10. package/dist/cjs/mds-entity.cjs.entry.js +1 -1
  11. package/dist/cjs/mds-file-preview.cjs.entry.js +18 -18
  12. package/dist/cjs/mds-file.cjs.entry.js +1 -1
  13. package/dist/cjs/mds-header.cjs.entry.js +17 -8
  14. package/dist/cjs/mds-img.cjs.entry.js +3 -3
  15. package/dist/cjs/mds-input-date-range.cjs.entry.js +7 -5
  16. package/dist/cjs/mds-input-select.cjs.entry.js +10 -8
  17. package/dist/cjs/mds-input-upload.cjs.entry.js +10 -6
  18. package/dist/cjs/mds-input.cjs.entry.js +4 -4
  19. package/dist/cjs/mds-keyboard-key.cjs.entry.js +8 -5
  20. package/dist/cjs/mds-keyboard.cjs.entry.js +6 -3
  21. package/dist/cjs/mds-mention.cjs.entry.js +3 -2
  22. package/dist/cjs/mds-notification.cjs.entry.js +11 -8
  23. package/dist/cjs/mds-pref-language-item.cjs.entry.js +3 -2
  24. package/dist/cjs/mds-pref-theme-item.cjs.entry.js +3 -2
  25. package/dist/cjs/mds-push-notification-item.cjs.entry.js +1 -1
  26. package/dist/cjs/mds-stepper-bar.cjs.entry.js +5 -3
  27. package/dist/cjs/mds-tab-bar-item.cjs.entry.js +3 -2
  28. package/dist/cjs/mds-table-header-cell.cjs.entry.js +2 -2
  29. package/dist/cjs/mds-text.cjs.entry.js +2 -1
  30. package/dist/cjs/mds-toast.cjs.entry.js +9 -3
  31. package/dist/cjs/mds-tooltip.cjs.entry.js +4 -4
  32. package/dist/collection/common/file.js +13 -10
  33. package/dist/collection/components/mds-avatar/mds-avatar.js +27 -32
  34. package/dist/collection/components/mds-badge/mds-badge.js +3 -2
  35. package/dist/collection/components/mds-benchmark-bar/mds-benchmark-bar.js +3 -2
  36. package/dist/collection/components/mds-bibliography/mds-bibliography.js +4 -3
  37. package/dist/collection/components/mds-button/mds-button.js +7 -6
  38. package/dist/collection/components/mds-dropdown/mds-dropdown.js +4 -3
  39. package/dist/collection/components/mds-file-preview/mds-file-preview.js +6 -7
  40. package/dist/collection/components/mds-header/mds-header.js +17 -8
  41. package/dist/collection/components/mds-icon/mds-icon.js +29 -4
  42. package/dist/collection/components/mds-icon/services/icons-set.service.js +47 -18
  43. package/dist/collection/components/mds-img/mds-img.js +3 -3
  44. package/dist/collection/components/mds-input/mds-input.js +4 -4
  45. package/dist/collection/components/mds-input-date-range/mds-input-date-range.js +7 -5
  46. package/dist/collection/components/mds-input-select/mds-input-select.js +10 -8
  47. package/dist/collection/components/mds-input-upload/mds-input-upload.js +10 -6
  48. package/dist/collection/components/mds-keyboard/mds-keyboard.js +6 -3
  49. package/dist/collection/components/mds-keyboard-key/mds-keyboard-key.js +8 -5
  50. package/dist/collection/components/mds-mention/mds-mention.js +3 -2
  51. package/dist/collection/components/mds-notification/mds-notification.js +11 -8
  52. package/dist/collection/components/mds-pref-language-item/mds-pref-language-item.js +3 -2
  53. package/dist/collection/components/mds-pref-theme-item/mds-pref-theme-item.js +3 -2
  54. package/dist/collection/components/mds-stepper-bar/mds-stepper-bar.js +5 -3
  55. package/dist/collection/components/mds-tab-bar-item/mds-tab-bar-item.js +3 -2
  56. package/dist/collection/components/mds-table-header-cell/mds-table-header-cell.js +2 -2
  57. package/dist/collection/components/mds-text/mds-text.js +2 -1
  58. package/dist/collection/components/mds-toast/mds-toast.js +9 -3
  59. package/dist/collection/components/mds-tooltip/mds-tooltip.js +4 -4
  60. package/dist/collection/dictionary/icon.js +1 -1
  61. package/dist/components/index.js +1 -1
  62. package/dist/components/mds-accordion-item.js +1 -1
  63. package/dist/components/mds-accordion-timer-item.js +1 -1
  64. package/dist/components/mds-avatar-stack-item.js +1 -1
  65. package/dist/components/mds-avatar-stack.js +1 -1
  66. package/dist/components/mds-avatar.js +1 -1
  67. package/dist/components/mds-badge.js +1 -1
  68. package/dist/components/mds-banner.js +1 -1
  69. package/dist/components/mds-benchmark-bar.js +1 -1
  70. package/dist/components/mds-bibliography.js +1 -1
  71. package/dist/components/mds-breadcrumb-item.js +1 -1
  72. package/dist/components/mds-breadcrumb.js +1 -1
  73. package/dist/components/mds-button-dropdown.js +1 -1
  74. package/dist/components/mds-button.js +1 -1
  75. package/dist/components/mds-calendar-cell.js +1 -1
  76. package/dist/components/mds-calendar.js +1 -1
  77. package/dist/components/mds-chip.js +1 -1
  78. package/dist/components/mds-dropdown.js +1 -1
  79. package/dist/components/mds-entity.js +1 -1
  80. package/dist/components/mds-file-preview.js +1 -1
  81. package/dist/components/mds-file.js +3 -3
  82. package/dist/components/mds-filter-item.js +1 -1
  83. package/dist/components/mds-filter.js +1 -1
  84. package/dist/components/mds-header-bar.js +1 -1
  85. package/dist/components/mds-header.js +1 -1
  86. package/dist/components/mds-help.js +1 -1
  87. package/dist/components/mds-horizontal-scroll.js +1 -1
  88. package/dist/components/mds-icon.js +1 -1
  89. package/dist/components/mds-img.js +1 -1
  90. package/dist/components/mds-input-date-range-preselection.js +1 -1
  91. package/dist/components/mds-input-date-range.js +1 -1
  92. package/dist/components/mds-input-date.js +1 -1
  93. package/dist/components/mds-input-field.js +1 -1
  94. package/dist/components/mds-input-otp.js +1 -1
  95. package/dist/components/mds-input-range.js +1 -1
  96. package/dist/components/mds-input-select.js +1 -1
  97. package/dist/components/mds-input-switch.js +1 -1
  98. package/dist/components/mds-input-tip-item.js +1 -1
  99. package/dist/components/mds-input-upload.js +1 -1
  100. package/dist/components/mds-input.js +1 -1
  101. package/dist/components/mds-keyboard-key.js +1 -1
  102. package/dist/components/mds-keyboard.js +1 -1
  103. package/dist/components/mds-kpi-item.js +1 -1
  104. package/dist/components/mds-label.js +1 -1
  105. package/dist/components/mds-list-item.js +1 -1
  106. package/dist/components/mds-mention.js +1 -1
  107. package/dist/components/mds-modal.js +1 -1
  108. package/dist/components/mds-note.js +1 -1
  109. package/dist/components/mds-notification.js +1 -1
  110. package/dist/components/mds-paginator-item.js +1 -1
  111. package/dist/components/mds-paginator.js +1 -1
  112. package/dist/components/mds-policy-ai.js +1 -1
  113. package/dist/components/mds-pref-animation.js +1 -1
  114. package/dist/components/mds-pref-consumption.js +1 -1
  115. package/dist/components/mds-pref-contrast.js +1 -1
  116. package/dist/components/mds-pref-language-item.js +1 -1
  117. package/dist/components/mds-pref-language.js +1 -1
  118. package/dist/components/mds-pref-mode.js +1 -1
  119. package/dist/components/mds-pref-theme-item.js +1 -1
  120. package/dist/components/mds-pref-theme.js +1 -1
  121. package/dist/components/mds-pref.js +1 -1
  122. package/dist/components/mds-price-table-features-cell.js +1 -1
  123. package/dist/components/mds-price-table-features.js +1 -1
  124. package/dist/components/mds-price-table-list-item.js +1 -1
  125. package/dist/components/mds-progress.js +1 -1
  126. package/dist/components/mds-push-notification-item.js +1 -1
  127. package/dist/components/mds-push-notification.js +1 -1
  128. package/dist/components/mds-quote.js +1 -1
  129. package/dist/components/mds-radial-menu-item.js +1 -1
  130. package/dist/components/mds-radial-menu.js +1 -1
  131. package/dist/components/mds-radial-progress.js +1 -1
  132. package/dist/components/mds-status-bar.js +1 -1
  133. package/dist/components/mds-stepper-bar-item.js +1 -1
  134. package/dist/components/mds-stepper-bar.js +1 -1
  135. package/dist/components/mds-tab-bar-item.js +1 -1
  136. package/dist/components/mds-tab-item.js +1 -1
  137. package/dist/components/mds-table-header-cell.js +1 -1
  138. package/dist/components/mds-table-header.js +1 -1
  139. package/dist/components/mds-table-row.js +1 -1
  140. package/dist/components/mds-table.js +1 -1
  141. package/dist/components/mds-text.js +1 -1
  142. package/dist/components/mds-toast.js +1 -1
  143. package/dist/components/mds-tooltip.js +1 -1
  144. package/dist/components/mds-tree-item.js +1 -1
  145. package/dist/components/mds-url-view.js +1 -1
  146. package/dist/components/mds-usage.js +1 -1
  147. package/dist/components/{p-D3-GP4KF.js → p-6K9sFzLr.js} +1 -1
  148. package/dist/components/p-BBhbQT2f.js +1 -0
  149. package/dist/components/{p-B2A_hlV2.js → p-BFpRu7yD.js} +1 -1
  150. package/dist/components/p-BL63WAAq.js +8 -0
  151. package/dist/components/{p-Deh5Aia-.js → p-BShLEry5.js} +1 -1
  152. package/dist/components/{p-BJNK4p33.js → p-BYxxgEE_.js} +1 -1
  153. package/dist/components/p-BZFyAX-6.js +1 -0
  154. package/dist/components/p-BtMdmkID.js +1 -0
  155. package/dist/components/{p-Caksrfcd.js → p-ByaUOMp0.js} +1 -1
  156. package/dist/components/p-C1xZO_fq.js +1 -0
  157. package/dist/components/{p-cBZsPiMJ.js → p-C6Q4zFh6.js} +1 -1
  158. package/dist/components/{p-DLE5TNTp.js → p-CUQ7WIXh.js} +1 -1
  159. package/dist/components/p-Cd_8zD_I.js +1 -0
  160. package/dist/components/{p-DtxB7DYE.js → p-CnAeawmf.js} +1 -1
  161. package/dist/components/{p-Bt4xX5ww.js → p-DCrjf0F0.js} +1 -1
  162. package/dist/components/p-DlHJvYE7.js +1 -0
  163. package/dist/components/{p-BH3bWzRT.js → p-DlaJNPdd.js} +1 -1
  164. package/dist/components/{p-sqRs6oj4.js → p-DnrQaRnh.js} +1 -1
  165. package/dist/components/{p-CBLAz3_J.js → p-OPg_Naue.js} +1 -1
  166. package/dist/components/{p-C03KYHGv.js → p-RS4yyl41.js} +1 -1
  167. package/dist/components/{p--8aaJX-p.js → p-gv3eu44S.js} +1 -1
  168. package/dist/components/p-kff6xSdW.js +1 -0
  169. package/dist/components/p-pys1EQ60.js +1 -0
  170. package/dist/components/p-qketFgr0.js +1 -0
  171. package/dist/components/{p-B14Ci2fO.js → p-s2Gu6hY7.js} +1 -1
  172. package/dist/components/p-zml3K7nx.js +1 -0
  173. package/dist/documentation.json +5 -5
  174. package/dist/esm/index.js +64 -22
  175. package/dist/esm/{locale.it-Dj8sWDfj.js → locale.it-Cvxh7La5.js} +13 -10
  176. package/dist/esm/mds-avatar.entry.js +27 -32
  177. package/dist/esm/mds-badge.entry.js +3 -2
  178. package/dist/esm/mds-benchmark-bar.entry.js +3 -2
  179. package/dist/esm/mds-bibliography.entry.js +4 -3
  180. package/dist/esm/mds-button_3.entry.js +36 -10
  181. package/dist/esm/mds-dropdown.entry.js +4 -3
  182. package/dist/esm/mds-entity.entry.js +1 -1
  183. package/dist/esm/mds-file-preview.entry.js +18 -18
  184. package/dist/esm/mds-file.entry.js +1 -1
  185. package/dist/esm/mds-header.entry.js +17 -8
  186. package/dist/esm/mds-img.entry.js +3 -3
  187. package/dist/esm/mds-input-date-range.entry.js +7 -5
  188. package/dist/esm/mds-input-select.entry.js +10 -8
  189. package/dist/esm/mds-input-upload.entry.js +10 -6
  190. package/dist/esm/mds-input.entry.js +4 -4
  191. package/dist/esm/mds-keyboard-key.entry.js +8 -5
  192. package/dist/esm/mds-keyboard.entry.js +6 -3
  193. package/dist/esm/mds-mention.entry.js +3 -2
  194. package/dist/esm/mds-notification.entry.js +11 -8
  195. package/dist/esm/mds-pref-language-item.entry.js +3 -2
  196. package/dist/esm/mds-pref-theme-item.entry.js +3 -2
  197. package/dist/esm/mds-push-notification-item.entry.js +1 -1
  198. package/dist/esm/mds-stepper-bar.entry.js +5 -3
  199. package/dist/esm/mds-tab-bar-item.entry.js +3 -2
  200. package/dist/esm/mds-table-header-cell.entry.js +2 -2
  201. package/dist/esm/mds-text.entry.js +2 -1
  202. package/dist/esm/mds-toast.entry.js +9 -3
  203. package/dist/esm/mds-tooltip.entry.js +4 -4
  204. package/dist/esm-es5/index.js +37 -26
  205. package/dist/esm-es5/locale.it-Cvxh7La5.js +6 -0
  206. package/dist/esm-es5/mds-avatar.entry.js +4 -2
  207. package/dist/esm-es5/mds-badge.entry.js +2 -3
  208. package/dist/esm-es5/mds-benchmark-bar.entry.js +2 -3
  209. package/dist/esm-es5/mds-bibliography.entry.js +1 -1
  210. package/dist/esm-es5/mds-button_3.entry.js +14 -9
  211. package/dist/esm-es5/mds-dropdown.entry.js +2 -2
  212. package/dist/esm-es5/mds-entity.entry.js +1 -1
  213. package/dist/esm-es5/mds-file-preview.entry.js +13 -11
  214. package/dist/esm-es5/mds-file.entry.js +6 -6
  215. package/dist/esm-es5/mds-header.entry.js +8 -6
  216. package/dist/esm-es5/mds-img.entry.js +1 -1
  217. package/dist/esm-es5/mds-input-date-range.entry.js +5 -3
  218. package/dist/esm-es5/mds-input-select.entry.js +8 -6
  219. package/dist/esm-es5/mds-input-upload.entry.js +3 -1
  220. package/dist/esm-es5/mds-input.entry.js +3 -3
  221. package/dist/esm-es5/mds-keyboard-key.entry.js +3 -1
  222. package/dist/esm-es5/mds-keyboard.entry.js +4 -2
  223. package/dist/esm-es5/mds-mention.entry.js +1 -1
  224. package/dist/esm-es5/mds-notification.entry.js +4 -2
  225. package/dist/esm-es5/mds-pref-language-item.entry.js +2 -2
  226. package/dist/esm-es5/mds-pref-theme-item.entry.js +2 -2
  227. package/dist/esm-es5/mds-push-notification-item.entry.js +1 -1
  228. package/dist/esm-es5/mds-stepper-bar.entry.js +4 -4
  229. package/dist/esm-es5/mds-tab-bar-item.entry.js +3 -4
  230. package/dist/esm-es5/mds-table-header-cell.entry.js +1 -1
  231. package/dist/esm-es5/mds-text.entry.js +1 -1
  232. package/dist/esm-es5/mds-toast.entry.js +4 -2
  233. package/dist/esm-es5/mds-tooltip.entry.js +2 -2
  234. package/dist/hydrate/index.js +283 -174
  235. package/dist/hydrate/index.mjs +283 -174
  236. package/dist/magma-components/index.esm.js +1 -1
  237. package/dist/magma-components/magma-components.esm.js +1 -1
  238. package/dist/magma-components/p-005172ba.entry.js +1 -0
  239. package/dist/magma-components/{p-9ca7932d.system.entry.js → p-05fa40aa.system.entry.js} +5 -3
  240. package/dist/magma-components/p-0827a5bd.entry.js +1 -0
  241. package/dist/magma-components/{p-1a8c5086.system.entry.js → p-15c77a98.system.entry.js} +2 -2
  242. package/dist/magma-components/p-18473d2f.entry.js +1 -0
  243. package/dist/magma-components/{p-f0a168f4.system.entry.js → p-18667ae7.system.entry.js} +3 -3
  244. package/dist/magma-components/p-19adde9d.entry.js +1 -0
  245. package/dist/magma-components/p-2217a7be.entry.js +1 -0
  246. package/dist/magma-components/{p-5a7ead55.system.entry.js → p-2386f0d6.system.entry.js} +2 -2
  247. package/dist/magma-components/p-2b56fc14.entry.js +1 -0
  248. package/dist/magma-components/p-3f747a63.system.entry.js +1 -0
  249. package/dist/magma-components/p-3ff30842.system.entry.js +16 -0
  250. package/dist/magma-components/{p-be692266.system.entry.js → p-49b120cb.system.entry.js} +2 -2
  251. package/dist/magma-components/{p-6cd7cfe3.entry.js → p-4af76eb3.entry.js} +1 -1
  252. package/dist/magma-components/p-4ba6cb3f.entry.js +1 -0
  253. package/dist/magma-components/p-4cadbd49.entry.js +1 -0
  254. package/dist/magma-components/{p-7f2e3b74.system.entry.js → p-4f107cb2.system.entry.js} +31 -31
  255. package/dist/magma-components/p-4oB0woT9.system.js +6 -0
  256. package/dist/magma-components/p-518b55f3.entry.js +1 -0
  257. package/dist/magma-components/{p-960dc9b5.system.entry.js → p-5eec629c.system.entry.js} +4 -2
  258. package/dist/magma-components/{p-a8ec3080.system.entry.js → p-646034cb.system.entry.js} +1 -1
  259. package/dist/magma-components/{p-ce4e1a41.system.entry.js → p-677ab154.system.entry.js} +3 -1
  260. package/dist/magma-components/p-759133b3.entry.js +1 -0
  261. package/dist/magma-components/{p-cd5866c8.entry.js → p-7912f877.entry.js} +1 -1
  262. package/dist/magma-components/{p-3d8e63a2.system.entry.js → p-7d304fd4.system.entry.js} +3 -1
  263. package/dist/magma-components/{p-07fde74d.system.entry.js → p-7f6d708c.system.entry.js} +6 -4
  264. package/dist/magma-components/{p-6edc4f16.system.entry.js → p-88564e9b.system.entry.js} +1 -1
  265. package/dist/magma-components/{p-8103d4d4.system.entry.js → p-8b1abf81.system.entry.js} +12 -10
  266. package/dist/magma-components/p-8bbee38d.entry.js +1 -0
  267. package/dist/magma-components/{p-481008e9.system.entry.js → p-8bf680d6.system.entry.js} +5 -3
  268. package/dist/magma-components/{p-ce0ecc75.system.entry.js → p-8cb3a071.system.entry.js} +2 -2
  269. package/dist/magma-components/p-8f229eaf.entry.js +1 -0
  270. package/dist/magma-components/{p-3f7d3060.system.entry.js → p-94fa3396.system.entry.js} +14 -9
  271. package/dist/magma-components/{p-0ad3b4da.system.entry.js → p-9bbd4193.system.entry.js} +6 -6
  272. package/dist/magma-components/p-9caffe14.entry.js +1 -0
  273. package/dist/magma-components/p-9de1ac7f.entry.js +1 -0
  274. package/dist/magma-components/p-B6mQg6yQ.js +1 -0
  275. package/dist/magma-components/p-CnXBPjmc.system.js +1 -1
  276. package/dist/magma-components/{p-CBam2PI8.system.js → p-DVd2EM-q.system.js} +29 -18
  277. package/dist/magma-components/{p-f1462410.system.entry.js → p-a15da479.system.entry.js} +3 -4
  278. package/dist/magma-components/{p-e05d2df8.system.entry.js → p-ab997243.system.entry.js} +2 -2
  279. package/dist/magma-components/{p-efe8d359.entry.js → p-aea6081f.entry.js} +1 -1
  280. package/dist/magma-components/{p-1c0a7e24.system.entry.js → p-b0539d61.system.entry.js} +7 -5
  281. package/dist/magma-components/{p-9d9a947b.entry.js → p-b35c26f8.entry.js} +2 -2
  282. package/dist/magma-components/p-cc033985.system.entry.js +14 -0
  283. package/dist/magma-components/{p-a3fc2ea4.system.entry.js → p-cd84a264.system.entry.js} +7 -5
  284. package/dist/magma-components/p-d0457835.entry.js +1 -0
  285. package/dist/magma-components/p-d64311e2.entry.js +1 -0
  286. package/dist/magma-components/{p-54b995c2.system.entry.js → p-da4dc390.system.entry.js} +1 -1
  287. package/dist/magma-components/p-dda7a33b.entry.js +1 -0
  288. package/dist/magma-components/p-e375c8b1.entry.js +1 -0
  289. package/dist/magma-components/p-e3fce8ca.entry.js +1 -0
  290. package/dist/magma-components/{p-9626eaff.system.entry.js → p-e9a16f22.system.entry.js} +3 -3
  291. package/dist/magma-components/p-ea0091b6.entry.js +1 -0
  292. package/dist/magma-components/{p-a3279a73.system.entry.js → p-ec00defc.system.entry.js} +6 -4
  293. package/dist/magma-components/p-edfb0d7a.entry.js +1 -0
  294. package/dist/magma-components/{p-0715a2cb.system.entry.js → p-f9d9cf7c.system.entry.js} +2 -3
  295. package/dist/magma-components/p-fa163e86.entry.js +1 -0
  296. package/dist/magma-components/p-fe19080a.entry.js +8 -0
  297. package/dist/magma-components/p-ff49fb35.entry.js +1 -0
  298. package/dist/stats.json +411 -411
  299. package/dist/types/components/mds-avatar/mds-avatar.d.ts +2 -0
  300. package/dist/types/components/mds-header/mds-header.d.ts +1 -0
  301. package/dist/types/components/mds-icon/mds-icon.d.ts +5 -0
  302. package/dist/types/components/mds-icon/services/icons-set.service.d.ts +10 -9
  303. package/dist/types/components/mds-input-select/mds-input-select.d.ts +1 -0
  304. package/dist/types/components/mds-toast/mds-toast.d.ts +1 -0
  305. package/package.json +11 -11
  306. package/dist/components/p-B9DJLgwr.js +0 -1
  307. package/dist/components/p-BouRLCYL.js +0 -1
  308. package/dist/components/p-CVgKDZPF.js +0 -1
  309. package/dist/components/p-CatD1iUY.js +0 -1
  310. package/dist/components/p-CbufYCNj.js +0 -1
  311. package/dist/components/p-Cehcn85x.js +0 -1
  312. package/dist/components/p-D8I1RblC.js +0 -1
  313. package/dist/components/p-DaI5QqNu.js +0 -1
  314. package/dist/components/p-Dj_oN194.js +0 -1
  315. package/dist/components/p-DmELzfvf.js +0 -1
  316. package/dist/components/p-sUKtonkE.js +0 -8
  317. package/dist/esm-es5/locale.it-Dj8sWDfj.js +0 -1
  318. package/dist/magma-components/p-03be5c0c.entry.js +0 -1
  319. package/dist/magma-components/p-0af8d821.entry.js +0 -1
  320. package/dist/magma-components/p-1780b8ba.entry.js +0 -1
  321. package/dist/magma-components/p-1dcfb13e.entry.js +0 -1
  322. package/dist/magma-components/p-241dbf61.entry.js +0 -1
  323. package/dist/magma-components/p-4297da23.system.entry.js +0 -1
  324. package/dist/magma-components/p-454c4774.entry.js +0 -1
  325. package/dist/magma-components/p-59de81ac.entry.js +0 -1
  326. package/dist/magma-components/p-5e43274a.system.entry.js +0 -15
  327. package/dist/magma-components/p-66ce2dee.entry.js +0 -1
  328. package/dist/magma-components/p-69d1b815.entry.js +0 -1
  329. package/dist/magma-components/p-75fcf1a4.entry.js +0 -1
  330. package/dist/magma-components/p-78fef00a.entry.js +0 -1
  331. package/dist/magma-components/p-7d317ff0.entry.js +0 -8
  332. package/dist/magma-components/p-7fc29447.entry.js +0 -1
  333. package/dist/magma-components/p-8b7fa8d7.entry.js +0 -1
  334. package/dist/magma-components/p-9b2ee3fe.entry.js +0 -1
  335. package/dist/magma-components/p-CSb7Iu19.js +0 -1
  336. package/dist/magma-components/p-a5ac5e0b.entry.js +0 -1
  337. package/dist/magma-components/p-a906a02f.system.entry.js +0 -16
  338. package/dist/magma-components/p-ac544ab1.entry.js +0 -1
  339. package/dist/magma-components/p-b23a6c83.entry.js +0 -1
  340. package/dist/magma-components/p-b9fecfd5.entry.js +0 -1
  341. package/dist/magma-components/p-c1fb2eb7.entry.js +0 -1
  342. package/dist/magma-components/p-c70d7159.entry.js +0 -1
  343. package/dist/magma-components/p-ddbdce09.entry.js +0 -1
  344. package/dist/magma-components/p-e3e893c4.entry.js +0 -1
  345. package/dist/magma-components/p-e4868ade.entry.js +0 -1
  346. package/dist/magma-components/p-ihVfCXG4.system.js +0 -1
@@ -83,9 +83,12 @@ const MdsKeyboard = class {
83
83
  };
84
84
  this.updateElements = () => {
85
85
  this.filteredNodes.forEach((node) => {
86
- if (node.name !== undefined) {
86
+ var _a;
87
+ // the type has no empty name, but the attribute can be empty or removed
88
+ const name = (_a = node.name) !== null && _a !== void 0 ? _a : '';
89
+ if (name !== '') {
87
90
  this.keyEls.push(node);
88
- this.keyCombination.add(this.keyCodes(node.name.toLowerCase()).toString());
91
+ this.keyCombination.add(this.keyCodes(name.toLowerCase()).toString());
89
92
  }
90
93
  });
91
94
  };
@@ -201,7 +204,7 @@ const MdsKeyboard = class {
201
204
  }
202
205
  }
203
206
  render() {
204
- return (h(Host, { key: '2428b02400771f84bf5bec6a04d9ee79b58214e6', "pref-mode": preferenceStore.state.mode, "pref-theme-scheme": preferenceStore.state['theme-scheme'] }, h("div", { key: '21bcbcb3751df1686a532ba45ecf70247772d980', class: "shortcuts" }, h("slot", { key: '8c5e6a0061fba55e4b40de59a1a44fd9e83e3552' })), this.try && (h("mds-button", { key: 'ad306361f059bfe504f2e5017c937ba1ffa46357', icon: this.getButtonIcon(), "aria-label": this.t.get('testKeyCombination'), class: "combination-checker", variant: "dark", tone: "text", onClick: this.startKeyboardShortcutTest })), this.try && (h("mds-tooltip", { key: '36bfe040249307ac3cd51552964822d17c6e6d6d', target: ".combination-checker" }, this.testPassed === undefined && this.t.get('testKeyCombination'), this.testPassed === true && this.t.get('testPassed'), this.testPassed === false && (h("div", { key: '2c2f2860b83297a3110432247d69d9a5ef2a622a', class: "errors" }, [...this.errors].map((error) => (h("mds-text", { typography: "tip" }, this.t.get(error))))))))));
207
+ return (h(Host, { key: '0f22438d7c2df4f9370f9daad1756c065720fded', "pref-mode": preferenceStore.state.mode, "pref-theme-scheme": preferenceStore.state['theme-scheme'] }, h("div", { key: '302124ad13826c7dc832a8d4dbfc3866f3bb5af9', class: "shortcuts" }, h("slot", { key: '0e74fab3079d226dbb14d062e24f7e460984e1da' })), this.try && (h("mds-button", { key: '18ad345428615395f0a6e20453c57db4f8ed93f8', icon: this.getButtonIcon(), "aria-label": this.t.get('testKeyCombination'), class: "combination-checker", variant: "dark", tone: "text", onClick: this.startKeyboardShortcutTest })), this.try && (h("mds-tooltip", { key: '545d9abac32f56ce8199d75a1cc1dc114dd442ac', target: ".combination-checker" }, this.testPassed === undefined && this.t.get('testKeyCombination'), this.testPassed === true && this.t.get('testPassed'), this.testPassed === false && (h("div", { key: 'f668a098b0b91658a9db962c2560d90169083a9c', class: "errors" }, [...this.errors].map((error) => (h("mds-text", { typography: "tip" }, this.t.get(error))))))))));
205
208
  }
206
209
  get host() { return getElement(this); }
207
210
  static get watchers() { return {
@@ -52,8 +52,9 @@ const MdsMention = class {
52
52
  };
53
53
  }
54
54
  render() {
55
- var _a, _b;
56
- return (h(Host, { key: 'c72d5a9b3a0c9af73da6749236f332c34a4a8ecd' }, h("mds-icon", { key: '3702acf811e4c80e05efbc3d50bc8a7402475042', name: this.icon !== undefined && this.icon !== '' ? this.icon : miBaselineAlternateEmail }), h("mds-text", { key: '7727b1962062628017c88e85e129922b5fbec63d', typography: this.sizeTypography[(_a = this.size) !== null && _a !== void 0 ? _a : 'md'] }, this.size === 'lg' ? this.label : h("b", null, this.label)), this.deletable && (h("mds-button", { key: 'f0923dd375fcf930d2f5375c01ce8a45ac5770ec', class: "action-remove", icon: miBaselineCancel, onClick: this.onDeleteHandler, size: "sm", title: `${this.t.get('remove')} ${(_b = this.label) !== null && _b !== void 0 ? _b : ''}`.trim(), tone: "text", variant: "dark" }))));
55
+ var _a, _b, _c;
56
+ const icon = (_a = this.icon) !== null && _a !== void 0 ? _a : '';
57
+ return (h(Host, { key: '914ba108dd94074f6d4cfe55d3ae8f6da5d20c07' }, h("mds-icon", { key: '452fa5eafee76b142b2ca9491f0bdb0ed21649a2', name: icon !== '' ? icon : miBaselineAlternateEmail }), h("mds-text", { key: '1070089d8e8d38d6d9ae477b6ac7b16b7d5bb29a', typography: this.sizeTypography[(_b = this.size) !== null && _b !== void 0 ? _b : 'md'] }, this.size === 'lg' ? this.label : h("b", null, this.label)), this.deletable && (h("mds-button", { key: '958f40a8b6b208f3bdd5572750b7e6e728176f18', class: "action-remove", icon: miBaselineCancel, onClick: this.onDeleteHandler, size: "sm", title: `${this.t.get('remove')} ${(_c = this.label) !== null && _c !== void 0 ? _c : ''}`.trim(), tone: "text", variant: "dark" }))));
57
58
  }
58
59
  get host() { return getElement(this); }
59
60
  };
@@ -37,18 +37,20 @@ const MdsNotification = class {
37
37
  });
38
38
  };
39
39
  this.clean = (value) => {
40
- if (value === 0 || isNaN(value))
40
+ var _a;
41
+ // a removed attribute leaves null, which counts as no value and no maximum
42
+ if ((value !== null && value !== void 0 ? value : 0) === 0 || isNaN(value))
41
43
  return '';
42
- if (this.max !== undefined && this.max !== 0 && !Number.isNaN(this.max)) {
43
- if (value > this.max) {
44
- return `+${Number(this.max).toLocaleString()}`;
45
- }
44
+ const max = (_a = this.max) !== null && _a !== void 0 ? _a : 0;
45
+ if (max !== 0 && !Number.isNaN(max) && value > max) {
46
+ return `+${Number(max).toLocaleString()}`;
46
47
  }
47
48
  return Number(value).toLocaleString();
48
49
  };
49
50
  }
50
51
  componentDidRender() {
51
- if (this.target === '') {
52
+ var _a;
53
+ if (((_a = this.target) !== null && _a !== void 0 ? _a : '') === '') {
52
54
  this.strategy = 'disabled';
53
55
  return;
54
56
  }
@@ -63,10 +65,11 @@ const MdsNotification = class {
63
65
  this.caller = c;
64
66
  }
65
67
  componentDidLoad() {
68
+ var _a;
66
69
  if (this.strategy === 'disabled') {
67
70
  return;
68
71
  }
69
- if (this.target !== '' && this.cleanupAutoUpdate == null) {
72
+ if (((_a = this.target) !== null && _a !== void 0 ? _a : '') !== '' && this.cleanupAutoUpdate == null) {
70
73
  setTimeout(() => {
71
74
  this.cleanupAutoUpdate = autoUpdate(this.caller, this.host, this.updatePosition);
72
75
  }, 100);
@@ -82,7 +85,7 @@ const MdsNotification = class {
82
85
  }
83
86
  render() {
84
87
  var _a;
85
- return (h(Host, { key: '5bfd87ef1cb2958966986af0146414ee844e1b62', "aria-labelledby": this.target, "aria-label": (_a = this.value) !== null && _a !== void 0 ? _a : '0', "pref-animation": preferenceStore.state.animation }, h("mds-text", { key: '8bc7cdde24f617591a8824a6e2600bdc764fee7a', typography: "caption", class: "dot", "aria-hidden": "true" }, this.clean(this.value))));
88
+ return (h(Host, { key: '7ccd6942aef0bc72b1da02625dd1eff455998ef5', "aria-labelledby": this.target, "aria-label": (_a = this.value) !== null && _a !== void 0 ? _a : '0', "pref-animation": preferenceStore.state.animation }, h("mds-text", { key: '8f4283fa8d54781cd37040427fd1c0dc2ee11348', typography: "caption", class: "dot", "aria-hidden": "true" }, this.clean(this.value))));
86
89
  }
87
90
  get host() { return getElement(this); }
88
91
  static get watchers() { return {
@@ -241,7 +241,7 @@ const MdsPrefLanguageItem = class {
241
241
  // unrecognized code is a real error; empty codes fall back to the `noCode` branch
242
242
  // already handled in render().
243
243
  this.validateCode = (code) => {
244
- if (code !== undefined && code !== '' && localeDefault[code] === undefined) {
244
+ if (code != null && code !== '' && localeDefault[code] === undefined) {
245
245
  throw Error(`Language code not found: ${code}`);
246
246
  }
247
247
  };
@@ -256,10 +256,11 @@ const MdsPrefLanguageItem = class {
256
256
  this.validateCode(newValue);
257
257
  }
258
258
  render() {
259
+ var _a;
259
260
  return (
260
261
  // the item is an entry of the `menu` the mds-dropdown of the controller opens:
261
262
  // without the role axe rejects it as a child of that menu (aria-required-children)
262
- 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') }))));
263
+ h(Host, { key: '968d0f761a2c4b2de6652069dc1db4f51d61ee76', onClick: this.handleClick, role: "menuitem" }, ((_a = this.code) !== null && _a !== void 0 ? _a : '') !== '' ? (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') }))));
263
264
  }
264
265
  static get watchers() { return {
265
266
  "code": [{
@@ -25,7 +25,8 @@ const MdsPrefThemeItem = class {
25
25
  };
26
26
  }
27
27
  componentWillRender() {
28
- if (this.label === undefined || this.label === '') {
28
+ var _a;
29
+ if (((_a = this.label) !== null && _a !== void 0 ? _a : '') === '') {
29
30
  this.label = this.name.charAt(0).toUpperCase() + this.name.slice(1).replace(/-/g, ' ');
30
31
  }
31
32
  }
@@ -33,7 +34,7 @@ const MdsPrefThemeItem = class {
33
34
  return (
34
35
  // the item is an entry of the `menu` the mds-dropdown of the controller opens:
35
36
  // without the role axe rejects it as a child of that menu (aria-required-children)
36
- h(Host, { key: 'ec551ae30ccae450c5d414c0895025bed0dd170e', onClick: this.handleClick, role: "menuitem" }, h("mds-button", { key: '30844b1044098c19553c4eca4295057f4a11c8da', icon: this.selected ? miBaselineCheckCircle : miOutlineCircle, variant: "dark", tone: "text" }, h("div", { key: 'fa16e08a71bb62d516c9304a66fbf3a753fa5683', class: "label" }, h("div", { key: '9fb479719afdb1ebc5059de1f243a33d7f45fcbd', class: "theme-preview" }, h("div", { key: '1ea92220bd3422a2834845f2332d2e07d02e829f', class: "theme-color theme-color--variant-primary" }), h("div", { key: '9668014487ad4f523f20bed4711bd01d78667b69', class: "theme-color theme-color--status-success" }), h("div", { key: 'a0db61833b779d3cd5aab5c9912b4c589ed48306', class: "theme-color theme-color--status-warning" }), h("div", { key: '33e01beea19854485d7780d92657f0c6ac89a6f5', class: "theme-color theme-color--status-error" })), this.label))));
37
+ h(Host, { key: 'd14e86d120deb8ce9c1425dafb96c93e9cba4005', onClick: this.handleClick, role: "menuitem" }, h("mds-button", { key: '60a1cf50d3875d1a6aa5493d6436edab1d96349e', icon: this.selected ? miBaselineCheckCircle : miOutlineCircle, variant: "dark", tone: "text" }, h("div", { key: 'b6cd3b716ea2bf811c90c63156ad5d57e5bd7aed', class: "label" }, h("div", { key: 'cf8468e4b9f3d3b03d5060c9531ae1035555270e', class: "theme-preview" }, h("div", { key: 'b634d507168fdec1c9536d7cac619ff1195ca9f1', class: "theme-color theme-color--variant-primary" }), h("div", { key: '67c459ade780433bde32a6a2ba302ae9814a275c', class: "theme-color theme-color--status-success" }), h("div", { key: 'e68b927681b50d439bf937c55fb33b06b01463f6', class: "theme-color theme-color--status-warning" }), h("div", { key: 'eb392e74cecbeb00d06989d3fe5650977e0328ea', class: "theme-color theme-color--status-error" })), this.label))));
37
38
  }
38
39
  };
39
40
  MdsPrefThemeItem.style = mdsPrefThemeItemCss();
@@ -17,7 +17,7 @@ function requireDayjs_min () {
17
17
  if (hasRequiredDayjs_min) return dayjs_min$1.exports;
18
18
  hasRequiredDayjs_min = 1;
19
19
  (function (module, exports) {
20
- !function(t,e){module.exports=e();}(dayjs_min,(function(){var t=1e3,e=6e4,n=36e5,r="millisecond",i="second",s="minute",u="hour",a="day",o="week",c="month",f="quarter",h="year",d="date",l="Invalid Date",$=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,y=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,M={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(t){var e=["th","st","nd","rd"],n=t%100;return "["+t+(e[(n-20)%10]||e[n]||e[0])+"]"}},m=function(t,e,n){var r=String(t);return !r||r.length>=e?t:""+Array(e+1-r.length).join(n)+t},v={s:m,z:function(t){var e=-t.utcOffset(),n=Math.abs(e),r=Math.floor(n/60),i=n%60;return (e<=0?"+":"-")+m(r,2,"0")+":"+m(i,2,"0")},m:function t(e,n){if(e.date()<n.date())return -t(n,e);var r=12*(n.year()-e.year())+(n.month()-e.month()),i=e.clone().add(r,c),s=n-i<0,u=e.clone().add(r+(s?-1:1),c);return +(-(r+(n-i)/(s?i-u:u-i))||0)},a:function(t){return t<0?Math.ceil(t)||0:Math.floor(t)},p:function(t){return {M:c,y:h,w:o,d:a,D:d,h:u,m:s,s:i,ms:r,Q:f}[t]||String(t||"").toLowerCase().replace(/s$/,"")},u:function(t){return void 0===t}},g="en",D={};D[g]=M;var p="$isDayjsObject",S=function(t){return t instanceof _||!(!t||!t[p])},w=function t(e,n,r){var i;if(!e)return g;if("string"==typeof e){var s=e.toLowerCase();D[s]&&(i=s),n&&(D[s]=n,i=s);var u=e.split("-");if(!i&&u.length>1)return t(u[0])}else {var a=e.name;D[a]=e,i=a;}return !r&&i&&(g=i),i||!r&&g},O=function(t,e){if(S(t))return t.clone();var n="object"==typeof e?e:{};return n.date=t,n.args=arguments,new _(n)},b=v;b.l=w,b.i=S,b.w=function(t,e){return O(t,{locale:e.$L,utc:e.$u,x:e.$x,$offset:e.$offset})};var _=function(){function M(t){this.$L=w(t.locale,null,true),this.parse(t),this.$x=this.$x||t.x||{},this[p]=true;}var m=M.prototype;return m.parse=function(t){this.$d=function(t){var e=t.date,n=t.utc;if(null===e)return new Date(NaN);if(b.u(e))return new Date;if(e instanceof Date)return new Date(e);if("string"==typeof e&&!/Z$/i.test(e)){var r=e.match($);if(r){var i=r[2]-1||0,s=(r[7]||"0").substring(0,3);return n?new Date(Date.UTC(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,s)):new Date(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,s)}}return new Date(e)}(t),this.init();},m.init=function(){var t=this.$d;this.$y=t.getFullYear(),this.$M=t.getMonth(),this.$D=t.getDate(),this.$W=t.getDay(),this.$H=t.getHours(),this.$m=t.getMinutes(),this.$s=t.getSeconds(),this.$ms=t.getMilliseconds();},m.$utils=function(){return b},m.isValid=function(){return !(this.$d.toString()===l)},m.isSame=function(t,e){var n=O(t);return this.startOf(e)<=n&&n<=this.endOf(e)},m.isAfter=function(t,e){return O(t)<this.startOf(e)},m.isBefore=function(t,e){return this.endOf(e)<O(t)},m.$g=function(t,e,n){return b.u(t)?this[e]:this.set(n,t)},m.unix=function(){return Math.floor(this.valueOf()/1e3)},m.valueOf=function(){return this.$d.getTime()},m.startOf=function(t,e){var n=this,r=!!b.u(e)||e,f=b.p(t),l=function(t,e){var i=b.w(n.$u?Date.UTC(n.$y,e,t):new Date(n.$y,e,t),n);return r?i:i.endOf(a)},$=function(t,e){return b.w(n.toDate()[t].apply(n.toDate("s"),(r?[0,0,0,0]:[23,59,59,999]).slice(e)),n)},y=this.$W,M=this.$M,m=this.$D,v="set"+(this.$u?"UTC":"");switch(f){case h:return r?l(1,0):l(31,11);case c:return r?l(1,M):l(0,M+1);case o:var g=this.$locale().weekStart||0,D=(y<g?y+7:y)-g;return l(r?m-D:m+(6-D),M);case a:case d:return $(v+"Hours",0);case u:return $(v+"Minutes",1);case s:return $(v+"Seconds",2);case i:return $(v+"Milliseconds",3);default:return this.clone()}},m.endOf=function(t){return this.startOf(t,false)},m.$set=function(t,e){var n,o=b.p(t),f="set"+(this.$u?"UTC":""),l=(n={},n[a]=f+"Date",n[d]=f+"Date",n[c]=f+"Month",n[h]=f+"FullYear",n[u]=f+"Hours",n[s]=f+"Minutes",n[i]=f+"Seconds",n[r]=f+"Milliseconds",n)[o],$=o===a?this.$D+(e-this.$W):e;if(o===c||o===h){var y=this.clone().set(d,1);y.$d[l]($),y.init(),this.$d=y.set(d,Math.min(this.$D,y.daysInMonth())).$d;}else l&&this.$d[l]($);return this.init(),this},m.set=function(t,e){return this.clone().$set(t,e)},m.get=function(t){return this[b.p(t)]()},m.add=function(r,f){var d,l=this;r=Number(r);var $=b.p(f),y=function(t){var e=O(l);return b.w(e.date(e.date()+Math.round(t*r)),l)};if($===c)return this.set(c,this.$M+r);if($===h)return this.set(h,this.$y+r);if($===a)return y(1);if($===o)return y(7);var M=(d={},d[s]=e,d[u]=n,d[i]=t,d)[$]||1,m=this.$d.getTime()+r*M;return b.w(m,this)},m.subtract=function(t,e){return this.add(-1*t,e)},m.format=function(t){var e=this,n=this.$locale();if(!this.isValid())return n.invalidDate||l;var r=t||"YYYY-MM-DDTHH:mm:ssZ",i=b.z(this),s=this.$H,u=this.$m,a=this.$M,o=n.weekdays,c=n.months,f=n.meridiem,h=function(t,n,i,s){return t&&(t[n]||t(e,r))||i[n].slice(0,s)},d=function(t){return b.s(s%12||12,t,"0")},$=f||function(t,e,n){var r=t<12?"AM":"PM";return n?r.toLowerCase():r};return r.replace(y,(function(t,r){return r||function(t){switch(t){case "YY":return String(e.$y).slice(-2);case "YYYY":return b.s(e.$y,4,"0");case "M":return a+1;case "MM":return b.s(a+1,2,"0");case "MMM":return h(n.monthsShort,a,c,3);case "MMMM":return h(c,a);case "D":return e.$D;case "DD":return b.s(e.$D,2,"0");case "d":return String(e.$W);case "dd":return h(n.weekdaysMin,e.$W,o,2);case "ddd":return h(n.weekdaysShort,e.$W,o,3);case "dddd":return o[e.$W];case "H":return String(s);case "HH":return b.s(s,2,"0");case "h":return d(1);case "hh":return d(2);case "a":return $(s,u,true);case "A":return $(s,u,false);case "m":return String(u);case "mm":return b.s(u,2,"0");case "s":return String(e.$s);case "ss":return b.s(e.$s,2,"0");case "SSS":return b.s(e.$ms,3,"0");case "Z":return i}return null}(t)||i.replace(":","")}))},m.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},m.diff=function(r,d,l){var $,y=this,M=b.p(d),m=O(r),v=(m.utcOffset()-this.utcOffset())*e,g=this-m,D=function(){return b.m(y,m)};switch(M){case h:$=D()/12;break;case c:$=D();break;case f:$=D()/3;break;case o:$=(g-v)/6048e5;break;case a:$=(g-v)/864e5;break;case u:$=g/n;break;case s:$=g/e;break;case i:$=g/t;break;default:$=g;}return l?$:b.a($)},m.daysInMonth=function(){return this.endOf(c).$D},m.$locale=function(){return D[this.$L]},m.locale=function(t,e){if(!t)return this.$L;var n=this.clone(),r=w(t,e,true);return r&&(n.$L=r),n},m.clone=function(){return b.w(this.$d,this)},m.toDate=function(){return new Date(this.valueOf())},m.toJSON=function(){return this.isValid()?this.toISOString():null},m.toISOString=function(){return this.$d.toISOString()},m.toString=function(){return this.$d.toUTCString()},M}(),k=_.prototype;return O.prototype=k,[["$ms",r],["$s",i],["$m",s],["$H",u],["$W",a],["$M",c],["$y",h],["$D",d]].forEach((function(t){k[t[1]]=function(e){return this.$g(e,t[0],t[1])};})),O.extend=function(t,e){return t.$i||(t(e,_,O),t.$i=true),O},O.locale=w,O.isDayjs=S,O.unix=function(t){return O(1e3*t)},O.en=D[g],O.Ls=D,O.p={},O}));
20
+ !function(t,e){module.exports=e();}(dayjs_min,(function(){var t=1e3,e=6e4,n=36e5,r="millisecond",i="second",s="minute",u="hour",a="day",o="week",c="month",f="quarter",h="year",d="date",l="Invalid Date",$=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,y=/\[([^\]]+)]|YYYY|YY|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,M={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(t){var e=["th","st","nd","rd"],n=t%100;return "["+t+(e[(n-20)%10]||e[n]||e[0])+"]"}},m=function(t,e,n){var r=String(t);return !r||r.length>=e?t:""+Array(e+1-r.length).join(n)+t},v={s:m,z:function(t){var e=-t.utcOffset(),n=Math.abs(e),r=Math.floor(n/60),i=n%60;return (e<=0?"+":"-")+m(r,2,"0")+":"+m(i,2,"0")},m:function t(e,n){if(e.date()<n.date())return -t(n,e);var r=12*(n.year()-e.year())+(n.month()-e.month()),i=e.clone().add(r,c),s=n-i<0,u=e.clone().add(r+(s?-1:1),c);return +(-(r+(n-i)/(s?i-u:u-i))||0)},a:function(t){return t<0?Math.ceil(t)||0:Math.floor(t)},p:function(t){return {M:c,y:h,w:o,d:a,D:d,h:u,m:s,s:i,ms:r,Q:f}[t]||String(t||"").toLowerCase().replace(/s$/,"")},u:function(t){return void 0===t}},g="en",D={};D[g]=M;var p="$isDayjsObject",S=function(t){return t instanceof _||!(!t||!t[p])},w=function t(e,n,r){var i;if(!e)return g;if("string"==typeof e){var s=e.toLowerCase();D[s]&&(i=s),n&&(D[s]=n,i=s);var u=e.split("-");if(!i&&u.length>1)return t(u[0])}else {var a=e.name;D[a]=e,i=a;}return !r&&i&&(g=i),i||!r&&g},O=function(t,e){if(S(t))return t.clone();var n="object"==typeof e?e:{};return n.date=t,n.args=arguments,new _(n)},b=v;b.l=w,b.i=S,b.w=function(t,e){return O(t,{locale:e.$L,utc:e.$u,x:e.$x,$offset:e.$offset})};var _=function(){function M(t){this.$L=w(t.locale,null,true),this.parse(t),this.$x=this.$x||t.x||{},this[p]=true;}var m=M.prototype;return m.parse=function(t){this.$d=function(t){var e=t.date,n=t.utc;if(null===e)return new Date(NaN);if(b.u(e))return new Date;if(e instanceof Date)return new Date(e);if("string"==typeof e&&!/Z$/i.test(e)){var r=e.match($);if(r){var i=r[2]-1||0,s=(r[7]||"0").substring(0,3);return n?new Date(Date.UTC(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,s)):new Date(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,s)}}return new Date(e)}(t),this.init();},m.init=function(){var t=this.$d;this.$y=t.getFullYear(),this.$M=t.getMonth(),this.$D=t.getDate(),this.$W=t.getDay(),this.$H=t.getHours(),this.$m=t.getMinutes(),this.$s=t.getSeconds(),this.$ms=t.getMilliseconds();},m.$utils=function(){return b},m.isValid=function(){return !(this.$d.toString()===l)},m.isSame=function(t,e){var n=O(t);return this.startOf(e)<=n&&n<=this.endOf(e)},m.isAfter=function(t,e){return O(t)<this.startOf(e)},m.isBefore=function(t,e){return this.endOf(e)<O(t)},m.$g=function(t,e,n){return b.u(t)?this[e]:this.set(n,t)},m.unix=function(){return Math.floor(this.valueOf()/1e3)},m.valueOf=function(){return this.$d.getTime()},m.startOf=function(t,e){var n=this,r=!!b.u(e)||e,f=b.p(t),l=function(t,e){var i=b.w(n.$u?Date.UTC(n.$y,e,t):new Date(n.$y,e,t),n);return r?i:i.endOf(a)},$=function(t,e){return b.w(n.toDate()[t].apply(n.toDate("s"),(r?[0,0,0,0]:[23,59,59,999]).slice(e)),n)},y=this.$W,M=this.$M,m=this.$D,v="set"+(this.$u?"UTC":"");switch(f){case h:return r?l(1,0):l(31,11);case c:return r?l(1,M):l(0,M+1);case o:var g=this.$locale().weekStart||0,D=(y<g?y+7:y)-g;return l(r?m-D:m+(6-D),M);case a:case d:return $(v+"Hours",0);case u:return $(v+"Minutes",1);case s:return $(v+"Seconds",2);case i:return $(v+"Milliseconds",3);default:return this.clone()}},m.endOf=function(t){return this.startOf(t,false)},m.$set=function(t,e){var n,o=b.p(t),f="set"+(this.$u?"UTC":""),l=(n={},n[a]=f+"Date",n[d]=f+"Date",n[c]=f+"Month",n[h]=f+"FullYear",n[u]=f+"Hours",n[s]=f+"Minutes",n[i]=f+"Seconds",n[r]=f+"Milliseconds",n)[o],$=o===a?this.$D+(e-this.$W):e;if(o===c||o===h){var y=this.clone().set(d,1);y.$d[l]($),y.init(),this.$d=y.set(d,Math.min(this.$D,y.daysInMonth())).$d;}else l&&this.$d[l]($);return this.init(),this},m.set=function(t,e){return this.clone().$set(t,e)},m.get=function(t){return this[b.p(t)]()},m.add=function(r,f){var d,l=this;r=Number(r);var $=b.p(f),y=function(t){var e=O(l);return b.w(e.date(e.date()+Math.round(t*r)),l)};if($===c)return this.set(c,this.$M+r);if($===h)return this.set(h,this.$y+r);if($===a)return y(1);if($===o)return y(7);var M=(d={},d[s]=e,d[u]=n,d[i]=t,d)[$]||1,m=this.$d.getTime()+r*M;return b.w(m,this)},m.subtract=function(t,e){return this.add(-1*t,e)},m.format=function(t){var e=this,n=this.$locale();if(!this.isValid())return n.invalidDate||l;var r=t||"YYYY-MM-DDTHH:mm:ssZ",i=b.z(this),s=this.$H,u=this.$m,a=this.$M,o=n.weekdays,c=n.months,f=n.meridiem,h=function(t,n,i,s){return t&&(t[n]||t(e,r))||i[n].slice(0,s)},d=function(t){return b.s(s%12||12,t,"0")},$=f||function(t,e,n){var r=t<12?"AM":"PM";return n?r.toLowerCase():r};return r.replace(y,(function(t,r){return r||function(t){switch(t){case "YY":return String(e.$y).slice(-2);case "YYYY":return b.s(e.$y,4,"0");case "M":return a+1;case "MM":return b.s(a+1,2,"0");case "MMM":return h(n.monthsShort,a,c,3);case "MMMM":return h(c,a);case "D":return e.$D;case "DD":return b.s(e.$D,2,"0");case "d":return String(e.$W);case "dd":return h(n.weekdaysMin,e.$W,o,2);case "ddd":return h(n.weekdaysShort,e.$W,o,3);case "dddd":return o[e.$W];case "H":return String(s);case "HH":return b.s(s,2,"0");case "h":return d(1);case "hh":return d(2);case "a":return $(s,u,true);case "A":return $(s,u,false);case "m":return String(u);case "mm":return b.s(u,2,"0");case "s":return String(e.$s);case "ss":return b.s(e.$s,2,"0");case "SSS":return b.s(e.$ms,3,"0");case "Z":return i}return null}(t)||i.replace(":","")}))},m.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},m.diff=function(r,d,l){var $,y=this,M=b.p(d),m=O(r),v=(m.utcOffset()-this.utcOffset())*e,g=this-m,D=function(){return b.m(y,m)};switch(M){case h:$=D()/12;break;case c:$=D();break;case f:$=D()/3;break;case o:$=(g-v)/6048e5;break;case a:$=(g-v)/864e5;break;case u:$=g/n;break;case s:$=g/e;break;case i:$=g/t;break;default:$=g;}return l?$:b.a($)},m.daysInMonth=function(){return this.endOf(c).$D},m.$locale=function(){return D[this.$L]},m.locale=function(t,e){if(!t)return this.$L;var n=this.clone(),r=w(t,e,true);return r&&(n.$L=r),n},m.clone=function(){return b.w(this.$d,this)},m.toDate=function(){return new Date(this.valueOf())},m.toJSON=function(){return this.isValid()?this.toISOString():null},m.toISOString=function(){return this.$d.toISOString()},m.toString=function(){return this.$d.toUTCString()},M}(),Y=_.prototype;return O.prototype=Y,[["$ms",r],["$s",i],["$m",s],["$H",u],["$W",a],["$M",c],["$y",h],["$D",d]].forEach((function(t){Y[t[1]]=function(e){return this.$g(e,t[0],t[1])};})),O.extend=function(t,e){return t.$i||(t(e,_,O),t.$i=true),O},O.locale=w,O.isDayjs=S,O.unix=function(t){return O(1e3*t)},O.en=D[g],O.Ls=D,O.p={},O}));
21
21
  } (dayjs_min$1));
22
22
  return dayjs_min$1.exports;
23
23
  }
@@ -25,11 +25,13 @@ const MdsStepperBar = class {
25
25
  this.currentItem = index - 1;
26
26
  const values = new Array();
27
27
  this.items.forEach((item, key) => {
28
+ var _a;
28
29
  item.done = false;
29
30
  if (key < this.currentItem) {
30
31
  item.done = true;
31
- if (item.value !== undefined && item.value !== '') {
32
- values.push(item.value);
32
+ const value = (_a = item.value) !== null && _a !== void 0 ? _a : '';
33
+ if (value !== '') {
34
+ values.push(value);
33
35
  }
34
36
  }
35
37
  item.current = false;
@@ -107,7 +109,7 @@ const MdsStepperBar = class {
107
109
  });
108
110
  }
109
111
  render() {
110
- return (h(Host, { key: '4ffedeb2ab33ae57a268f8f95e454a51112a1ea4' }, h("div", { key: '2f2e83f385debce8a01cdd1b3d7f31033b53408b', class: "items", part: "items" }, h("slot", { key: '1f8690320efe4ddf44946ec5cd6ff3893c9c4bc2' })), h("div", { key: '89fcbd11b441dae79f33b9d2d6f95cc794a4ae8f', class: "contents", part: "contents" }, h("slot", { key: 'd746b7f1c2ad3a26996550b84d153c90e62019b0', name: "content" }))));
112
+ return (h(Host, { key: '35f536c577499c237e0a5b1865c2dcfaa5735d72' }, h("div", { key: '5c204cc4ca343076982d3357e7645cc8770a22be', class: "items", part: "items" }, h("slot", { key: '69c3b461ada662e58051b875411781a862ff565d' })), h("div", { key: '7fb5381e1126a5227b50ecc202154e44928aab5e', class: "contents", part: "contents" }, h("slot", { key: '535d40033b20590f72e9fef336bda3ed7b06cead', name: "content" }))));
111
113
  }
112
114
  get element() { return getElement(this); }
113
115
  static get watchers() { return {
@@ -23,8 +23,9 @@ const MdsTabBarItem = class {
23
23
  }
24
24
  };
25
25
  this.onSlotChangeHandler = () => {
26
+ var _a;
26
27
  /* this should be removed in the future once slotted text is no longer used, use the label property instead */
27
- if (this.label !== undefined && this.label !== '')
28
+ if (((_a = this.label) !== null && _a !== void 0 ? _a : '') !== '')
28
29
  return;
29
30
  this.label = readSlottedLabel(this.element);
30
31
  };
@@ -39,7 +40,7 @@ const MdsTabBarItem = class {
39
40
  this.label = sanitizeLabel(newValue);
40
41
  }
41
42
  render() {
42
- return (h(Host, { key: '0939e8df4c3f7e1c452bc5be3717d8871d7c1175', onClick: this.select, "pref-animation": preferenceStore.state.animation, "pref-contrast": preferenceStore.state.contrast, "pref-mode": preferenceStore.state.mode, "pref-theme-scheme": preferenceStore.state['theme-scheme'] }, h("mds-icon", { key: '2316255b48511920535cbe9e6c07a603107c7362', name: this.icon }), h("mds-text", { key: '4f1973a0a8f280612e6924ea7c386ed1b4fc62f0', typography: this.typography }, this.label || h("slot", { key: 'bac800ae686b2ac8b95d0c452953b460af70c245', onSlotchange: this.onSlotChangeHandler }))));
43
+ return (h(Host, { key: '6e2c08fad0e04d0725ab7ef827c654cf9edecb51', onClick: this.select, "pref-animation": preferenceStore.state.animation, "pref-contrast": preferenceStore.state.contrast, "pref-mode": preferenceStore.state.mode, "pref-theme-scheme": preferenceStore.state['theme-scheme'] }, h("mds-icon", { key: 'cc8cc878d899d20532b1582ae7eb2aa459a82078', name: this.icon }), h("mds-text", { key: 'ea6030247b5999f34cd64a6a3ea8b15de66ba5ab', typography: this.typography }, this.label || h("slot", { key: 'b922dbfe1b35997ac2c9e9d384e22505838a6994', onSlotchange: this.onSlotChangeHandler }))));
43
44
  }
44
45
  get element() { return getElement(this); }
45
46
  static get watchers() { return {
@@ -40,7 +40,7 @@ const MdsTableHeaderCell = class {
40
40
  this.tableRowsDefaultSorted = Array.from(this.tableBody.children);
41
41
  };
42
42
  this.getValue = (element) => {
43
- if (element.value !== undefined &&
43
+ if (element.value != null &&
44
44
  element.value !== '' &&
45
45
  element.value !== 0 &&
46
46
  !Number.isNaN(element.value)) {
@@ -123,7 +123,7 @@ const MdsTableHeaderCell = class {
123
123
  }
124
124
  }
125
125
  render() {
126
- return (h(Host, { key: 'aa269488717b726ffd93efcc6d863e4b9474bbe8', role: "columnheader", "aria-sort": this.direction, "pref-animation": preferenceStore.state.animation }, this.sortable ? (h("mds-button", { class: "action", icon: clsx(this.direction === 'none' && miBaselineUnfoldMore, this.direction === 'ascending' && miBaselineKeyboardArrowUp, this.direction === 'descending' && miBaselineKeyboardArrowDown), "icon-position": "right", onClick: this.sort, tone: "text", variant: "dark", size: "sm", part: "action", label: this.label })) : (h("mds-text", { class: "label", typography: "label", part: "label" }, this.label))));
126
+ return (h(Host, { key: 'e7c077673fa918dfd50f25d7b341881f72eaefe2', role: "columnheader", "aria-sort": this.direction, "pref-animation": preferenceStore.state.animation }, this.sortable ? (h("mds-button", { class: "action", icon: clsx(this.direction === 'none' && miBaselineUnfoldMore, this.direction === 'ascending' && miBaselineKeyboardArrowUp, this.direction === 'descending' && miBaselineKeyboardArrowDown), "icon-position": "right", onClick: this.sort, tone: "text", variant: "dark", size: "sm", part: "action", label: this.label })) : (h("mds-text", { class: "label", typography: "label", part: "label" }, this.label))));
127
127
  }
128
128
  get element() { return getElement(this); }
129
129
  static get watchers() { return {
@@ -311,7 +311,8 @@ const MdsText = class {
311
311
  this.animateText(newValue);
312
312
  }
313
313
  render() {
314
- return (h(Host, { key: '468c9b04797da9ab100c89474a7a67313aac829b', "pref-animation": preferenceStore.state.animation }, h(this.tag, { key: '245ab42bd31cd0cb4be371f074fee956d3c1c13c', class: "text" }, this.text === undefined || this.text === '' ? h("slot", null) : this.text)));
314
+ var _a;
315
+ return (h(Host, { key: '468c9b04797da9ab100c89474a7a67313aac829b', "pref-animation": preferenceStore.state.animation }, h(this.tag, { key: '245ab42bd31cd0cb4be371f074fee956d3c1c13c', class: "text" }, ((_a = this.text) !== null && _a !== void 0 ? _a : '') === '' ? h("slot", null) : this.text)));
315
316
  }
316
317
  get host() { return getElement(this); }
317
318
  static get watchers() { return {
@@ -27,10 +27,16 @@ const MdsToast = class {
27
27
  * Sets position of toast
28
28
  */
29
29
  this.position = 'bottom-center';
30
+ // a removed attribute leaves null, which counts as no duration, like 0
31
+ this.hasDuration = () => {
32
+ var _a;
33
+ const duration = (_a = this.duration) !== null && _a !== void 0 ? _a : 0;
34
+ return duration !== 0 && !Number.isNaN(duration);
35
+ };
30
36
  this.reloadTimeListeners = (visible) => {
31
37
  if (typeof window === 'undefined')
32
38
  return;
33
- if (this.duration === undefined || this.duration === 0 || Number.isNaN(this.duration)) {
39
+ if (!this.hasDuration()) {
34
40
  return;
35
41
  }
36
42
  if (!visible) {
@@ -67,7 +73,7 @@ const MdsToast = class {
67
73
  componentWillLoad() {
68
74
  this.hasText = this.hostElement.innerHTML !== '';
69
75
  this.hasActions = hasChildWithSlot(this.hostElement, 'action');
70
- if (this.duration === undefined || this.duration === 0 || Number.isNaN(this.duration)) {
76
+ if (!this.hasDuration()) {
71
77
  return;
72
78
  }
73
79
  if (this.visible) {
@@ -84,7 +90,7 @@ const MdsToast = class {
84
90
  this.reloadTimeListeners(!!this.visible);
85
91
  }
86
92
  render() {
87
- return (h(Host, { key: '8bdaf6b4880eade87650f72ad2cf02d8d5be4724', "pref-animation": preferenceStore.state.animation, "pref-contrast": preferenceStore.state.contrast, "pref-mode": preferenceStore.state.mode, "pref-theme-scheme": preferenceStore.state['theme-scheme'] }, h("div", { key: '9d5d8972d21dbc40e265317256e2f28241af48e3', class: clsx('dialog', this.position && `to-${this.position}`, this.visible && 'dialog--visible') }, h("slot", { key: 'f256f3a18b80991a3d3286310b0cd5df0020f88f', name: "icon" }), this.hasText && (h("mds-text", { key: 'f52eba42e9bd4c0c3e3010ea401616bc44b5ac10', typography: "caption" }, h("slot", { key: 'f0b92de1ea1fe9227d5f2c04cf2bead2b925a2fd' }))), h("div", { key: '56f387b1d634e5703f9f263e3655437d3725d76e', class: clsx('actions', !this.hasActions && 'actions--hidden') }, h("slot", { key: '7bb9ad600b6768b0b3edb21846f6e472825de9c9', name: "action", onSlotchange: this.onActionSlotChange })))));
93
+ return (h(Host, { key: 'd043662b287519f10abe2a4568d2f3458b89857e', "pref-animation": preferenceStore.state.animation, "pref-contrast": preferenceStore.state.contrast, "pref-mode": preferenceStore.state.mode, "pref-theme-scheme": preferenceStore.state['theme-scheme'] }, h("div", { key: '5f8945ad6b39700172920d34c405d616c685de61', class: clsx('dialog', this.position && `to-${this.position}`, this.visible && 'dialog--visible') }, h("slot", { key: 'ad778db94450394931cfb554357e91cbf192fe66', name: "icon" }), this.hasText && (h("mds-text", { key: '43ac2cbcd4101ade9b03ec137ec36d512b9fd87e', typography: "caption" }, h("slot", { key: '4ede3cb3db5c6f096fe66ed87f05a1e2deab2b24' }))), h("div", { key: 'd811c95881d28ccba3be66605efb8197235bc1ef', class: clsx('actions', !this.hasActions && 'actions--hidden') }, h("slot", { key: '08e8d1cb3e62bf1eb104a3de3d473ca57a6991e9', name: "action", onSlotchange: this.onActionSlotChange })))));
88
94
  }
89
95
  get hostElement() { return getElement(this); }
90
96
  static get watchers() { return {
@@ -96,10 +96,10 @@ const MdsTooltip = class {
96
96
  this.floatingController.dismiss();
97
97
  }
98
98
  targetChanged() {
99
- var _a;
100
- if (this.target === '')
99
+ var _a, _b;
100
+ if (((_a = this.target) !== null && _a !== void 0 ? _a : '') === '')
101
101
  return;
102
- const caller = (_a = this.floatingController) === null || _a === void 0 ? void 0 : _a.updateCaller(this.target);
102
+ const caller = (_b = this.floatingController) === null || _b === void 0 ? void 0 : _b.updateCaller(this.target);
103
103
  if (!caller)
104
104
  return;
105
105
  this.caller = caller;
@@ -121,7 +121,7 @@ const MdsTooltip = class {
121
121
  this.floatingController.dismiss();
122
122
  }
123
123
  render() {
124
- return (h(Host, { key: '02d727ee44214d0a1f463fc6cae454141844af42', "pref-animation": preferenceStore.state.animation, "pref-contrast": preferenceStore.state.contrast, "pref-mode": preferenceStore.state.mode, "pref-theme-scheme": preferenceStore.state['theme-scheme'] }, h("div", { key: '8401f0adec5b8e074d9d9bd691ec09fdfc31fca3', class: "arrow", innerHTML: arrowSvg }), h("mds-text", { key: '9ad6ae17fdf84169c6cd7014038c51b9c0f89ff7', class: "text", typography: this.typography, part: "text" }, h("slot", { key: '6c5c19f7780e0849c7940d78a4ca1b6fe64e51d2' }))));
124
+ return (h(Host, { key: '2031b33e6cc0837318acce18e2298a4bacfc5b0b', "pref-animation": preferenceStore.state.animation, "pref-contrast": preferenceStore.state.contrast, "pref-mode": preferenceStore.state.mode, "pref-theme-scheme": preferenceStore.state['theme-scheme'] }, h("div", { key: 'ba0236540eb28111cba583fc346e4d3717ed0385', class: "arrow", innerHTML: arrowSvg }), h("mds-text", { key: '8aa8abf3be3b4ab25dc1bf4bf85d9fbdb6470639', class: "text", typography: this.typography, part: "text" }, h("slot", { key: '79d6f5b7055890731d8e861985a9de7c5df9c725' }))));
125
125
  }
126
126
  get host() { return getElement(this); }
127
127
  static get watchers() { return {
@@ -1,27 +1,30 @@
1
- var __awaiter=this&&this.__awaiter||function(e,t,n,r){function i(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function u(e){try{f(r.next(e))}catch(e){o(e)}}function s(e){try{f(r["throw"](e))}catch(e){o(e)}}function f(e){e.done?n(e.value):i(e.value).then(u,s)}f((r=r.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var n={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},r,i,o,u=Object.create((typeof Iterator==="function"?Iterator:Object).prototype);return u.next=s(0),u["throw"]=s(1),u["return"]=s(2),typeof Symbol==="function"&&(u[Symbol.iterator]=function(){return this}),u;function s(e){return function(t){return f([e,t])}}function f(s){if(r)throw new TypeError("Generator is already executing.");while(u&&(u=0,s[0]&&(n=0)),n)try{if(r=1,i&&(o=s[0]&2?i["return"]:s[0]?i["throw"]||((o=i["return"])&&o.call(i),0):i.next)&&!(o=o.call(i,s[1])).done)return o;if(i=0,o)s=[s[0]&2,o.value];switch(s[0]){case 0:case 1:o=s;break;case 4:n.label++;return{value:s[1],done:false};case 5:n.label++;i=s[1];s=[0];continue;case 7:s=n.ops.pop();n.trys.pop();continue;default:if(!(o=n.trys,o=o.length>0&&o[o.length-1])&&(s[0]===6||s[0]===2)){n=0;continue}if(s[0]===3&&(!o||s[1]>o[0]&&s[1]<o[3])){n.label=s[1];break}if(s[0]===6&&n.label<o[1]){n.label=o[1];o=s;break}if(o&&n.label<o[2]){n.label=o[2];n.ops.push(s);break}if(o[2])n.ops.pop();n.trys.pop();continue}s=t.call(e,n)}catch(e){s=[6,e];i=0}finally{r=o=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};import{B as Build}from"./index-DIiEV39g.js";function promisifyRequest(e){return new Promise((function(t,n){
1
+ var __awaiter=this&&this.__awaiter||function(t,e,n,r){function i(t){return t instanceof n?t:new n((function(e){e(t)}))}return new(n||(n=Promise))((function(n,o){function u(t){try{f(r.next(t))}catch(t){o(t)}}function s(t){try{f(r["throw"](t))}catch(t){o(t)}}function f(t){t.done?n(t.value):i(t.value).then(u,s)}f((r=r.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var n={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},r,i,o,u=Object.create((typeof Iterator==="function"?Iterator:Object).prototype);return u.next=s(0),u["throw"]=s(1),u["return"]=s(2),typeof Symbol==="function"&&(u[Symbol.iterator]=function(){return this}),u;function s(t){return function(e){return f([t,e])}}function f(s){if(r)throw new TypeError("Generator is already executing.");while(u&&(u=0,s[0]&&(n=0)),n)try{if(r=1,i&&(o=s[0]&2?i["return"]:s[0]?i["throw"]||((o=i["return"])&&o.call(i),0):i.next)&&!(o=o.call(i,s[1])).done)return o;if(i=0,o)s=[s[0]&2,o.value];switch(s[0]){case 0:case 1:o=s;break;case 4:n.label++;return{value:s[1],done:false};case 5:n.label++;i=s[1];s=[0];continue;case 7:s=n.ops.pop();n.trys.pop();continue;default:if(!(o=n.trys,o=o.length>0&&o[o.length-1])&&(s[0]===6||s[0]===2)){n=0;continue}if(s[0]===3&&(!o||s[1]>o[0]&&s[1]<o[3])){n.label=s[1];break}if(s[0]===6&&n.label<o[1]){n.label=o[1];o=s;break}if(o&&n.label<o[2]){n.label=o[2];n.ops.push(s);break}if(o[2])n.ops.pop();n.trys.pop();continue}s=e.call(t,n)}catch(t){s=[6,t];i=0}finally{r=o=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};import{B as Build}from"./index-DIiEV39g.js";function promisifyRequest(t){return new Promise((function(e,n){
2
2
  // @ts-ignore - file size hacks
3
- e.oncomplete=e.onsuccess=function(){return t(e.result)};
3
+ t.oncomplete=t.onsuccess=function(){return e(t.result)};
4
4
  // @ts-ignore - file size hacks
5
- e.onabort=e.onerror=function(){return n(e.error)}}))}function createStore(e,t){var n=indexedDB.open(e);n.onupgradeneeded=function(){return n.result.createObjectStore(t)};var r=promisifyRequest(n);return function(e,n){return r.then((function(r){return n(r.transaction(t,e).objectStore(t))}))}}var defaultGetStoreFunc;function defaultGetStore(){if(!defaultGetStoreFunc){defaultGetStoreFunc=createStore("keyval-store","keyval")}return defaultGetStoreFunc}
5
+ t.onabort=t.onerror=function(){return n(t.error)}}))}function createStore(t,e){var n;var r=function(){if(n)return n;var r=indexedDB.open(t);r.onupgradeneeded=function(){return r.result.createObjectStore(e)};n=promisifyRequest(r);n.then((function(t){
6
+ // It seems like Safari sometimes likes to just close the connection.
7
+ // It's supposed to fire this event when that happens. Let's hope it does!
8
+ t.onclose=function(){return n=undefined}}),(function(){n=undefined}));return n};return function(t,n){return r().then((function(r){return n(r.transaction(e,t).objectStore(e))}))}}var defaultGetStoreFunc;function defaultGetStore(){if(!defaultGetStoreFunc){defaultGetStoreFunc=createStore("keyval-store","keyval")}return defaultGetStoreFunc}
6
9
  /**
7
10
  * Get a value by its key.
8
11
  *
9
12
  * @param key
10
13
  * @param customStore Method to get a custom store. Use with caution (see the docs).
11
- */function get(e,t){if(t===void 0){t=defaultGetStore()}return t("readonly",(function(t){return promisifyRequest(t.get(e))}))}
14
+ */function get(t,e){if(e===void 0){e=defaultGetStore()}return e("readonly",(function(e){return promisifyRequest(e.get(t))}))}
12
15
  /**
13
16
  * Set a value with a key.
14
17
  *
15
18
  * @param key
16
19
  * @param value
17
20
  * @param customStore Method to get a custom store. Use with caution (see the docs).
18
- */function set(e,t,n){if(n===void 0){n=defaultGetStore()}return n("readwrite",(function(n){n.put(t,e);return promisifyRequest(n.transaction)}))}
21
+ */function set(t,e,n){if(n===void 0){n=defaultGetStore()}return n("readwrite",(function(n){n.put(e,t);return promisifyRequest(n.transaction)}))}
19
22
  /**
20
23
  * Delete a particular key from the store.
21
24
  *
22
25
  * @param key
23
26
  * @param customStore Method to get a custom store. Use with caution (see the docs).
24
- */function del(e,t){if(t===void 0){t=defaultGetStore()}return t("readwrite",(function(t){t.delete(e);return promisifyRequest(t.transaction)}))}var MdsIconSet=/** @class */function(){
27
+ */function del(t,e){if(e===void 0){e=defaultGetStore()}return e("readwrite",(function(e){e.delete(t);return promisifyRequest(e.transaction)}))}var MdsIconSet=/** @class */function(){
25
28
  /**
26
29
  * Create a new icon set. Icon sets have a name (ie, a namespace). For
27
30
  * example, an icon with a name of "rh-logo" represents a "logo" icon from the
@@ -33,47 +36,55 @@ e.onabort=e.onerror=function(){return n(e.error)}}))}function createStore(e,t){v
33
36
  * @param resolveIconName an optional function to combine the path and an icon name into a final path. The function will be passed the namespaced icon name (for example, "rh-api" where rh is the namespace and api is the individual icon's name)
34
37
  * @returns an object with the status of the icon set installation, such as `{ result: true, text: 'icon set installed' }` or `{ result: false, text: 'icon set is already installed' }`
35
38
  */
36
- function e(e,t,n){this.name=e;this.path=t;this._resolveIconName=n}
39
+ function t(t,e,n){this.name=t;this.path=e;this._resolveIconName=n}
37
40
  /**
38
41
  * Run the icon set's name resolver to turn an icon name into an icon path, id, etc.
39
- */e.prototype.resolveIconName=function(e){
42
+ */t.prototype.resolveIconName=function(t){
40
43
  // console.log(`resolveIconName - iconName: ${iconName} | name: ${this.name} | path: ${this.path}`)
41
- return this._resolveIconName(e,this.name,this.path)};Object.defineProperty(e.prototype,"resolver",{get:function(){return this._resolveIconName},enumerable:false,configurable:true});return e}();
44
+ return this._resolveIconName(t,this.name,this.path)};Object.defineProperty(t.prototype,"resolver",{get:function(){return this._resolveIconName},enumerable:false,configurable:true});return t}();
42
45
  // Shared, cross-realm key for the configured SVG base path. Stencil emits several bundled
43
46
  // copies of this singleton (lazy chunks, the esm/esm-es5 variants, dist/components, and the
44
47
  // public `services` entry); `Symbol.for` returns the same symbol in every copy, so storing
45
48
  // the path under it on `globalThis` gives them all one source of truth.
46
- var SVG_PATH_GLOBAL=Symbol.for("@maggioli-design-system/magma:mdsIconSvgPath");var IconsSetController=/** @class */function(){function e(){var e=this;this._svgPathKey="mdsIconSvgPath";this._iconsSets=new Map;this._svgPathUpdate="mdsIconSvgPathUpdate";this.cacheExp=60*60*1e3*24;this.listeners=[];this.memoryCache={};
49
+ var SVG_PATH_GLOBAL=Symbol.for("@maggioli-design-system/magma:mdsIconSvgPath");var IconsSetController=/** @class */function(){function t(){var t=this;this._svgPathKey="mdsIconSvgPath";this._iconsSets=new Map;this._svgPathUpdate="mdsIconSvgPathUpdate";this.cacheExp=60*60*1e3*24;this.listeners=new Set;this.memoryCache={};
47
50
  // Try to retrieve svg from cache
48
- this.isCacheAvailable=function(t){return __awaiter(e,void 0,void 0,(function(){var e,n,r;return __generator(this,(function(i){switch(i.label){case 0:
51
+ this.isCacheAvailable=function(e){return __awaiter(t,void 0,void 0,(function(){var t,n,r;return __generator(this,(function(i){switch(i.label){case 0:
49
52
  // idb-keyval requires indexedDB, missing in the hydrate/SSR runtime
50
- if(typeof indexedDB==="undefined"){return[2/*return*/,false]}i.label=1;case 1:i.trys.push([1,3,,4]);return[4/*yield*/,get("loader_".concat(t))];case 2:e=i.sent();if(!e){return[2/*return*/,false]}n=JSON.parse(e);if(Date.now()<n.expiry){return[2/*return*/,n.data]}del("loader_".concat(t));return[2/*return*/,false];case 3:r=i.sent();console.error("isCacheAvailable error",r);return[2/*return*/,false];case 4:return[2/*return*/]}}))}))};
53
+ if(typeof indexedDB==="undefined"){return[2/*return*/,false]}i.label=1;case 1:i.trys.push([1,3,,4]);return[4/*yield*/,get("loader_".concat(e))];case 2:t=i.sent();if(!t){return[2/*return*/,false]}n=JSON.parse(t);if(Date.now()<n.expiry){return[2/*return*/,n.data]}del("loader_".concat(e));return[2/*return*/,false];case 3:r=i.sent();console.error("isCacheAvailable error",r);return[2/*return*/,false];case 4:return[2/*return*/]}}))}))};
51
54
  // Set svg to cache
52
- this.setCache=function(t,n){return __awaiter(e,void 0,void 0,(function(){var e;return __generator(this,(function(r){switch(r.label){case 0:if(typeof indexedDB==="undefined"){return[2/*return*/]}r.label=1;case 1:r.trys.push([1,3,,4]);return[4/*yield*/,set("loader_".concat(t),JSON.stringify({data:n,expiry:Date.now()+this.cacheExp}))];case 2:r.sent();return[3/*break*/,4];case 3:e=r.sent();console.error("setCache error",e);return[3/*break*/,4];case 4:return[2/*return*/]}}))}))};this.setUpListener()}Object.defineProperty(e.prototype,"_svgPath",{
55
+ this.setCache=function(e,n){return __awaiter(t,void 0,void 0,(function(){var t;return __generator(this,(function(r){switch(r.label){case 0:if(typeof indexedDB==="undefined"){return[2/*return*/]}r.label=1;case 1:r.trys.push([1,3,,4]);return[4/*yield*/,set("loader_".concat(e),JSON.stringify({data:n,expiry:Date.now()+this.cacheExp}))];case 2:r.sent();return[3/*break*/,4];case 3:t=r.sent();console.error("setCache error",t);return[3/*break*/,4];case 4:return[2/*return*/]}}))}))};this.setUpListener()}Object.defineProperty(t.prototype,"_svgPath",{
53
56
  // Backed by `globalThis` (see SVG_PATH_GLOBAL) rather than an instance field, so that every
54
57
  // bundled copy of this singleton reads/writes the same path and stays in sync regardless of
55
58
  // how the consumer imports the service. No sessionStorage involved.
56
- get:function(){var e;if(typeof globalThis==="undefined")return"";return(e=globalThis[SVG_PATH_GLOBAL])!==null&&e!==void 0?e:""},set:function(e){if(typeof globalThis==="undefined")return;globalThis[SVG_PATH_GLOBAL]=e},enumerable:false,configurable:true});e.prototype.addIconSet=function(e,t,n){var r=n;var i=this._iconsSets.get(e);if(!r&&i&&typeof i.resolver==="function"){r=i.resolver}else if(r&&typeof r!=="function"){console.error("MdsIconSvg: the third input of addIconSet should be a function that parses and returns the icons's filename.");return false}else if(!r){console.error("MdsIconSvg: the set ".concat(e," needs a resolve function for the icon names."));return false}this._iconsSets.set(e,new MdsIconSet(e,t,r));return true};e.prototype.getIconSet=function(e){if(!e)return{set:null};return{set:this._iconsSets.get(e.split("/")[0])}};
59
+ get:function(){var t;if(typeof globalThis==="undefined")return"";return(t=globalThis[SVG_PATH_GLOBAL])!==null&&t!==void 0?t:""},set:function(t){if(typeof globalThis==="undefined")return;globalThis[SVG_PATH_GLOBAL]=t},enumerable:false,configurable:true});t.prototype.addIconSet=function(t,e,n){var r=n;var i=this._iconsSets.get(t);if(!r&&i&&typeof i.resolver==="function"){r=i.resolver}else if(r&&typeof r!=="function"){console.error("MdsIconSvg: the third input of addIconSet should be a function that parses and returns the icons's filename.");return false}else if(!r){console.error("MdsIconSvg: the set ".concat(t," needs a resolve function for the icon names."));return false}this._iconsSets.set(t,new MdsIconSet(t,e,r));return true};t.prototype.getIconSet=function(t){if(!t)return{set:null};return{set:this._iconsSets.get(t.split("/")[0])}};
57
60
  /**
58
- * recognize svg path pattern and set host and svgPath variable
61
+ * Sets the directory of the svg files. Query and fragment are dropped: the icon name is
62
+ * appended to the path.
59
63
  *
60
- * input path: https://www.abc.com/svg/path
61
- * svgPath = https://www.abc.com/svg/path
64
+ * input path: https://www.abc.com/svg/path/
65
+ * svgPath = https://www.abc.com/svg/path/
62
66
  *
63
- * input path: localhost:9000/svg/path
64
- * svgPath = localhost:9000/svg/path
67
+ * input path: localhost:9000/svg/path/
68
+ * svgPath = //localhost:9000/svg/path/ (with the protocol of the page)
65
69
  *
66
- * input path: /svg/path
67
- * svgPath = {window.location.host}/svg/path
70
+ * input path: /svg/path/ or svg/path/
71
+ * svgPath = unchanged, resolved by `fetch` against the document base URL on each request
68
72
  *
69
- * input path: svg/path
73
+ * input path: empty or not a URL
70
74
  * throw error
71
- *
72
- */e.prototype.setSvgPath=function(e){var t=/^(((https?:\/\/)?[.\w]+(:\d+)?)|\/)([\w/-]+)*/;var n=t.exec(e);if(!n){throw Error("Svg path not recognize ".concat(e,", ensure is a absolute path starting with '/' or a url"))}if(typeof window!=="undefined"){this._svgPath=n[1]?n[0]:window.location.origin.concat(n[0]);window.dispatchEvent(new Event(this._svgPathUpdate))}};e.prototype.getSvgPath=function(){return this._svgPath};e.prototype.registerListener=function(e){this.listeners.push(e)};e.prototype.setUpListener=function(){var e=this;if(typeof window!=="undefined"){window.addEventListener(this._svgPathUpdate,(function(){for(var t=0,n=e.listeners;t<n.length;t++){var r=n[t];r()}}))}};e.prototype.fetchSvg=function(e){return __awaiter(this,void 0,void 0,(function(){var t,n,r,i,o,u,s,f;return __generator(this,(function(a){switch(a.label){case 0:
75
+ */t.prototype.setSvgPath=function(t){var e=Error("Svg path not recognize ".concat(t,", ensure is a absolute path starting with '/' or a url"));if(typeof t!=="string"||t.trim()===""){throw e}var n=t.trim();
76
+ // a host with a port and no scheme (`localhost:9000/svg/`) would be read as the scheme `localhost:`
77
+ var r=/^[\w.-]+:\d+(\/|$)/.test(n)?"//".concat(n):n;var i;try{
78
+ // the placeholder base only validates a path, which is kept as it is
79
+ i=new URL(r,"http://localhost/")}catch(t){throw e}if(typeof window!=="undefined"){if(/^[a-z][a-z\d+.-]*:/i.test(r)){i.search="";i.hash="";this._svgPath=i.href}else{this._svgPath=r.replace(/[?#].*$/,"")}window.dispatchEvent(new Event(this._svgPathUpdate))}};t.prototype.getSvgPath=function(){return this._svgPath};t.prototype.registerListener=function(t){this.listeners.add(t)};t.prototype.unregisterListener=function(t){this.listeners.delete(t)};t.prototype.setUpListener=function(){var t=this;if(typeof window!=="undefined"){window.addEventListener(this._svgPathUpdate,(function(){for(var e=0,n=t.listeners;e<n.length;e++){var r=n[e];r()}}))}};t.prototype.fetchSvg=function(t){return __awaiter(this,void 0,void 0,(function(){var e,n,r,i,o,u,s,f;return __generator(this,(function(a){switch(a.label){case 0:
73
80
  // No fetch during SSR: relative icon paths have no origin to resolve
74
81
  // against, and the client re-fetches after hydration anyway. The empty
75
82
  // icon causes no layout shift because mds-icon's :host reserves the box
76
83
  // (aspect-ratio + width). Spec tests also run with isServer=true but mock
77
84
  // fetch, so they are excluded via isTesting.
78
- if(Build.isServer&&!Build.isTesting){return[2/*return*/,""]}a.label=1;case 1:a.trys.push([1,5,,6]);if(!this._svgPath&&typeof window==="undefined"){throw Error("Cant find svgPath, ensure you set it")}if(!this._svgPath){n="";try{n=(t=window.sessionStorage.getItem(IconsSetService._svgPathKey))!==null&&t!==void 0?t:""}catch(e){
79
- /* sessionStorage unavailable — ignore */}if(n){this.setSvgPath(n)}}r=this._svgPath&&!e.startsWith("http")?this._svgPath.concat(e,".svg"):e;return[4/*yield*/,this.isCacheAvailable(r)];case 2:i=a.sent();if(this.memoryCache[r]||i){return[2/*return*/,this.memoryCache[r]||i]}return[4/*yield*/,fetch(r)];case 3:o=a.sent();if(!o.ok){throw Error("Request for '".concat(r,"' returned ").concat(o.status," (").concat(o.statusText,")"))}return[4/*yield*/,o.text()];case 4:u=a.sent();s=u.toLowerCase().trim();if(!(s.startsWith("<svg")||s.startsWith("<?xml"))){throw Error("Resource '".concat(r,"' returned an invalid SVG file"))}this.setCache(r,u);this.memoryCache[r]=u;return[2/*return*/,u];case 5:f=a.sent();console.error("fetchSvg error",f);return[2/*return*/,""];case 6:return[2/*return*/]}}))}))};return e}();var IconsSetService=new IconsSetController;export{IconsSetService};
85
+ if(Build.isServer&&!Build.isTesting){return[2/*return*/,""]}
86
+ // an icon without the attribute passes an undefined (or null) name: there is nothing to load
87
+ if(!t){return[2/*return*/,""]}a.label=1;case 1:a.trys.push([1,5,,6]);if(!this._svgPath&&typeof window==="undefined"){throw Error("Cant find svgPath, ensure you set it")}if(!this._svgPath){n="";try{n=(e=window.sessionStorage.getItem(IconsSetService._svgPathKey))!==null&&e!==void 0?e:""}catch(t){
88
+ /* sessionStorage unavailable — ignore */}if(n){this.setSvgPath(n)}}r=this._svgPath&&!t.startsWith("http")?this._svgPath.concat(t,".svg"):t;
89
+ // Memory first: every instance of an icon already loaded skips the IndexedDB round-trip
90
+ if(this.memoryCache[r]){return[2/*return*/,this.memoryCache[r]]}return[4/*yield*/,this.isCacheAvailable(r)];case 2:i=a.sent();if(i){this.memoryCache[r]=i;return[2/*return*/,i]}return[4/*yield*/,fetch(r)];case 3:o=a.sent();if(!o.ok){throw Error("Request for '".concat(r,"' returned ").concat(o.status," (").concat(o.statusText,")"))}return[4/*yield*/,o.text()];case 4:u=a.sent();s=u.toLowerCase().trim();if(!(s.startsWith("<svg")||s.startsWith("<?xml"))){throw Error("Resource '".concat(r,"' returned an invalid SVG file"))}this.setCache(r,u);this.memoryCache[r]=u;return[2/*return*/,u];case 5:f=a.sent();console.error("fetchSvg error",f);return[2/*return*/,""];case 6:return[2/*return*/]}}))}))};return t}();var IconsSetService=new IconsSetController;export{IconsSetService};
@@ -0,0 +1,6 @@
1
+ import{f as fileExtensionsDictionary}from"./file-extensions-BxIk5ZFV.js";import{m as miBaselinePanorama}from"./panorama-b1ORvfSX.js";var baselineFolderZip='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M20 6h-8l-2-2H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2zm-2 6h-2v2h2v2h-2v2h-2v-2h2v-2h-2v-2h2v-2h-2V8h2v2h2v2z"/></svg>';var baselineAttachFile='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M16.5 6v11.5c0 2.21-1.79 4-4 4s-4-1.79-4-4V5a2.5 2.5 0 0 1 5 0v10.5c0 .55-.45 1-1 1s-1-.45-1-1V6H10v9.5a2.5 2.5 0 0 0 5 0V5c0-2.21-1.79-4-4-4S7 2.79 7 5v12.5c0 3.04 2.46 5.5 5.5 5.5s5.5-2.46 5.5-5.5V6h-1.5z"/></svg>';var baselineAudiotrack='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M12 3v9.28a4.39 4.39 0 0 0-1.5-.28C8.01 12 6 14.01 6 16.5S8.01 21 10.5 21c2.31 0 4.2-1.75 4.45-4H15V6h4V3h-7z"/></svg>';var baselineTerminal='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M20 4H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h16c1.1 0 2-.9 2-2V6a2 2 0 0 0-2-2zm0 14H4V8h16v10zm-2-1h-6v-2h6v2zM7.5 17l-1.41-1.41L8.67 13l-2.59-2.59L7.5 9l4 4l-4 4z"/></svg>';var baselineInsertDriveFile='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M6 2c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8l-6-6H6zm7 7V3.5L18.5 9H13z"/></svg>';var mdiLicense='<svg xmlns="http://www.w3.org/2000/svg" id="mdi-license" viewBox="0 0 24 24"><path d="M9 10A3.04 3.04 0 0 1 12 7A3.04 3.04 0 0 1 15 10A3.04 3.04 0 0 1 12 13A3.04 3.04 0 0 1 9 10M12 19L16 20V16.92A7.54 7.54 0 0 1 12 18A7.54 7.54 0 0 1 8 16.92V20M12 4A5.78 5.78 0 0 0 7.76 5.74A5.78 5.78 0 0 0 6 10A5.78 5.78 0 0 0 7.76 14.23A5.78 5.78 0 0 0 12 16A5.78 5.78 0 0 0 16.24 14.23A5.78 5.78 0 0 0 18 10A5.78 5.78 0 0 0 16.24 5.74A5.78 5.78 0 0 0 12 4M20 10A8.04 8.04 0 0 1 19.43 12.8A7.84 7.84 0 0 1 18 15.28V23L12 21L6 23V15.28A7.9 7.9 0 0 1 4 10A7.68 7.68 0 0 1 6.33 4.36A7.73 7.73 0 0 1 12 2A7.73 7.73 0 0 1 17.67 4.36A7.68 7.68 0 0 1 20 10Z" /></svg>';var mdiHardDisk='<svg xmlns="http://www.w3.org/2000/svg" id="mdi-harddisk" viewBox="0 0 24 24"><path d="M6,2H18A2,2 0 0,1 20,4V20A2,2 0 0,1 18,22H6A2,2 0 0,1 4,20V4A2,2 0 0,1 6,2M12,4A6,6 0 0,0 6,10C6,13.31 8.69,16 12.1,16L11.22,13.77C10.95,13.29 11.11,12.68 11.59,12.4L12.45,11.9C12.93,11.63 13.54,11.79 13.82,12.27L15.74,14.69C17.12,13.59 18,11.9 18,10A6,6 0 0,0 12,4M12,9A1,1 0 0,1 13,10A1,1 0 0,1 12,11A1,1 0 0,1 11,10A1,1 0 0,1 12,9M7,18A1,1 0 0,0 6,19A1,1 0 0,0 7,20A1,1 0 0,0 8,19A1,1 0 0,0 7,18M12.09,13.27L14.58,19.58L17.17,18.08L12.95,12.77L12.09,13.27Z" /></svg>';var baselineEmail='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4l-8 5l-8-5V6l8 5l8-5v2z"/></svg>';var baselineWysiwyg='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M19 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14c1.1 0 2-.9 2-2V5a2 2 0 0 0-2-2zm0 16H5V7h14v12zm-2-7H7v-2h10v2zm-4 4H7v-2h6v2z"/></svg>';var baselineWeb='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm-5 14H4v-4h11v4zm0-5H4V9h11v4zm5 5h-4V9h4v9z"/></svg>';var baselineTV='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M21 3H3c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h5v2h8v-2h5c1.1 0 1.99-.9 1.99-2L23 5c0-1.1-.9-2-2-2zm0 14H3V5h18v12z"/></svg>';var baselineBorderAll='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M3 3v18h18V3H3zm8 16H5v-6h6v6zm0-8H5V5h6v6zm8 8h-6v-6h6v6zm0-8h-6V5h6v6z"/></svg>';var baselineDescription='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M14 2H6c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8l-6-6zm2 16H8v-2h8v2zm0-4H8v-2h8v2zm-3-5V3.5L18.5 9H13z"/></svg>';var mdiVectorCurve='<svg xmlns="http://www.w3.org/2000/svg" id="mdi-vector-curve" viewBox="0 0 24 24"><path d="M18.5,2A1.5,1.5 0 0,1 20,3.5A1.5,1.5 0 0,1 18.5,5C18.27,5 18.05,4.95 17.85,4.85L14.16,8.55L14.5,9C16.69,7.74 19.26,7 22,7L23,7.03V9.04L22,9C19.42,9 17,9.75 15,11.04A3.96,3.96 0 0,1 11.04,15C9.75,17 9,19.42 9,22L9.04,23H7.03L7,22C7,19.26 7.74,16.69 9,14.5L8.55,14.16L4.85,17.85C4.95,18.05 5,18.27 5,18.5A1.5,1.5 0 0,1 3.5,20A1.5,1.5 0 0,1 2,18.5A1.5,1.5 0 0,1 3.5,17C3.73,17 3.95,17.05 4.15,17.15L7.84,13.45C7.31,12.78 7,11.92 7,11A4,4 0 0,1 11,7C11.92,7 12.78,7.31 13.45,7.84L17.15,4.15C17.05,3.95 17,3.73 17,3.5A1.5,1.5 0 0,1 18.5,2M11,9A2,2 0 0,0 9,11A2,2 0 0,0 11,13A2,2 0 0,0 13,11A2,2 0 0,0 11,9Z" /></svg>';var baselineVideocam='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M17 10.5V7c0-.55-.45-1-1-1H4c-.55 0-1 .45-1 1v10c0 .55.45 1 1 1h12c.55 0 1-.45 1-1v-3.5l4 4v-11l-4 4z"/></svg>';var fileFormatsVariant={archive:{icon:baselineFolderZip,variant:"amaranth"},attachment:{icon:baselineAttachFile,variant:"dark"},audio:{icon:baselineAudiotrack,variant:"violet"},certificate:{icon:mdiLicense,variant:"orange"},code:{icon:baselineTerminal,variant:"yellow"},data:{icon:mdiHardDisk,variant:"yellow"},document:{icon:baselineInsertDriveFile,variant:"orange"},email:{icon:baselineEmail,variant:"blue"},executable:{icon:baselineWysiwyg,variant:"amaranth"},image:{icon:miBaselinePanorama,variant:"green"},imageRaster:{icon:miBaselinePanorama,variant:"green"},markup:{icon:baselineWeb,variant:"yellow"},slide:{icon:baselineTV,variant:"orchid"},spreadsheet:{icon:baselineBorderAll,variant:"lime"},text:{icon:baselineDescription,variant:"blue"},vectorImage:{icon:mdiVectorCurve,variant:"aqua"},vector:{icon:mdiVectorCurve,variant:"aqua"},video:{icon:baselineVideocam,variant:"violet"}};var sanitizeFilename=function(e,i){if(i===void 0){i='Attribute "filename" is undefined.'}var a;if(e===undefined){throw console.error(i)}if(e.includes("/")){return(a=e.split("/").pop())!==null&&a!==void 0?a:""}return e};
2
+ /**
3
+ * Index of the dot that separates the name from the extension: the last one, so that the dots
4
+ * inside the name are kept (`report.v2.final.docx`). A leading dot is part of the name
5
+ * (`.env` has no extension). Returns -1 when the filename has no extension.
6
+ */var getExtensionSeparator=function(e){var i=e.lastIndexOf(".");return i>0?i:-1};var sanitizeSuffix=function(e){var i=sanitizeFilename(e);var a=getExtensionSeparator(i);return a===-1?i:i.slice(a+1)};var getName=function(e){var i=sanitizeFilename(e);var a=getExtensionSeparator(i);return a===-1?i:i.slice(0,a)};var getSuffix=function(e,i){var a=sanitizeSuffix(e);var o=sanitizeFilename(e);if(i!==null&&i!==undefined){return i.toLowerCase()}if(a!==o){return a}return"default"};var getExtensionInfos=function(e,i){var a;var o=getSuffix(e,i).toLocaleLowerCase();return(a=fileExtensionsDictionary[o])!==null&&a!==void 0?a:fileExtensionsDictionary.default};var getFormatsVariant=function(e,i){return fileFormatsVariant[getExtensionInfos(e,i).format]};var appleDiskImage$3="Εικόνα δίσκου Apple";var certificateTSD$3="Πιστοποιητικό χρονικής σήμανσης";var compressedArchive$3="Συμπιεσμένο αρχείο";var compressedAudio$3="Συμπιεσμένος ήχος";var compressedDocumentMS$3="Συμπιεσμένο έγγραφο Microsoft Word";var compressedImage$3="Συμπιεσμένη εικόνα";var dart$3="Αρχείο Dart";var documentAdobe$3="Έγγραφο Adobe";var documentDigitalSingnature$3="Έγγραφο με ψηφιακή υπογραφή";var documentLO$3="Έγγραφο LibreOffice";var documentMS$3="Έγγραφο Microsoft Word";var documentRTF$3="Έγγραφο μορφής εμπλουτισμένου κειμένου";var documentTXT$3="Απλό έγγραφο κειμένου";var documentWeb$3="Ιστοσελίδα";var email$3="Ηλεκτρονικό ταχυδρομείο";var extensibleMarkupLanguage$3="Γλώσσα σήμανσης για δεδομένα";var fileAI$3="Διανυσματικό αρχείο Adobe Illustrator";var fileDB$3="Αρχείο βάσης δεδομένων";var fileEPS$3="Διανυσματικό αρχείο Corel Draw";var fileEXE$3="Εκτελέσιμο αρχείο Windows";var fileJS$3="Αρχείο JavaScript";var fileJSON$3="Αρχείο JavaScript Object Notation";var filePHP$3="Αρχείο Hypertext Preprocessor";var fileSASS$3="Αρχείο Syntactically Awesome StyleSheets";var fileTS$3="Αρχείο TypeScript";var fileTSX$3="Αρχείο TypeScript Extended Syntax";var imageHEIC$3="Μορφή αρχείου εικόνας υψηλής αποδοτικότητας";var imagePNG$3="Εικόνα Portable Network Graphics";var imageSVG$3="Διανυσματική εικόνα Scalable Vector Graphics";var imageTIFF$3="Εικόνα Tag Image File Format";var imageWEBP$3="Εικόνα Google Web Picture";var objectLinkingAndEmbedding$3="Σύνδεση και ενσωμάτωση αντικειμένων";var openDocumentFormat$3="Έγγραφο OpenDocument";var slideLO$3="Διαφάνεια παρουσίασης LibreOffice";var slidePowerPoint$3="Διαφάνεια παρουσίασης PowerPoint";var spreadsheetLO$3="Υπολογιστικό φύλλο LibreOffice";var spreadsheetMS$3="Υπολογιστικό φύλλο Microsoft Office";var uncompressedArchive$3="Μη συμπιεσμένο αρχείο";var uncompressedAudio$3="Μη συμπιεσμένος ήχος";var unknown$3="Άγνωστη μορφή αρχείου";var videoHD$3="Βίντεο υψηλής ανάλυσης";var videoSD$3="Βίντεο χαμηλής ανάλυσης";var fileDescriptionLocaleEl={appleDiskImage:appleDiskImage$3,certificateTSD:certificateTSD$3,compressedArchive:compressedArchive$3,compressedAudio:compressedAudio$3,compressedDocumentMS:compressedDocumentMS$3,compressedImage:compressedImage$3,dart:dart$3,documentAdobe:documentAdobe$3,documentDigitalSingnature:documentDigitalSingnature$3,documentLO:documentLO$3,documentMS:documentMS$3,documentRTF:documentRTF$3,documentTXT:documentTXT$3,documentWeb:documentWeb$3,email:email$3,extensibleMarkupLanguage:extensibleMarkupLanguage$3,fileAI:fileAI$3,fileDB:fileDB$3,fileEPS:fileEPS$3,fileEXE:fileEXE$3,fileJS:fileJS$3,fileJSON:fileJSON$3,filePHP:filePHP$3,fileSASS:fileSASS$3,fileTS:fileTS$3,fileTSX:fileTSX$3,imageHEIC:imageHEIC$3,imagePNG:imagePNG$3,imageSVG:imageSVG$3,imageTIFF:imageTIFF$3,imageWEBP:imageWEBP$3,objectLinkingAndEmbedding:objectLinkingAndEmbedding$3,openDocumentFormat:openDocumentFormat$3,slideLO:slideLO$3,slidePowerPoint:slidePowerPoint$3,spreadsheetLO:spreadsheetLO$3,spreadsheetMS:spreadsheetMS$3,uncompressedArchive:uncompressedArchive$3,uncompressedAudio:uncompressedAudio$3,unknown:unknown$3,videoHD:videoHD$3,videoSD:videoSD$3};var appleDiskImage$2="Apple Disk Image";var certificateTSD$2="Timestamp Certificate";var compressedArchive$2="Compressed Archive";var compressedAudio$2="Compressed Audio";var compressedDocumentMS$2="Compressed Microsoft Word Document";var compressedImage$2="Compressed Image";var dart$2="Dart File";var documentAdobe$2="Adobe Document";var documentDigitalSingnature$2="Document with digital signature";var documentLO$2="LibreOffice Document";var documentMS$2="Microsoft Word Document";var documentRTF$2="Rich Text Format Document";var documentTXT$2="Plain Text Document";var documentWeb$2="Web Page";var email$2="E-mail";var extensibleMarkupLanguage$2="Markup language for data";var fileAI$2="Adobe Illustrator Vector File";var fileDB$2="Database File";var fileEPS$2="Corel Draw Vector File";var fileEXE$2="Windows Executable File";var fileJS$2="JavaScript File";var fileJSON$2="JavaScript Object Notation File";var filePHP$2="Hypertext Preprocessor File";var fileSASS$2="Syntactically Awesome StyleSheets File";var fileTS$2="TypeScript File";var fileTSX$2="TypeScript Extended Syntax File";var imageHEIC$2="High Efficiency Image File Format";var imagePNG$2="Portable Network Graphics Image";var imageSVG$2="Scalable Vector Graphics Image";var imageTIFF$2="Tag Image File Format Image";var imageWEBP$2="Google Web Picture Image";var objectLinkingAndEmbedding$2="Object Linking and Embedding";var openDocumentFormat$2="OpenDocument Document";var slideLO$2="LibreOffice Presentation Slide";var slidePowerPoint$2="PowerPoint Presentation Slide";var spreadsheetLO$2="LibreOffice Spreadsheet";var spreadsheetMS$2="Microsoft Office Spreadsheet";var uncompressedArchive$2="Uncompressed Archive";var uncompressedAudio$2="Uncompressed Audio";var unknown$2="Unknown File Format";var videoHD$2="High Definition Video";var videoSD$2="Standard Definition Video";var fileDescriptionLocaleEn={appleDiskImage:appleDiskImage$2,certificateTSD:certificateTSD$2,compressedArchive:compressedArchive$2,compressedAudio:compressedAudio$2,compressedDocumentMS:compressedDocumentMS$2,compressedImage:compressedImage$2,dart:dart$2,documentAdobe:documentAdobe$2,documentDigitalSingnature:documentDigitalSingnature$2,documentLO:documentLO$2,documentMS:documentMS$2,documentRTF:documentRTF$2,documentTXT:documentTXT$2,documentWeb:documentWeb$2,email:email$2,extensibleMarkupLanguage:extensibleMarkupLanguage$2,fileAI:fileAI$2,fileDB:fileDB$2,fileEPS:fileEPS$2,fileEXE:fileEXE$2,fileJS:fileJS$2,fileJSON:fileJSON$2,filePHP:filePHP$2,fileSASS:fileSASS$2,fileTS:fileTS$2,fileTSX:fileTSX$2,imageHEIC:imageHEIC$2,imagePNG:imagePNG$2,imageSVG:imageSVG$2,imageTIFF:imageTIFF$2,imageWEBP:imageWEBP$2,objectLinkingAndEmbedding:objectLinkingAndEmbedding$2,openDocumentFormat:openDocumentFormat$2,slideLO:slideLO$2,slidePowerPoint:slidePowerPoint$2,spreadsheetLO:spreadsheetLO$2,spreadsheetMS:spreadsheetMS$2,uncompressedArchive:uncompressedArchive$2,uncompressedAudio:uncompressedAudio$2,unknown:unknown$2,videoHD:videoHD$2,videoSD:videoSD$2};var appleDiskImage$1="Imagen de disco Apple";var certificateTSD$1="Certificado de sello de tiempo";var compressedArchive$1="Archivo comprimido";var compressedAudio$1="Audio comprimido";var compressedDocumentMS$1="Documento comprimido de Microsoft Word";var compressedImage$1="Imagen comprimida";var dart$1="Archivo Dart";var documentAdobe$1="Documento Adobe";var documentDigitalSingnature$1="Documento con firma digital";var documentLO$1="Documento de LibreOffice";var documentMS$1="Documento de Microsoft Word";var documentRTF$1="Documento de formato de texto enriquecido";var documentTXT$1="Documento de texto sin formato";var documentWeb$1="Página web";var email$1="Correo electrónico";var extensibleMarkupLanguage$1="Lenguaje de marcado para datos";var fileAI$1="Archivo vectorial de Adobe Illustrator";var fileDB$1="Archivo de base de datos";var fileEPS$1="Archivo vectorial de Corel Draw";var fileEXE$1="Archivo ejecutable de Windows";var fileJS$1="Archivo JavaScript";var fileJSON$1="Archivo de notación de objetos de JavaScript";var filePHP$1="Archivo de preprocesador de hipertexto";var fileSASS$1="Archivo de Syntactically Awesome StyleSheets";var fileTS$1="Archivo TypeScript";var fileTSX$1="Archivo de sintaxis extendida de TypeScript";var imageHEIC$1="Formato de archivo de imagen de alta eficiencia";var imagePNG$1="Imagen Portable Network Graphics";var imageSVG$1="Imagen de gráficos vectoriales escalables";var imageTIFF$1="Imagen de formato de archivo de imagen etiquetado";var imageWEBP$1="Imagen Google Web Picture";var objectLinkingAndEmbedding$1="Vinculación e incrustación de objetos";var openDocumentFormat$1="Documento OpenDocument";var slideLO$1="Diapositiva de presentación de LibreOffice";var slidePowerPoint$1="Diapositiva de presentación de PowerPoint";var spreadsheetLO$1="Hoja de cálculo de LibreOffice";var spreadsheetMS$1="Hoja de cálculo de Microsoft Office";var uncompressedArchive$1="Archivo no comprimido";var uncompressedAudio$1="Audio no comprimido";var unknown$1="Formato de archivo desconocido";var videoHD$1="Video de alta definición";var videoSD$1="Video de definición estándar";var fileDescriptionLocaleEs={appleDiskImage:appleDiskImage$1,certificateTSD:certificateTSD$1,compressedArchive:compressedArchive$1,compressedAudio:compressedAudio$1,compressedDocumentMS:compressedDocumentMS$1,compressedImage:compressedImage$1,dart:dart$1,documentAdobe:documentAdobe$1,documentDigitalSingnature:documentDigitalSingnature$1,documentLO:documentLO$1,documentMS:documentMS$1,documentRTF:documentRTF$1,documentTXT:documentTXT$1,documentWeb:documentWeb$1,email:email$1,extensibleMarkupLanguage:extensibleMarkupLanguage$1,fileAI:fileAI$1,fileDB:fileDB$1,fileEPS:fileEPS$1,fileEXE:fileEXE$1,fileJS:fileJS$1,fileJSON:fileJSON$1,filePHP:filePHP$1,fileSASS:fileSASS$1,fileTS:fileTS$1,fileTSX:fileTSX$1,imageHEIC:imageHEIC$1,imagePNG:imagePNG$1,imageSVG:imageSVG$1,imageTIFF:imageTIFF$1,imageWEBP:imageWEBP$1,objectLinkingAndEmbedding:objectLinkingAndEmbedding$1,openDocumentFormat:openDocumentFormat$1,slideLO:slideLO$1,slidePowerPoint:slidePowerPoint$1,spreadsheetLO:spreadsheetLO$1,spreadsheetMS:spreadsheetMS$1,uncompressedArchive:uncompressedArchive$1,uncompressedAudio:uncompressedAudio$1,unknown:unknown$1,videoHD:videoHD$1,videoSD:videoSD$1};var appleDiskImage="Immagine Disco Apple";var certificateTSD="Marca temporale";var compressedArchive="Archivio compresso";var compressedAudio="Audio compresso";var compressedDocumentMS="Documento di testo Microsoft Word Compresso";var compressedImage="Immagine compressa";var dart="File Dart";var documentAdobe="Documento Adobe";var documentDigitalSingnature="Documento con firma digitale";var documentLO="Documento di testo LibreOffice";var documentMS="Documento di testo Microsoft Word";var documentRTF="Documento di testo Rich Text Format";var documentTXT="Documento di testo senza formattazione";var documentWeb="Pagina web";var email="E-mail";var extensibleMarkupLanguage="Linguaggio markup per dati";var fileAI="File vettoriale Adobe Illustrator";var fileDB="File di database";var fileEPS="File vettoriale Corel Draw";var fileEXE="File eseguibile Windows";var fileJS="File JavaScript";var fileJSON="File JavaScript Object Notation";var filePHP="File Hypertext Preprocessor";var fileSASS="File Syntactically Awesome StyleSheets";var fileTS="File TypeScript";var fileTSX="File TypeScript Extended Syntax";var imageHEIC="High Efficiency Image File Format";var imagePNG="Immagine Portable Network Graphics";var imageSVG="Immagine vettoriale Scalable Vector Graphics";var imageTIFF="Immagine Tag Image File Format";var imageWEBP="Immagine Google Web Picture";var objectLinkingAndEmbedding="Integrazione oggetti nei file";var openDocumentFormat="Documento OpenDocument";var slideLO="Slide di presentazione LibreOffice";var slidePowerPoint="Slide di presentazione PowerPoint";var spreadsheetLO="Foglio di calcolo LibreOffice";var spreadsheetMS="Foglio di calcolo Office";var uncompressedArchive="Archivio non compresso";var uncompressedAudio="Audio non compresso";var unknown="Formato file sconosciuto";var videoHD="Filmato HD ad alta risoluzione";var videoSD="Filmato SD a bassa risoluzione";var fileDescriptionLocaleIt={appleDiskImage:appleDiskImage,certificateTSD:certificateTSD,compressedArchive:compressedArchive,compressedAudio:compressedAudio,compressedDocumentMS:compressedDocumentMS,compressedImage:compressedImage,dart:dart,documentAdobe:documentAdobe,documentDigitalSingnature:documentDigitalSingnature,documentLO:documentLO,documentMS:documentMS,documentRTF:documentRTF,documentTXT:documentTXT,documentWeb:documentWeb,email:email,extensibleMarkupLanguage:extensibleMarkupLanguage,fileAI:fileAI,fileDB:fileDB,fileEPS:fileEPS,fileEXE:fileEXE,fileJS:fileJS,fileJSON:fileJSON,filePHP:filePHP,fileSASS:fileSASS,fileTS:fileTS,fileTSX:fileTSX,imageHEIC:imageHEIC,imagePNG:imagePNG,imageSVG:imageSVG,imageTIFF:imageTIFF,imageWEBP:imageWEBP,objectLinkingAndEmbedding:objectLinkingAndEmbedding,openDocumentFormat:openDocumentFormat,slideLO:slideLO,slidePowerPoint:slidePowerPoint,spreadsheetLO:spreadsheetLO,spreadsheetMS:spreadsheetMS,uncompressedArchive:uncompressedArchive,uncompressedAudio:uncompressedAudio,unknown:unknown,videoHD:videoHD,videoSD:videoSD};export{fileDescriptionLocaleEs as a,fileDescriptionLocaleEn as b,fileDescriptionLocaleEl as c,getSuffix as d,getFormatsVariant as e,fileDescriptionLocaleIt as f,getExtensionInfos as g,getName as h};