@banzamel/mineralui 1.4.0 → 1.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (431) hide show
  1. package/README.md +1 -1
  2. package/dist/{MAvatar-B0uPeciT.js → MAvatar-CnBVN71i.js} +5 -5
  3. package/dist/{MAvatar-B0uPeciT.js.map → MAvatar-CnBVN71i.js.map} +1 -1
  4. package/dist/MAvatar-DGEQqUss.cjs +2 -0
  5. package/dist/{MAvatar-DlFdIi6R.cjs.map → MAvatar-DGEQqUss.cjs.map} +1 -1
  6. package/dist/{MBadge-5PivwWxe.js → MBadge-C_vK2JdM.js} +3 -3
  7. package/dist/{MBadge-5PivwWxe.js.map → MBadge-C_vK2JdM.js.map} +1 -1
  8. package/dist/MBadge-DcIPfPH1.cjs +2 -0
  9. package/dist/{MBadge-DNqOptef.cjs.map → MBadge-DcIPfPH1.cjs.map} +1 -1
  10. package/dist/{MButton-Bfe4iq51.js → MButton-BpSZUhpY.js} +4 -4
  11. package/dist/{MButton-Bfe4iq51.js.map → MButton-BpSZUhpY.js.map} +1 -1
  12. package/dist/MButton-LUNWBBOV.cjs +2 -0
  13. package/dist/{MButton-CtEFKjYZ.cjs.map → MButton-LUNWBBOV.cjs.map} +1 -1
  14. package/dist/{MCheckbox-B7SpcD4H.js → MCheckbox-CNz73bQC.js} +3 -3
  15. package/dist/{MCheckbox-B7SpcD4H.js.map → MCheckbox-CNz73bQC.js.map} +1 -1
  16. package/dist/MCheckbox-PzknJeM2.cjs +2 -0
  17. package/dist/{MCheckbox-Bea3orrs.cjs.map → MCheckbox-PzknJeM2.cjs.map} +1 -1
  18. package/dist/{MDataTable-D0ONRmcC.js → MDataTable-AH5Tnirs.js} +7 -7
  19. package/dist/{MDataTable-D0ONRmcC.js.map → MDataTable-AH5Tnirs.js.map} +1 -1
  20. package/dist/MDataTable-Bq6UoNJX.cjs +2 -0
  21. package/dist/{MDataTable-CVwnVouZ.cjs.map → MDataTable-Bq6UoNJX.cjs.map} +1 -1
  22. package/dist/{MDrawer-C7rLXC_O.js → MDrawer-C08QXXC4.js} +4 -4
  23. package/dist/{MDrawer-C7rLXC_O.js.map → MDrawer-C08QXXC4.js.map} +1 -1
  24. package/dist/MDrawer-DRqMsjMt.cjs +2 -0
  25. package/dist/{MDrawer-DF42-zF2.cjs.map → MDrawer-DRqMsjMt.cjs.map} +1 -1
  26. package/dist/{MDropdownMenu-CxBhYxQb.js → MDropdownMenu-CMnBt-wO.js} +4 -4
  27. package/dist/{MDropdownMenu-CxBhYxQb.js.map → MDropdownMenu-CMnBt-wO.js.map} +1 -1
  28. package/dist/MDropdownMenu-CymCQqyP.cjs +2 -0
  29. package/dist/{MDropdownMenu-X7ywPqth.cjs.map → MDropdownMenu-CymCQqyP.cjs.map} +1 -1
  30. package/dist/MGalleryIllustration-BHtRFizZ.cjs +2 -0
  31. package/dist/{MGalleryIllustration-CeOMHzpt.cjs.map → MGalleryIllustration-BHtRFizZ.cjs.map} +1 -1
  32. package/dist/{MGalleryIllustration-D7CVMSwO.js → MGalleryIllustration-DhOtXwhC.js} +2 -2
  33. package/dist/{MGalleryIllustration-D7CVMSwO.js.map → MGalleryIllustration-DhOtXwhC.js.map} +1 -1
  34. package/dist/{MHeading-DBS5Kytw.js → MHeading-BvpWyvjj.js} +4 -4
  35. package/dist/{MHeading-DBS5Kytw.js.map → MHeading-BvpWyvjj.js.map} +1 -1
  36. package/dist/MHeading-DHT1gORD.cjs +2 -0
  37. package/dist/{MHeading-XCMJNMYB.cjs.map → MHeading-DHT1gORD.cjs.map} +1 -1
  38. package/dist/{MI18nProvider-VH14CI8u.js → MI18nProvider-BRZxEMqL.js} +1 -1
  39. package/dist/{MI18nProvider-VH14CI8u.js.map → MI18nProvider-BRZxEMqL.js.map} +1 -1
  40. package/dist/MI18nProvider-Bml7Vs2-.cjs +2 -0
  41. package/dist/{MI18nProvider-4ji0oN3U.cjs.map → MI18nProvider-Bml7Vs2-.cjs.map} +1 -1
  42. package/dist/MImage-BQs91GK-.js +252 -0
  43. package/dist/MImage-BQs91GK-.js.map +1 -0
  44. package/dist/MImage-CxeuH-cT.cjs +2 -0
  45. package/dist/MImage-CxeuH-cT.cjs.map +1 -0
  46. package/dist/MInline-D9p9Sazp.cjs +2 -0
  47. package/dist/MInline-D9p9Sazp.cjs.map +1 -0
  48. package/dist/MInline-DA_ehefx.js +39 -0
  49. package/dist/MInline-DA_ehefx.js.map +1 -0
  50. package/dist/MInput-DDZ71Qqn.cjs +2 -0
  51. package/dist/{MInput-CpEJQ9SV.cjs.map → MInput-DDZ71Qqn.cjs.map} +1 -1
  52. package/dist/{MInput-iKIeefss.js → MInput-l3MY93Su.js} +6 -6
  53. package/dist/{MInput-iKIeefss.js.map → MInput-l3MY93Su.js.map} +1 -1
  54. package/dist/{MInputCVC-BpGTqkQx.js → MInputCVC-CN91scmw.js} +5 -5
  55. package/dist/{MInputCVC-BpGTqkQx.js.map → MInputCVC-CN91scmw.js.map} +1 -1
  56. package/dist/MInputCVC-Sp2uZ5aO.cjs +2 -0
  57. package/dist/{MInputCVC-BuGwm7fv.cjs.map → MInputCVC-Sp2uZ5aO.cjs.map} +1 -1
  58. package/dist/MInputSearch-30o4bcDC.cjs +2 -0
  59. package/dist/{MInputSearch-B-Lqr-QG.cjs.map → MInputSearch-30o4bcDC.cjs.map} +1 -1
  60. package/dist/{MInputSearch-y3_ihYRj.js → MInputSearch-CdPfJ4v_.js} +4 -4
  61. package/dist/{MInputSearch-y3_ihYRj.js.map → MInputSearch-CdPfJ4v_.js.map} +1 -1
  62. package/dist/{MLink-tcICJfPn.js → MLink-CRUWGES-.js} +3 -3
  63. package/dist/{MLink-tcICJfPn.js.map → MLink-CRUWGES-.js.map} +1 -1
  64. package/dist/MLink-U_wAUuz1.cjs +2 -0
  65. package/dist/{MLink-7hndQLKM.cjs.map → MLink-U_wAUuz1.cjs.map} +1 -1
  66. package/dist/{MModal-___Rw8YK.js → MModal-CHSo5gKE.js} +3 -3
  67. package/dist/{MModal-___Rw8YK.js.map → MModal-CHSo5gKE.js.map} +1 -1
  68. package/dist/MModal-Czy-rR--.cjs +2 -0
  69. package/dist/{MModal-DlnT3BBp.cjs.map → MModal-Czy-rR--.cjs.map} +1 -1
  70. package/dist/MPagination-73z0sQvf.cjs +2 -0
  71. package/dist/{MPagination-CTtr_L-Q.cjs.map → MPagination-73z0sQvf.cjs.map} +1 -1
  72. package/dist/{MPagination-CzJGko3i.js → MPagination-DdT1uNzD.js} +8 -8
  73. package/dist/{MPagination-CzJGko3i.js.map → MPagination-DdT1uNzD.js.map} +1 -1
  74. package/dist/{MPopover-BC9C5967.js → MPopover-3tjz5lKh.js} +2 -2
  75. package/dist/{MPopover-BC9C5967.js.map → MPopover-3tjz5lKh.js.map} +1 -1
  76. package/dist/MPopover-BW23_1Dl.cjs +2 -0
  77. package/dist/{MPopover-C3-fGAke.cjs.map → MPopover-BW23_1Dl.cjs.map} +1 -1
  78. package/dist/MPortal-DE3pL2Xl.cjs +2 -0
  79. package/dist/{MPortal-PyRKsZxc.cjs.map → MPortal-DE3pL2Xl.cjs.map} +1 -1
  80. package/dist/MQrCode-CMoru4dD.cjs +2 -0
  81. package/dist/{MQrCode-Cha7657D.cjs.map → MQrCode-CMoru4dD.cjs.map} +1 -1
  82. package/dist/{MQrCode-B7jbpcUj.js → MQrCode-DK5-SBhN.js} +12 -12
  83. package/dist/{MQrCode-B7jbpcUj.js.map → MQrCode-DK5-SBhN.js.map} +1 -1
  84. package/dist/MSkeleton-B0Mxe3L7.cjs +2 -0
  85. package/dist/{MSkeleton-BAkzwxOS.cjs.map → MSkeleton-B0Mxe3L7.cjs.map} +1 -1
  86. package/dist/{MSkeleton-Cwa-JRxo.js → MSkeleton-Bqq_XJn8.js} +4 -4
  87. package/dist/{MSkeleton-Cwa-JRxo.js.map → MSkeleton-Bqq_XJn8.js.map} +1 -1
  88. package/dist/{MSlider-CqrusKJQ.js → MSlider-ByVuoFFc.js} +2 -2
  89. package/dist/{MSlider-CqrusKJQ.js.map → MSlider-ByVuoFFc.js.map} +1 -1
  90. package/dist/MSlider-sH2Vt9Lw.cjs +2 -0
  91. package/dist/{MSlider-BCMJkvcA.cjs.map → MSlider-sH2Vt9Lw.cjs.map} +1 -1
  92. package/dist/MSparkline-B-ld7hJu.cjs +2 -0
  93. package/dist/{MSparkline-BOaNmbeB.cjs.map → MSparkline-B-ld7hJu.cjs.map} +1 -1
  94. package/dist/{MSparkline-Cb_EwR-E.js → MSparkline-DbtdM0W6.js} +2 -2
  95. package/dist/{MSparkline-Cb_EwR-E.js.map → MSparkline-DbtdM0W6.js.map} +1 -1
  96. package/dist/MStack-BWarX5O9.js +39 -0
  97. package/dist/MStack-BWarX5O9.js.map +1 -0
  98. package/dist/MStack-Cy2GplIA.cjs +2 -0
  99. package/dist/MStack-Cy2GplIA.cjs.map +1 -0
  100. package/dist/{MSubText-CHvUFOlt.js → MSubText-C9VizSn9.js} +4 -4
  101. package/dist/{MSubText-CHvUFOlt.js.map → MSubText-C9VizSn9.js.map} +1 -1
  102. package/dist/MSubText-DP9WYlwz.cjs +2 -0
  103. package/dist/{MSubText-Dg3PKnwI.cjs.map → MSubText-DP9WYlwz.cjs.map} +1 -1
  104. package/dist/MSurface-C467dVMQ.cjs +2 -0
  105. package/dist/MSurface-C467dVMQ.cjs.map +1 -0
  106. package/dist/MSurface-DfZ1Zy1-.js +39 -0
  107. package/dist/MSurface-DfZ1Zy1-.js.map +1 -0
  108. package/dist/MTag-DXqkBvqx.cjs +2 -0
  109. package/dist/{MTag-BxoSuAOj.cjs.map → MTag-DXqkBvqx.cjs.map} +1 -1
  110. package/dist/{MTag-CjaE6vPj.js → MTag-N-tYZ915.js} +5 -5
  111. package/dist/{MTag-CjaE6vPj.js.map → MTag-N-tYZ915.js.map} +1 -1
  112. package/dist/{MText-hHMgVJ4-.js → MText-B7_HjPym.js} +3 -3
  113. package/dist/{MText-hHMgVJ4-.js.map → MText-B7_HjPym.js.map} +1 -1
  114. package/dist/MText-COzub3y4.cjs +2 -0
  115. package/dist/{MText-CWHwmjs8.cjs.map → MText-COzub3y4.cjs.map} +1 -1
  116. package/dist/{MTimeAgo-xxl53mct.js → MTimeAgo-D1G2yovw.js} +3 -3
  117. package/dist/{MTimeAgo-xxl53mct.js.map → MTimeAgo-D1G2yovw.js.map} +1 -1
  118. package/dist/MTimeAgo-DWwXs48z.cjs +2 -0
  119. package/dist/{MTimeAgo-91_ndjxU.cjs.map → MTimeAgo-DWwXs48z.cjs.map} +1 -1
  120. package/dist/MToggle-Cm3f6gm4.cjs +2 -0
  121. package/dist/{MToggle-CsGS_W3X.cjs.map → MToggle-Cm3f6gm4.cjs.map} +1 -1
  122. package/dist/{MToggle-B6emKoKq.js → MToggle-D0DrQirB.js} +3 -3
  123. package/dist/{MToggle-B6emKoKq.js.map → MToggle-D0DrQirB.js.map} +1 -1
  124. package/dist/MTooltip-C3PeHgV3.cjs +2 -0
  125. package/dist/{MTooltip-CNXoyQEN.cjs.map → MTooltip-C3PeHgV3.cjs.map} +1 -1
  126. package/dist/{MTooltip-UYOjDBOu.js → MTooltip-w6Aj044c.js} +2 -2
  127. package/dist/{MTooltip-UYOjDBOu.js.map → MTooltip-w6Aj044c.js.map} +1 -1
  128. package/dist/cards-B75QM9JW.cjs +2 -0
  129. package/dist/{cards-CTegCxIA.cjs.map → cards-B75QM9JW.cjs.map} +1 -1
  130. package/dist/{cards-1--Cy-KV.js → cards-BKi8MxNx.js} +272 -272
  131. package/dist/{cards-1--Cy-KV.js.map → cards-BKi8MxNx.js.map} +1 -1
  132. package/dist/cards.cjs +1 -1
  133. package/dist/cards.js +2 -2
  134. package/dist/chunk-350yNsax.cjs +1 -0
  135. package/dist/chunk-efA98nb6.js +13 -0
  136. package/dist/{cn-YER3QsV1.js → cn-CUSXNnjF.js} +1 -1
  137. package/dist/{cn-YER3QsV1.js.map → cn-CUSXNnjF.js.map} +1 -1
  138. package/dist/{cn-CU5TNITO.cjs → cn-DYFxgzi2.cjs} +1 -1
  139. package/dist/{cn-CU5TNITO.cjs.map → cn-DYFxgzi2.cjs.map} +1 -1
  140. package/dist/components/display/MCodeBlock/MCodeBlock.d.ts +2 -0
  141. package/dist/components/display/MCodeBlock/MCodeBlock.types.d.ts +15 -0
  142. package/dist/components/display/MCodeBlock/index.d.ts +2 -0
  143. package/dist/components/display/MReveal/MReveal.d.ts +2 -0
  144. package/dist/components/display/MReveal/MReveal.types.d.ts +14 -0
  145. package/dist/components/display/MReveal/index.d.ts +2 -0
  146. package/dist/components/display/index.d.ts +4 -0
  147. package/dist/components/layout/MGrid/MGrid.d.ts +7 -3
  148. package/dist/components/layout/MGrid/MGrid.types.d.ts +1 -2
  149. package/dist/components/layout/MInline/MInline.d.ts +1 -1
  150. package/dist/components/layout/MInline/MInline.types.d.ts +0 -2
  151. package/dist/components/layout/MSection/MSection.d.ts +1 -1
  152. package/dist/components/layout/MSection/MSection.types.d.ts +0 -2
  153. package/dist/components/layout/MStack/MStack.d.ts +1 -1
  154. package/dist/components/layout/MStack/MStack.types.d.ts +0 -2
  155. package/dist/components/layout/MSurface/MSurface.d.ts +1 -1
  156. package/dist/components/layout/MSurface/MSurface.types.d.ts +0 -2
  157. package/dist/components/media/MGallery/MGallery.d.ts +1 -1
  158. package/dist/components/media/MGallery/MGallery.types.d.ts +3 -0
  159. package/dist/components/media/MImage/MImage.d.ts +1 -1
  160. package/dist/components/media/MImage/MImage.types.d.ts +4 -0
  161. package/dist/components/media/MMediaLightbox/MMediaLightbox.d.ts +14 -0
  162. package/dist/components/media/index.d.ts +1 -0
  163. package/dist/components/media/mediaInteraction.d.ts +3 -0
  164. package/dist/components/media/mediaPreviewRegistry.d.ts +7 -0
  165. package/dist/controls-B7wV_kjJ.cjs +2 -0
  166. package/dist/{controls-CAab2nyg.cjs.map → controls-B7wV_kjJ.cjs.map} +1 -1
  167. package/dist/{controls-C0qr_vMu.js → controls-BEi-0mf4.js} +6 -6
  168. package/dist/{controls-C0qr_vMu.js.map → controls-BEi-0mf4.js.map} +1 -1
  169. package/dist/controls.cjs +1 -1
  170. package/dist/controls.js +5 -5
  171. package/dist/{creditCards-ljs044xt.cjs → creditCards-198KJN0s.cjs} +1 -1
  172. package/dist/{creditCards-ljs044xt.cjs.map → creditCards-198KJN0s.cjs.map} +1 -1
  173. package/dist/{creditCards-CCysEwry.js → creditCards-BB11bW7D.js} +1 -1
  174. package/dist/{creditCards-CCysEwry.js.map → creditCards-BB11bW7D.js.map} +1 -1
  175. package/dist/data-DHkccnSN.cjs +2 -0
  176. package/dist/{data-Uy_XSs32.cjs.map → data-DHkccnSN.cjs.map} +1 -1
  177. package/dist/{data-z3Uc9FSI.js → data-DKrj_Hx6.js} +738 -738
  178. package/dist/{data-z3Uc9FSI.js.map → data-DKrj_Hx6.js.map} +1 -1
  179. package/dist/data.cjs +1 -1
  180. package/dist/data.js +3 -3
  181. package/dist/{dateUtils-CUY6CRCf.js → dateUtils-Ben8lfvV.js} +1 -1
  182. package/dist/{dateUtils-CUY6CRCf.js.map → dateUtils-Ben8lfvV.js.map} +1 -1
  183. package/dist/{dateUtils-Dq1vaA-D.cjs → dateUtils-vT9rOf1J.cjs} +1 -1
  184. package/dist/{dateUtils-Dq1vaA-D.cjs.map → dateUtils-vT9rOf1J.cjs.map} +1 -1
  185. package/dist/display-BoXtzMg5.cjs +3 -0
  186. package/dist/display-BoXtzMg5.cjs.map +1 -0
  187. package/dist/display-Xqa2Qns3.js +685 -0
  188. package/dist/display-Xqa2Qns3.js.map +1 -0
  189. package/dist/display.cjs +1 -1
  190. package/dist/display.js +4 -4
  191. package/dist/{dropdowns-FQlxsOYd.js → dropdowns-BKnXb1XJ.js} +63 -63
  192. package/dist/{dropdowns-FQlxsOYd.js.map → dropdowns-BKnXb1XJ.js.map} +1 -1
  193. package/dist/dropdowns-cRrLY8FG.cjs +2 -0
  194. package/dist/{dropdowns-CzqyYQwR.cjs.map → dropdowns-cRrLY8FG.cjs.map} +1 -1
  195. package/dist/dropdowns.cjs +1 -1
  196. package/dist/dropdowns.js +1 -1
  197. package/dist/{feedback-xtBDPbzP.js → feedback-CIXmm0XT.js} +28 -28
  198. package/dist/{feedback-xtBDPbzP.js.map → feedback-CIXmm0XT.js.map} +1 -1
  199. package/dist/feedback-DiMptPJy.cjs +2 -0
  200. package/dist/{feedback-C9z4MZ-V.cjs.map → feedback-DiMptPJy.cjs.map} +1 -1
  201. package/dist/feedback.cjs +1 -1
  202. package/dist/feedback.js +5 -5
  203. package/dist/form-DABPazeN.cjs +2 -0
  204. package/dist/{form-6JwrowsS.cjs.map → form-DABPazeN.cjs.map} +1 -1
  205. package/dist/{form-CFWADsyf.js → form-DZJxDW59.js} +2 -2
  206. package/dist/{form-CFWADsyf.js.map → form-DZJxDW59.js.map} +1 -1
  207. package/dist/form.cjs +1 -1
  208. package/dist/form.js +1 -1
  209. package/dist/{formatters-CNjg_h7-.cjs → formatters-CauWlsnM.cjs} +1 -1
  210. package/dist/{formatters-CNjg_h7-.cjs.map → formatters-CauWlsnM.cjs.map} +1 -1
  211. package/dist/{formatters-T0vvjMtB.js → formatters-Doqdu_w1.js} +1 -1
  212. package/dist/{formatters-T0vvjMtB.js.map → formatters-Doqdu_w1.js.map} +1 -1
  213. package/dist/frameworkTexts-DPX5T2x3.cjs +2 -0
  214. package/dist/{frameworkTexts-C_9KZK_A.cjs.map → frameworkTexts-DPX5T2x3.cjs.map} +1 -1
  215. package/dist/{frameworkTexts-B6oE8pMk.js → frameworkTexts-DzujbRBe.js} +2 -2
  216. package/dist/{frameworkTexts-B6oE8pMk.js.map → frameworkTexts-DzujbRBe.js.map} +1 -1
  217. package/dist/i18n.cjs +1 -1
  218. package/dist/i18n.js +1 -1
  219. package/dist/icons/MIconV2Scenes.d.ts +2 -1
  220. package/dist/icons/glyphs/MBrandIconsV2.d.ts +2 -0
  221. package/dist/icons/index.d.ts +1 -0
  222. package/dist/icons-BJCV7W0L.cjs +2 -0
  223. package/dist/icons-BJCV7W0L.cjs.map +1 -0
  224. package/dist/{icons-D5DK-J2C.js → icons-DlNO04xH.js} +335 -239
  225. package/dist/icons-DlNO04xH.js.map +1 -0
  226. package/dist/icons.cjs +1 -1
  227. package/dist/icons.js +2 -2
  228. package/dist/illustrations.cjs +1 -1
  229. package/dist/illustrations.js +1 -1
  230. package/dist/index.cjs +1 -1
  231. package/dist/index.d.ts +0 -2
  232. package/dist/index.js +57 -58
  233. package/dist/{inputs-gB1ET0dG.js → inputs-CmpB6eyB.js} +163 -163
  234. package/dist/{inputs-gB1ET0dG.js.map → inputs-CmpB6eyB.js.map} +1 -1
  235. package/dist/inputs-EZBwxk7j.cjs +2 -0
  236. package/dist/{inputs-z84nU7A8.cjs.map → inputs-EZBwxk7j.cjs.map} +1 -1
  237. package/dist/inputs.cjs +1 -1
  238. package/dist/inputs.js +4 -4
  239. package/dist/{layout-DHVIqY-O.js → layout-D72Y7VcW.js} +309 -277
  240. package/dist/layout-D72Y7VcW.js.map +1 -0
  241. package/dist/layout-DZiWboju.cjs +2 -0
  242. package/dist/layout-DZiWboju.cjs.map +1 -0
  243. package/dist/layout.cjs +1 -1
  244. package/dist/layout.js +5 -5
  245. package/dist/{licensing-CwzqhHH9.js → licensing-Cbpi1toF.js} +1 -1
  246. package/dist/{licensing-CwzqhHH9.js.map → licensing-Cbpi1toF.js.map} +1 -1
  247. package/dist/licensing-JchPJhVY.cjs +2 -0
  248. package/dist/{licensing-BXFauUj_.cjs.map → licensing-JchPJhVY.cjs.map} +1 -1
  249. package/dist/locale-DIwV_GfN.cjs +2 -0
  250. package/dist/{locale-BltrWJtd.cjs.map → locale-DIwV_GfN.cjs.map} +1 -1
  251. package/dist/media-BlGY91Na.js +431 -0
  252. package/dist/media-BlGY91Na.js.map +1 -0
  253. package/dist/media-p643cb02.cjs +2 -0
  254. package/dist/media-p643cb02.cjs.map +1 -0
  255. package/dist/media.cjs +1 -1
  256. package/dist/media.js +3 -3
  257. package/dist/{overlays-_zOs7GGk.js → overlays-51pBvlf9.js} +6 -6
  258. package/dist/{overlays-_zOs7GGk.js.map → overlays-51pBvlf9.js.map} +1 -1
  259. package/dist/overlays-8htlWp07.cjs +2 -0
  260. package/dist/{overlays-7HBAQneO.cjs.map → overlays-8htlWp07.cjs.map} +1 -1
  261. package/dist/overlays.cjs +1 -1
  262. package/dist/overlays.js +5 -5
  263. package/dist/primitives.cjs +1 -1
  264. package/dist/primitives.js +1 -1
  265. package/dist/prism-bash-DSVvpDwH.cjs +2 -0
  266. package/dist/prism-bash-DSVvpDwH.cjs.map +1 -0
  267. package/dist/prism-bash-GQKgVScr.js +177 -0
  268. package/dist/prism-bash-GQKgVScr.js.map +1 -0
  269. package/dist/prism-clike-D3g4BfTi.js +30 -0
  270. package/dist/prism-clike-D3g4BfTi.js.map +1 -0
  271. package/dist/prism-clike-wkj9YeLx.cjs +2 -0
  272. package/dist/prism-clike-wkj9YeLx.cjs.map +1 -0
  273. package/dist/prism-core-DV2K1D4T.js +299 -0
  274. package/dist/prism-core-DV2K1D4T.js.map +1 -0
  275. package/dist/prism-core-LzKRJzwD.cjs +2 -0
  276. package/dist/prism-core-LzKRJzwD.cjs.map +1 -0
  277. package/dist/prism-css-4cDqr1x6.js +57 -0
  278. package/dist/prism-css-4cDqr1x6.js.map +1 -0
  279. package/dist/prism-css-BZZ6kh29.cjs +2 -0
  280. package/dist/prism-css-BZZ6kh29.cjs.map +1 -0
  281. package/dist/prism-javascript-CMvYmmlX.cjs +2 -0
  282. package/dist/prism-javascript-CMvYmmlX.cjs.map +1 -0
  283. package/dist/prism-javascript-zm5iB3gQ.js +103 -0
  284. package/dist/prism-javascript-zm5iB3gQ.js.map +1 -0
  285. package/dist/prism-json-BJI5f6tN.js +27 -0
  286. package/dist/prism-json-BJI5f6tN.js.map +1 -0
  287. package/dist/prism-json-D_zmeAHJ.cjs +2 -0
  288. package/dist/prism-json-D_zmeAHJ.cjs.map +1 -0
  289. package/dist/prism-jsx-Byyxdkmw.cjs +2 -0
  290. package/dist/prism-jsx-Byyxdkmw.cjs.map +1 -0
  291. package/dist/prism-jsx-Dk33B94U.js +48 -0
  292. package/dist/prism-jsx-Dk33B94U.js.map +1 -0
  293. package/dist/prism-markup-7d9NWx3c.cjs +2 -0
  294. package/dist/prism-markup-7d9NWx3c.cjs.map +1 -0
  295. package/dist/prism-markup-Cj0PLFM8.js +118 -0
  296. package/dist/prism-markup-Cj0PLFM8.js.map +1 -0
  297. package/dist/prism-markup-templating-BM_XViUy.cjs +2 -0
  298. package/dist/prism-markup-templating-BM_XViUy.cjs.map +1 -0
  299. package/dist/prism-markup-templating-Dc6p1a24.js +41 -0
  300. package/dist/prism-markup-templating-Dc6p1a24.js.map +1 -0
  301. package/dist/prism-php-CGE55yTu.js +279 -0
  302. package/dist/prism-php-CGE55yTu.js.map +1 -0
  303. package/dist/prism-php-C_g4bp0C.cjs +2 -0
  304. package/dist/prism-php-C_g4bp0C.cjs.map +1 -0
  305. package/dist/prism-tsx-Buubi-AJ.cjs +2 -0
  306. package/dist/prism-tsx-Buubi-AJ.cjs.map +1 -0
  307. package/dist/prism-tsx-CueLxs1r.js +10 -0
  308. package/dist/prism-tsx-CueLxs1r.js.map +1 -0
  309. package/dist/prism-typescript-Cj7wU8T7.cjs +2 -0
  310. package/dist/prism-typescript-Cj7wU8T7.cjs.map +1 -0
  311. package/dist/prism-typescript-DC-urVo-.js +40 -0
  312. package/dist/prism-typescript-DC-urVo-.js.map +1 -0
  313. package/dist/{relativeTime-Cr-NVzij.js → relativeTime-BqCuaBqb.js} +1 -1
  314. package/dist/{relativeTime-Cr-NVzij.js.map → relativeTime-BqCuaBqb.js.map} +1 -1
  315. package/dist/{relativeTime-DgYBUaVm.cjs → relativeTime-DUbW4O44.cjs} +1 -1
  316. package/dist/{relativeTime-DgYBUaVm.cjs.map → relativeTime-DUbW4O44.cjs.map} +1 -1
  317. package/dist/style-runtime.cjs +1 -1
  318. package/dist/style-runtime.js +1 -1
  319. package/dist/styles.css +1 -1
  320. package/dist/theme/responsive.d.ts +1 -1
  321. package/dist/theme-Bnwe-wvr.cjs +2 -0
  322. package/dist/{theme-B9iSuxqh.cjs.map → theme-Bnwe-wvr.cjs.map} +1 -1
  323. package/dist/{theme-XRUdoLqw.js → theme-KYwqDZxJ.js} +2 -2
  324. package/dist/{theme-XRUdoLqw.js.map → theme-KYwqDZxJ.js.map} +1 -1
  325. package/dist/theme.cjs +1 -1
  326. package/dist/theme.js +1 -1
  327. package/dist/typography-D1s-QFlb.cjs +2 -0
  328. package/dist/{typography-D0dyVQlP.cjs.map → typography-D1s-QFlb.cjs.map} +1 -1
  329. package/dist/{typography-Db_SHI0H.js → typography-FCWA0UOB.js} +3 -3
  330. package/dist/{typography-Db_SHI0H.js.map → typography-FCWA0UOB.js.map} +1 -1
  331. package/dist/typography.cjs +1 -1
  332. package/dist/typography.js +5 -5
  333. package/dist/{useGhostText-DG0bzcao.js → useGhostText-BJZKdZpw.js} +1 -1
  334. package/dist/{useGhostText-DG0bzcao.js.map → useGhostText-BJZKdZpw.js.map} +1 -1
  335. package/dist/useGhostText-D1DbIs-n.cjs +2 -0
  336. package/dist/{useGhostText-QMdO_HK6.cjs.map → useGhostText-D1DbIs-n.cjs.map} +1 -1
  337. package/dist/useInteractionEffect-CYHGHV1e.cjs +2 -0
  338. package/dist/{useInteractionEffect-DnEfbCrX.cjs.map → useInteractionEffect-CYHGHV1e.cjs.map} +1 -1
  339. package/dist/{useInteractionEffect-DtpbVd77.js → useInteractionEffect-ClkU3aH5.js} +1 -1
  340. package/dist/{useInteractionEffect-DtpbVd77.js.map → useInteractionEffect-ClkU3aH5.js.map} +1 -1
  341. package/dist/useKeyboardNav-BoibrRUF.cjs +2 -0
  342. package/dist/{useKeyboardNav-BrODLJaL.cjs.map → useKeyboardNav-BoibrRUF.cjs.map} +1 -1
  343. package/dist/{useKeyboardNav-iEXOdEMB.js → useKeyboardNav-CBOdeTFM.js} +1 -1
  344. package/dist/{useKeyboardNav-iEXOdEMB.js.map → useKeyboardNav-CBOdeTFM.js.map} +1 -1
  345. package/dist/utils.cjs +1 -1
  346. package/dist/utils.entry.d.ts +0 -2
  347. package/dist/utils.js +11 -12
  348. package/dist/{validators-BeNTD8mf.cjs → validators-D4aTeaH0.cjs} +1 -1
  349. package/dist/{validators-BeNTD8mf.cjs.map → validators-D4aTeaH0.cjs.map} +1 -1
  350. package/dist/{validators-H8tNxb8O.js → validators-YZyyyLvE.js} +1 -1
  351. package/dist/{validators-H8tNxb8O.js.map → validators-YZyyyLvE.js.map} +1 -1
  352. package/package.json +4 -1
  353. package/dist/MAvatar-DlFdIi6R.cjs +0 -2
  354. package/dist/MBadge-DNqOptef.cjs +0 -2
  355. package/dist/MButton-CtEFKjYZ.cjs +0 -2
  356. package/dist/MCheckbox-Bea3orrs.cjs +0 -2
  357. package/dist/MDataTable-CVwnVouZ.cjs +0 -2
  358. package/dist/MDrawer-DF42-zF2.cjs +0 -2
  359. package/dist/MDropdownMenu-X7ywPqth.cjs +0 -2
  360. package/dist/MGalleryIllustration-CeOMHzpt.cjs +0 -2
  361. package/dist/MHeading-XCMJNMYB.cjs +0 -2
  362. package/dist/MI18nProvider-4ji0oN3U.cjs +0 -2
  363. package/dist/MImage-2Xztd_N6.cjs +0 -2
  364. package/dist/MImage-2Xztd_N6.cjs.map +0 -1
  365. package/dist/MImage-UmiZwzDJ.js +0 -53
  366. package/dist/MImage-UmiZwzDJ.js.map +0 -1
  367. package/dist/MInline-BYsbmfkz.js +0 -41
  368. package/dist/MInline-BYsbmfkz.js.map +0 -1
  369. package/dist/MInline-oCvhfJwM.cjs +0 -2
  370. package/dist/MInline-oCvhfJwM.cjs.map +0 -1
  371. package/dist/MInput-CpEJQ9SV.cjs +0 -2
  372. package/dist/MInputCVC-BuGwm7fv.cjs +0 -2
  373. package/dist/MInputSearch-B-Lqr-QG.cjs +0 -2
  374. package/dist/MLink-7hndQLKM.cjs +0 -2
  375. package/dist/MModal-DlnT3BBp.cjs +0 -2
  376. package/dist/MPagination-CTtr_L-Q.cjs +0 -2
  377. package/dist/MPopover-C3-fGAke.cjs +0 -2
  378. package/dist/MPortal-PyRKsZxc.cjs +0 -2
  379. package/dist/MQrCode-Cha7657D.cjs +0 -2
  380. package/dist/MSkeleton-BAkzwxOS.cjs +0 -2
  381. package/dist/MSlider-BCMJkvcA.cjs +0 -2
  382. package/dist/MSparkline-BOaNmbeB.cjs +0 -2
  383. package/dist/MStack-Bp1x4woD.cjs +0 -2
  384. package/dist/MStack-Bp1x4woD.cjs.map +0 -1
  385. package/dist/MStack-DVOFZo1L.js +0 -41
  386. package/dist/MStack-DVOFZo1L.js.map +0 -1
  387. package/dist/MSubText-Dg3PKnwI.cjs +0 -2
  388. package/dist/MSurface-ClPdv7a4.cjs +0 -2
  389. package/dist/MSurface-ClPdv7a4.cjs.map +0 -1
  390. package/dist/MSurface-FEfWBJFx.js +0 -41
  391. package/dist/MSurface-FEfWBJFx.js.map +0 -1
  392. package/dist/MTag-BxoSuAOj.cjs +0 -2
  393. package/dist/MText-CWHwmjs8.cjs +0 -2
  394. package/dist/MTimeAgo-91_ndjxU.cjs +0 -2
  395. package/dist/MToggle-CsGS_W3X.cjs +0 -2
  396. package/dist/MTooltip-CNXoyQEN.cjs +0 -2
  397. package/dist/cards-CTegCxIA.cjs +0 -2
  398. package/dist/controls-CAab2nyg.cjs +0 -2
  399. package/dist/data-Uy_XSs32.cjs +0 -2
  400. package/dist/display-GygMuO4c.js +0 -467
  401. package/dist/display-GygMuO4c.js.map +0 -1
  402. package/dist/display-WS1tupQD.cjs +0 -2
  403. package/dist/display-WS1tupQD.cjs.map +0 -1
  404. package/dist/dropdowns-CzqyYQwR.cjs +0 -2
  405. package/dist/feedback-C9z4MZ-V.cjs +0 -2
  406. package/dist/form-6JwrowsS.cjs +0 -2
  407. package/dist/frameworkTexts-C_9KZK_A.cjs +0 -2
  408. package/dist/icons-D5DK-J2C.js.map +0 -1
  409. package/dist/icons-Dv1T-cF4.cjs +0 -2
  410. package/dist/icons-Dv1T-cF4.cjs.map +0 -1
  411. package/dist/inputs-z84nU7A8.cjs +0 -2
  412. package/dist/layout-BIPyHdYN.cjs +0 -2
  413. package/dist/layout-BIPyHdYN.cjs.map +0 -1
  414. package/dist/layout-DHVIqY-O.js.map +0 -1
  415. package/dist/licensing-BXFauUj_.cjs +0 -2
  416. package/dist/locale-BltrWJtd.cjs +0 -2
  417. package/dist/media-Ch3Fyf4K.cjs +0 -2
  418. package/dist/media-Ch3Fyf4K.cjs.map +0 -1
  419. package/dist/media-DV58aS3j.js +0 -408
  420. package/dist/media-DV58aS3j.js.map +0 -1
  421. package/dist/overlays-7HBAQneO.cjs +0 -2
  422. package/dist/theme-B9iSuxqh.cjs +0 -2
  423. package/dist/typography-D0dyVQlP.cjs +0 -2
  424. package/dist/useGhostText-QMdO_HK6.cjs +0 -2
  425. package/dist/useInteractionEffect-DnEfbCrX.cjs +0 -2
  426. package/dist/useKeyboardNav-BrODLJaL.cjs +0 -2
  427. package/dist/useReveal-BJ59usiL.js +0 -23
  428. package/dist/useReveal-BJ59usiL.js.map +0 -1
  429. package/dist/useReveal-B_17PI89.cjs +0 -2
  430. package/dist/useReveal-B_17PI89.cjs.map +0 -1
  431. package/dist/utils/useReveal.d.ts +0 -2
@@ -1,68 +1,68 @@
1
- import { t as e } from "./theme-XRUdoLqw.js";
2
- import { $r as t, Ar as n, At as r, Br as i, Cr as a, Dr as o, Er as s, Fr as c, Gr as l, Hr as u, Ii as d, Ir as f, Jr as p, Kr as m, Lr as h, Ni as g, Nr as _, Or as v, Pr as y, Qr as b, Rr as x, Sr as S, Ti as C, Ur as w, Vr as T, Wr as E, Zr as D, _r as O, br as k, dn as A, ei as j, jr as M, jt as N, ki as P, kr as ee, nn as te, qr as ne, ri as re, sn as ie, tn as ae, wr as oe, xr as F, zr as I } from "./icons-D5DK-J2C.js";
3
- import { t as L } from "./cn-YER3QsV1.js";
4
- import { t as se } from "./MPortal-Dqlkh3hw.js";
5
- import { t as R } from "./MPopover-BC9C5967.js";
6
- import { t as ce } from "./MInline-BYsbmfkz.js";
7
- import { t as z } from "./MText-hHMgVJ4-.js";
8
- import { t as le } from "./MHeading-DBS5Kytw.js";
9
- import { t as ue } from "./MSubText-CHvUFOlt.js";
10
- import { r as de, t as B } from "./MButton-Bfe4iq51.js";
11
- import { t as V } from "./MCheckbox-B7SpcD4H.js";
12
- import { t as H } from "./MBadge-5PivwWxe.js";
13
- import { n as fe, r as U } from "./MSkeleton-Cwa-JRxo.js";
14
- import { t as pe } from "./MModal-___Rw8YK.js";
15
- import { i as W, r as me } from "./MDropdownMenu-CxBhYxQb.js";
16
- import { t as he } from "./locale-BNyzqXAU.js";
17
- import { t as G } from "./MTimeAgo-xxl53mct.js";
18
- import { t as ge } from "./MImage-UmiZwzDJ.js";
19
- import { t as _e } from "./MAvatar-B0uPeciT.js";
20
- import { t as ve } from "./MInputSearch-y3_ihYRj.js";
21
- import { a as ye, c as be, d as xe, f as Se, i as Ce, l as we, n as Te, o as Ee, r as De, s as K, u as Oe } from "./MSparkline-Cb_EwR-E.js";
22
- import { a as ke, r as Ae, t as je } from "./frameworkTexts-B6oE8pMk.js";
23
- import { t as Me } from "./MStack-DVOFZo1L.js";
24
- import { Children as Ne, createContext as Pe, isValidElement as Fe, useCallback as q, useContext as Ie, useEffect as Le, useMemo as J, useRef as Y, useState as X } from "react";
25
- import { Fragment as Re, jsx as Z, jsxs as Q } from "react/jsx-runtime";
1
+ import { t as e } from "./theme-KYwqDZxJ.js";
2
+ import { $r as t, Ai as n, Ar as r, At as i, Br as a, Cr as o, Dr as s, Ei as c, Fr as l, Gr as u, Hr as d, Ir as f, Jr as p, Kr as m, Li as h, Lr as g, Mr as _, Or as v, Pi as y, Pr as b, Qr as x, Rr as S, Sr as C, Tr as w, Ur as T, Vr as E, Wr as D, Yr as O, dn as k, ei as A, ii as j, jr as M, jt as ee, kr as N, nn as te, qr as ne, sn as re, ti as ie, tn as ae, vr as oe, wr as se, xr as P, zr as F } from "./icons-DlNO04xH.js";
3
+ import { t as I } from "./cn-CUSXNnjF.js";
4
+ import { t as ce } from "./MPortal-Dqlkh3hw.js";
5
+ import { t as L } from "./MPopover-3tjz5lKh.js";
6
+ import { t as le } from "./MInline-DA_ehefx.js";
7
+ import { t as R } from "./MText-B7_HjPym.js";
8
+ import { t as ue } from "./MHeading-BvpWyvjj.js";
9
+ import { t as de } from "./MSubText-C9VizSn9.js";
10
+ import { r as fe, t as z } from "./MButton-BpSZUhpY.js";
11
+ import { t as B } from "./MCheckbox-CNz73bQC.js";
12
+ import { t as V } from "./MBadge-C_vK2JdM.js";
13
+ import { n as pe, r as H } from "./MSkeleton-Bqq_XJn8.js";
14
+ import { t as me } from "./MModal-CHSo5gKE.js";
15
+ import { i as U, r as he } from "./MDropdownMenu-CMnBt-wO.js";
16
+ import { t as ge } from "./locale-BNyzqXAU.js";
17
+ import { t as W } from "./MTimeAgo-D1G2yovw.js";
18
+ import { t as _e } from "./MImage-BQs91GK-.js";
19
+ import { t as ve } from "./MAvatar-CnBVN71i.js";
20
+ import { t as ye } from "./MInputSearch-CdPfJ4v_.js";
21
+ import { a as be, c as xe, d as Se, f as Ce, i as we, l as Te, n as Ee, o as De, r as Oe, s as G, u as ke } from "./MSparkline-DbtdM0W6.js";
22
+ import { a as Ae, r as je, t as Me } from "./frameworkTexts-DzujbRBe.js";
23
+ import { t as Ne } from "./MStack-BWarX5O9.js";
24
+ import { Children as Pe, createContext as Fe, isValidElement as Ie, useCallback as K, useContext as Le, useEffect as Re, useMemo as q, useRef as J, useState as Y } from "react";
25
+ import { Fragment as ze, jsx as X, jsxs as Z } from "react/jsx-runtime";
26
26
  //#region src/components/data/MChat/MChatContext.ts
27
- var ze = Pe({});
28
- function Be() {
29
- return Ie(ze);
27
+ var Be = Fe({});
28
+ function Ve() {
29
+ return Le(Be);
30
30
  }
31
31
  //#endregion
32
32
  //#region src/components/data/MChat/MChat.tsx
33
- function Ve(e, t) {
34
- return Fe(e) && !!e.type[t];
33
+ function He(e, t) {
34
+ return Ie(e) && !!e.type[t];
35
35
  }
36
- function He({ variant: e = "inline", open: t, onToggle: n, unreadCount: i, color: a = "primary", className: o, children: s, ...c }) {
36
+ function Ue({ variant: e = "inline", open: t, onToggle: n, unreadCount: r, color: a = "primary", className: o, children: s, ...c }) {
37
37
  let l = null, u = null, d = [];
38
- Ne.forEach(s, (e) => {
39
- if (Ve(e, "__chatHeader")) {
38
+ Pe.forEach(s, (e) => {
39
+ if (He(e, "__chatHeader")) {
40
40
  l = e;
41
41
  return;
42
42
  }
43
- if (Ve(e, "__chatConversationList")) {
43
+ if (He(e, "__chatConversationList")) {
44
44
  u = e;
45
45
  return;
46
46
  }
47
47
  d.push(e);
48
48
  });
49
- let f = J(() => ({ color: a }), [a]), p = /* @__PURE__ */ Z(ze.Provider, {
49
+ let f = q(() => ({ color: a }), [a]), p = /* @__PURE__ */ X(Be.Provider, {
50
50
  value: f,
51
- children: /* @__PURE__ */ Q("div", {
52
- className: L("chat", e, `color-${a}`, e === "floating" && t && "open", o),
51
+ children: /* @__PURE__ */ Z("div", {
52
+ className: I("chat", e, `color-${a}`, e === "floating" && t && "open", o),
53
53
  ...c,
54
- children: [u && /* @__PURE__ */ Z("div", {
54
+ children: [u && /* @__PURE__ */ X("div", {
55
55
  className: "chat-sidebar",
56
56
  children: u
57
- }), /* @__PURE__ */ Q("div", {
57
+ }), /* @__PURE__ */ Z("div", {
58
58
  className: "chat-main",
59
59
  children: [l, d]
60
60
  })]
61
61
  })
62
62
  });
63
- return e === "floating" ? /* @__PURE__ */ Z(se, { children: /* @__PURE__ */ Q("div", {
64
- className: L("chat-floating-wrapper", t && "open"),
65
- children: [t && p, /* @__PURE__ */ Z(B, {
63
+ return e === "floating" ? /* @__PURE__ */ X(ce, { children: /* @__PURE__ */ Z("div", {
64
+ className: I("chat-floating-wrapper", t && "open"),
65
+ children: [t && p, /* @__PURE__ */ X(z, {
66
66
  variant: "filled",
67
67
  color: a,
68
68
  shape: "circle",
@@ -70,58 +70,58 @@ function He({ variant: e = "inline", open: t, onToggle: n, unreadCount: i, color
70
70
  className: "chat-floating-trigger",
71
71
  onClick: n,
72
72
  "aria-label": t ? "Close chat" : "Open chat",
73
- badge: !t && i ? i : void 0,
73
+ badge: !t && r ? r : void 0,
74
74
  badgeColor: "error",
75
- badgePulsing: !t && !!i,
76
- children: /* @__PURE__ */ Z(r, {})
75
+ badgePulsing: !t && !!r,
76
+ children: /* @__PURE__ */ X(i, {})
77
77
  })]
78
78
  }) }) : p;
79
79
  }
80
80
  //#endregion
81
81
  //#region src/components/data/MChat/MChatHeader.tsx
82
- function Ue({ bordered: e = !1, className: t, children: n, ...r }) {
83
- return /* @__PURE__ */ Z("div", {
84
- className: L("chat-header", e && "bordered", t),
82
+ function We({ bordered: e = !1, className: t, children: n, ...r }) {
83
+ return /* @__PURE__ */ X("div", {
84
+ className: I("chat-header", e && "bordered", t),
85
85
  ...r,
86
86
  children: n
87
87
  });
88
88
  }
89
- Ue.__chatHeader = !0;
89
+ We.__chatHeader = !0;
90
90
  //#endregion
91
91
  //#region src/components/data/MChat/MChatMessage.tsx
92
- function We({ status: e }) {
92
+ function Ge({ status: e }) {
93
93
  if (!e) return null;
94
94
  let t = e === "delivered" || e === "read";
95
- return /* @__PURE__ */ Z("span", {
96
- className: L("chat-status", e === "read" ? "chat-status-read" : ""),
95
+ return /* @__PURE__ */ X("span", {
96
+ className: I("chat-status", e === "read" ? "chat-status-read" : ""),
97
97
  "aria-label": e,
98
98
  children: t ? "✓✓" : "✓"
99
99
  });
100
100
  }
101
- function Ge({ message: e, showAvatar: t = !0, showTimestamp: n = !0, color: r, className: i, ...a }) {
101
+ function Ke({ message: e, showAvatar: t = !0, showTimestamp: n = !0, color: r, className: i, ...a }) {
102
102
  let { content: o, sender: s, timestamp: c, status: l, isOwn: u, images: d } = e;
103
- return /* @__PURE__ */ Q("div", {
104
- className: L("chat-message", u && "own", r || void 0, i),
103
+ return /* @__PURE__ */ Z("div", {
104
+ className: I("chat-message", u && "own", r || void 0, i),
105
105
  ...a,
106
- children: [t && !u && /* @__PURE__ */ Z(_e, {
106
+ children: [t && !u && /* @__PURE__ */ X(ve, {
107
107
  src: s.avatar,
108
108
  name: s.name,
109
109
  size: "sm",
110
110
  color: r,
111
111
  className: "chat-message-avatar"
112
- }), /* @__PURE__ */ Q("div", {
112
+ }), /* @__PURE__ */ Z("div", {
113
113
  className: "chat-message-content",
114
114
  children: [
115
- !u && /* @__PURE__ */ Z(z, {
115
+ !u && /* @__PURE__ */ X(R, {
116
116
  className: "chat-message-sender",
117
117
  color: "neutral",
118
118
  children: s.name
119
119
  }),
120
- /* @__PURE__ */ Q("div", {
120
+ /* @__PURE__ */ Z("div", {
121
121
  className: "chat-message-bubble",
122
- children: [o && /* @__PURE__ */ Z(z, { children: o }), d && d.length > 0 && /* @__PURE__ */ Z("div", {
123
- className: L("chat-message-images", d.length > 1 && "grid"),
124
- children: d.map((e, t) => /* @__PURE__ */ Z(ge, {
122
+ children: [o && /* @__PURE__ */ X(R, { children: o }), d && d.length > 0 && /* @__PURE__ */ X("div", {
123
+ className: I("chat-message-images", d.length > 1 && "grid"),
124
+ children: d.map((e, t) => /* @__PURE__ */ X(_e, {
125
125
  src: e,
126
126
  alt: "",
127
127
  fit: "cover",
@@ -130,11 +130,11 @@ function Ge({ message: e, showAvatar: t = !0, showTimestamp: n = !0, color: r, c
130
130
  }, t))
131
131
  })]
132
132
  }),
133
- /* @__PURE__ */ Q("div", {
133
+ /* @__PURE__ */ Z("div", {
134
134
  className: "chat-message-meta",
135
- children: [u && /* @__PURE__ */ Z(We, { status: l }), n && /* @__PURE__ */ Z(ue, {
135
+ children: [u && /* @__PURE__ */ X(Ge, { status: l }), n && /* @__PURE__ */ X(de, {
136
136
  className: "chat-message-time",
137
- children: /* @__PURE__ */ Z(G, { value: c })
137
+ children: /* @__PURE__ */ X(W, { value: c })
138
138
  })]
139
139
  })
140
140
  ]
@@ -143,30 +143,30 @@ function Ge({ message: e, showAvatar: t = !0, showTimestamp: n = !0, color: r, c
143
143
  }
144
144
  //#endregion
145
145
  //#region src/components/data/MChat/MChatBody.tsx
146
- function Ke({ messages: e, onScrollTop: t, loading: n = !1, color: r, className: i, children: a, ...o }) {
147
- let { color: s } = Be(), c = r ?? s, l = Y(null), u = Y(!0), d = Y(0), f = q(() => {
146
+ function qe({ messages: e, onScrollTop: t, loading: n = !1, color: r, className: i, children: a, ...o }) {
147
+ let { color: s } = Ve(), c = r ?? s, l = J(null), u = J(!0), d = J(0), f = K(() => {
148
148
  let e = l.current;
149
149
  e && (e.scrollTop = e.scrollHeight);
150
150
  }, []);
151
- return Le(() => {
151
+ return Re(() => {
152
152
  let t = e?.length ?? 0;
153
153
  t > d.current && u.current && f(), d.current = t;
154
- }, [e?.length, f]), Le(() => {
154
+ }, [e?.length, f]), Re(() => {
155
155
  f();
156
- }, [f]), /* @__PURE__ */ Q("div", {
156
+ }, [f]), /* @__PURE__ */ Z("div", {
157
157
  ref: l,
158
- className: L("chat-body", i),
158
+ className: I("chat-body", i),
159
159
  onScroll: () => {
160
160
  let e = l.current;
161
161
  e && (u.current = e.scrollHeight - e.scrollTop - e.clientHeight < 40, e.scrollTop < 40 && t && !n && t());
162
162
  },
163
163
  ...o,
164
164
  children: [
165
- n && /* @__PURE__ */ Z("div", {
165
+ n && /* @__PURE__ */ X("div", {
166
166
  className: "chat-body-loader",
167
- children: /* @__PURE__ */ Z(de, { size: "sm" })
167
+ children: /* @__PURE__ */ X(fe, { size: "sm" })
168
168
  }),
169
- e?.map((e) => /* @__PURE__ */ Z(Ge, {
169
+ e?.map((e) => /* @__PURE__ */ X(Ke, {
170
170
  message: e,
171
171
  color: c
172
172
  }, e.id)),
@@ -176,7 +176,7 @@ function Ke({ messages: e, onScrollTop: t, loading: n = !1, color: r, className:
176
176
  }
177
177
  //#endregion
178
178
  //#region src/components/data/MChat/emojis.ts
179
- var qe = [
179
+ var Je = [
180
180
  {
181
181
  label: "Smileys",
182
182
  emojis: /* @__PURE__ */ "😀.😃.😄.😁.😆.😅.🤣.😂.🙂.😊.😇.🥰.😍.🤩.😘.😗.😋.😛.😜.🤪.😝.🤗.🤔.🫡.🤐.🤨.😐.😑.😶.🫠.😏.😒.🙄.😬.😮‍💨.🤥.😌.😔.😪.🤤.😴.😷.🤒.🤕.🤢.🤮.🤧.🥵.🥶.😵.🤯.🥳.🥸.😎.🤓.🧐".split(".")
@@ -235,126 +235,126 @@ var qe = [
235
235
  "🔔"
236
236
  ]
237
237
  }
238
- ], Je = "image/png,image/jpeg,image/gif,image/webp";
239
- function Ye({ onSend: e, placeholder: t = "Type a message…", disabled: n = !1, showEmoji: r = !0, showAttach: i = !0, onTyping: a, color: o, className: s, ...c }) {
240
- let { color: l } = Be(), u = o ?? l, [f, p] = X(""), [m, h] = X(!1), [g, _] = X([]), [v, y] = X([]), [b, x] = X(!1), S = Y(null), w = Y(null), T = Y(null), E = Y(!1), D = Y(void 0), O = q((e) => {
238
+ ], Ye = "image/png,image/jpeg,image/gif,image/webp";
239
+ function Xe({ onSend: e, placeholder: t = "Type a message…", disabled: n = !1, showEmoji: r = !0, showAttach: i = !0, onTyping: a, color: o, className: s, ...l }) {
240
+ let { color: u } = Ve(), d = o ?? u, [f, p] = Y(""), [m, g] = Y(!1), [_, v] = Y([]), [y, b] = Y([]), [x, S] = Y(!1), C = J(null), w = J(null), T = J(null), E = J(!1), D = J(void 0), O = K((e) => {
241
241
  let t = e.filter((e) => e.type.startsWith("image/"));
242
- t.length !== 0 && (_((e) => [...e, ...t]), t.forEach((e) => {
242
+ t.length !== 0 && (v((e) => [...e, ...t]), t.forEach((e) => {
243
243
  let t = URL.createObjectURL(e);
244
- y((e) => [...e, t]);
244
+ b((e) => [...e, t]);
245
245
  }));
246
- }, []), k = q((e) => {
247
- y((t) => (URL.revokeObjectURL(t[e]), t.filter((t, n) => n !== e))), _((t) => t.filter((t, n) => n !== e));
246
+ }, []), k = K((e) => {
247
+ b((t) => (URL.revokeObjectURL(t[e]), t.filter((t, n) => n !== e))), v((t) => t.filter((t, n) => n !== e));
248
248
  }, []);
249
- Le(() => () => v.forEach((e) => URL.revokeObjectURL(e)), []);
250
- let A = q(() => {
249
+ Re(() => () => y.forEach((e) => URL.revokeObjectURL(e)), []);
250
+ let A = K(() => {
251
251
  let t = f.trim();
252
- !t && g.length === 0 || n || (e?.(t, g.length > 0 ? g : void 0), p(""), _([]), y((e) => (e.forEach((e) => URL.revokeObjectURL(e)), [])), S.current && (S.current.style.height = "auto"), E.current && (E.current = !1, a?.(!1)));
252
+ !t && _.length === 0 || n || (e?.(t, _.length > 0 ? _ : void 0), p(""), v([]), b((e) => (e.forEach((e) => URL.revokeObjectURL(e)), [])), C.current && (C.current.style.height = "auto"), E.current && (E.current = !1, a?.(!1)));
253
253
  }, [
254
254
  f,
255
- g,
255
+ _,
256
256
  n,
257
257
  e,
258
258
  a
259
259
  ]), j = (e) => {
260
260
  e.key === "Enter" && !e.shiftKey && (e.preventDefault(), A());
261
261
  }, M = (e) => {
262
- p(e.target.value), P(e.target), a && (E.current || (E.current = !0, a(!0)), clearTimeout(D.current), D.current = setTimeout(() => {
262
+ p(e.target.value), N(e.target), a && (E.current || (E.current = !0, a(!0)), clearTimeout(D.current), D.current = setTimeout(() => {
263
263
  E.current = !1, a(!1);
264
264
  }, 1500));
265
- }, P = (e) => {
265
+ }, N = (e) => {
266
266
  e.style.height = "auto", e.style.height = Math.min(e.scrollHeight, 120) + "px";
267
267
  };
268
- Le(() => () => clearTimeout(D.current), []);
269
- let ee = (e) => {
270
- p((t) => t + e), h(!1), S.current?.focus();
271
- }, te = (e) => {
272
- e.preventDefault(), x(!0);
268
+ Re(() => () => clearTimeout(D.current), []);
269
+ let te = (e) => {
270
+ p((t) => t + e), g(!1), C.current?.focus();
273
271
  }, ne = (e) => {
274
- e.preventDefault(), x(!1);
272
+ e.preventDefault(), S(!0);
275
273
  }, re = (e) => {
276
- e.preventDefault(), x(!1), O(Array.from(e.dataTransfer.files));
277
- }, ie = () => {
274
+ e.preventDefault(), S(!1);
275
+ }, ie = (e) => {
276
+ e.preventDefault(), S(!1), O(Array.from(e.dataTransfer.files));
277
+ }, ae = () => {
278
278
  let e = T.current?.files;
279
279
  e && O(Array.from(e)), T.current && (T.current.value = "");
280
- }, ae = f.trim() || g.length > 0;
281
- return /* @__PURE__ */ Q("div", {
282
- className: L("chat-input", b && "drag-over", s),
283
- onDragOver: te,
284
- onDragLeave: ne,
285
- onDrop: re,
286
- ...c,
287
- children: [v.length > 0 && /* @__PURE__ */ Z("div", {
280
+ }, oe = f.trim() || _.length > 0;
281
+ return /* @__PURE__ */ Z("div", {
282
+ className: I("chat-input", x && "drag-over", s),
283
+ onDragOver: ne,
284
+ onDragLeave: re,
285
+ onDrop: ie,
286
+ ...l,
287
+ children: [y.length > 0 && /* @__PURE__ */ X("div", {
288
288
  className: "chat-input-previews",
289
- children: v.map((e, t) => /* @__PURE__ */ Q("div", {
289
+ children: y.map((e, t) => /* @__PURE__ */ Z("div", {
290
290
  className: "chat-input-preview",
291
- children: [/* @__PURE__ */ Z(ge, {
291
+ children: [/* @__PURE__ */ X(_e, {
292
292
  src: e,
293
293
  alt: "",
294
294
  fit: "cover",
295
295
  rounded: !0,
296
296
  className: "chat-input-preview-img"
297
- }), /* @__PURE__ */ Z("button", {
297
+ }), /* @__PURE__ */ X("button", {
298
298
  type: "button",
299
299
  className: "chat-input-preview-remove",
300
300
  onClick: () => k(t),
301
301
  "aria-label": "Remove image",
302
- children: /* @__PURE__ */ Z(d, {})
302
+ children: /* @__PURE__ */ X(h, {})
303
303
  })]
304
304
  }, t))
305
- }), /* @__PURE__ */ Q("div", {
305
+ }), /* @__PURE__ */ Z("div", {
306
306
  className: "chat-input-field",
307
307
  children: [
308
- r && /* @__PURE__ */ Q(Re, { children: [/* @__PURE__ */ Z("button", {
308
+ r && /* @__PURE__ */ Z(ze, { children: [/* @__PURE__ */ X("button", {
309
309
  ref: w,
310
310
  type: "button",
311
311
  className: "chat-input-emoji-trigger",
312
- onClick: () => h((e) => !e),
312
+ onClick: () => g((e) => !e),
313
313
  "aria-label": "Emoji",
314
314
  disabled: n,
315
315
  children: "😊"
316
- }), /* @__PURE__ */ Z(R, {
316
+ }), /* @__PURE__ */ X(L, {
317
317
  open: m,
318
318
  anchorRef: w,
319
- onClose: () => h(!1),
319
+ onClose: () => g(!1),
320
320
  placement: "top-start",
321
- children: /* @__PURE__ */ Z("div", {
321
+ children: /* @__PURE__ */ X("div", {
322
322
  className: "chat-emoji-picker",
323
- children: qe.map((e) => /* @__PURE__ */ Q("div", {
323
+ children: Je.map((e) => /* @__PURE__ */ Z("div", {
324
324
  className: "chat-emoji-category",
325
- children: [/* @__PURE__ */ Z("div", {
325
+ children: [/* @__PURE__ */ X("div", {
326
326
  className: "chat-emoji-category-label",
327
327
  children: e.label
328
- }), /* @__PURE__ */ Z("div", {
328
+ }), /* @__PURE__ */ X("div", {
329
329
  className: "chat-emoji-grid",
330
- children: e.emojis.map((e) => /* @__PURE__ */ Z("button", {
330
+ children: e.emojis.map((e) => /* @__PURE__ */ X("button", {
331
331
  type: "button",
332
332
  className: "chat-emoji-btn",
333
- onClick: () => ee(e),
333
+ onClick: () => te(e),
334
334
  children: e
335
335
  }, e))
336
336
  })]
337
337
  }, e.label))
338
338
  })
339
339
  })] }),
340
- i && /* @__PURE__ */ Q(Re, { children: [/* @__PURE__ */ Z("input", {
340
+ i && /* @__PURE__ */ Z(ze, { children: [/* @__PURE__ */ X("input", {
341
341
  ref: T,
342
342
  type: "file",
343
- accept: Je,
343
+ accept: Ye,
344
344
  multiple: !0,
345
345
  className: "chat-input-file-hidden",
346
- onChange: ie,
346
+ onChange: ae,
347
347
  tabIndex: -1
348
- }), /* @__PURE__ */ Z("button", {
348
+ }), /* @__PURE__ */ X("button", {
349
349
  type: "button",
350
350
  className: "chat-input-attach-trigger",
351
351
  onClick: () => T.current?.click(),
352
352
  "aria-label": "Attach image",
353
353
  disabled: n,
354
- children: /* @__PURE__ */ Z(C, { color: "inherit" })
354
+ children: /* @__PURE__ */ X(c, { color: "inherit" })
355
355
  })] }),
356
- /* @__PURE__ */ Z("textarea", {
357
- ref: S,
356
+ /* @__PURE__ */ X("textarea", {
357
+ ref: C,
358
358
  className: "chat-input-textarea",
359
359
  value: f,
360
360
  onChange: M,
@@ -363,17 +363,17 @@ function Ye({ onSend: e, placeholder: t = "Type a message…", disabled: n = !1,
363
363
  disabled: n,
364
364
  rows: 1
365
365
  }),
366
- /* @__PURE__ */ Z(B, {
366
+ /* @__PURE__ */ X(z, {
367
367
  variant: "filled",
368
368
  size: "sm",
369
- color: u ?? "primary",
369
+ color: d ?? "primary",
370
370
  iconOnly: !0,
371
371
  shape: "circle",
372
372
  className: "chat-input-send",
373
373
  onClick: A,
374
- disabled: n || !ae,
374
+ disabled: n || !oe,
375
375
  "aria-label": "Send",
376
- children: /* @__PURE__ */ Z(N, {})
376
+ children: /* @__PURE__ */ X(ee, {})
377
377
  })
378
378
  ]
379
379
  })]
@@ -381,44 +381,44 @@ function Ye({ onSend: e, placeholder: t = "Type a message…", disabled: n = !1,
381
381
  }
382
382
  //#endregion
383
383
  //#region src/components/data/MChat/MChatTypingIndicator.tsx
384
- function Xe({ users: e = [], visible: t = !0, className: n, ...r }) {
384
+ function Ze({ users: e = [], visible: t = !0, className: n, ...r }) {
385
385
  if (!t || e.length === 0) return null;
386
386
  let i = e.length === 1 ? `${e[0].name} is typing` : e.length === 2 ? `${e[0].name} and ${e[1].name} are typing` : `${e[0].name} and ${e.length - 1} others are typing`;
387
- return /* @__PURE__ */ Q("div", {
388
- className: L("chat-typing", n),
387
+ return /* @__PURE__ */ Z("div", {
388
+ className: I("chat-typing", n),
389
389
  "aria-label": i,
390
390
  ...r,
391
- children: [e.length === 1 && /* @__PURE__ */ Z(_e, {
391
+ children: [e.length === 1 && /* @__PURE__ */ X(ve, {
392
392
  src: e[0].avatar,
393
393
  name: e[0].name,
394
394
  size: "sm",
395
395
  className: "chat-typing-avatar"
396
- }), /* @__PURE__ */ Q("div", {
396
+ }), /* @__PURE__ */ Z("div", {
397
397
  className: "chat-typing-dots",
398
398
  children: [
399
- /* @__PURE__ */ Z("span", { className: "chat-typing-dot" }),
400
- /* @__PURE__ */ Z("span", { className: "chat-typing-dot" }),
401
- /* @__PURE__ */ Z("span", { className: "chat-typing-dot" })
399
+ /* @__PURE__ */ X("span", { className: "chat-typing-dot" }),
400
+ /* @__PURE__ */ X("span", { className: "chat-typing-dot" }),
401
+ /* @__PURE__ */ X("span", { className: "chat-typing-dot" })
402
402
  ]
403
403
  })]
404
404
  });
405
405
  }
406
406
  //#endregion
407
407
  //#region src/components/data/MChat/MChatConversationList.tsx
408
- function Ze({ className: e, children: t, ...n }) {
409
- return /* @__PURE__ */ Z("div", {
410
- className: L("chat-conversation-list", e),
408
+ function Qe({ className: e, children: t, ...n }) {
409
+ return /* @__PURE__ */ X("div", {
410
+ className: I("chat-conversation-list", e),
411
411
  ...n,
412
412
  children: t
413
413
  });
414
414
  }
415
- Ze.__chatConversationList = !0;
415
+ Qe.__chatConversationList = !0;
416
416
  //#endregion
417
417
  //#region src/components/data/MChat/MChatConversationItem.tsx
418
- function Qe({ conversation: e, active: t = !1, color: n, onClick: r, className: i, ...a }) {
419
- let { color: o } = Be(), s = n ?? o, { title: c, participants: l, lastMessage: u, unreadCount: d } = e, f = c ?? l.map((e) => e.name).join(", "), p = l[0], m = l.some((e) => e.online);
420
- return /* @__PURE__ */ Q("div", {
421
- className: L("chat-conversation-item", t && "active", i),
418
+ function $e({ conversation: e, active: t = !1, color: n, onClick: r, className: i, ...a }) {
419
+ let { color: o } = Ve(), s = n ?? o, { title: c, participants: l, lastMessage: u, unreadCount: d } = e, f = c ?? l.map((e) => e.name).join(", "), p = l[0], m = l.some((e) => e.online);
420
+ return /* @__PURE__ */ Z("div", {
421
+ className: I("chat-conversation-item", t && "active", i),
422
422
  onClick: () => r?.(e),
423
423
  role: "button",
424
424
  tabIndex: 0,
@@ -426,7 +426,7 @@ function Qe({ conversation: e, active: t = !1, color: n, onClick: r, className:
426
426
  (t.key === "Enter" || t.key === " ") && (t.preventDefault(), r?.(e));
427
427
  },
428
428
  ...a,
429
- children: [/* @__PURE__ */ Z(_e, {
429
+ children: [/* @__PURE__ */ X(ve, {
430
430
  src: p?.avatar,
431
431
  name: p?.name,
432
432
  size: "md",
@@ -434,23 +434,23 @@ function Qe({ conversation: e, active: t = !1, color: n, onClick: r, className:
434
434
  badge: m,
435
435
  badgeColor: "success",
436
436
  className: "chat-conversation-avatar"
437
- }), /* @__PURE__ */ Q("div", {
437
+ }), /* @__PURE__ */ Z("div", {
438
438
  className: "chat-conversation-info",
439
- children: [/* @__PURE__ */ Q("div", {
439
+ children: [/* @__PURE__ */ Z("div", {
440
440
  className: "chat-conversation-top",
441
- children: [/* @__PURE__ */ Z(z, {
441
+ children: [/* @__PURE__ */ X(R, {
442
442
  className: "chat-conversation-name",
443
443
  children: f
444
- }), u && /* @__PURE__ */ Z(ue, {
444
+ }), u && /* @__PURE__ */ X(de, {
445
445
  className: "chat-conversation-time",
446
- children: /* @__PURE__ */ Z(G, { value: u.timestamp })
446
+ children: /* @__PURE__ */ X(W, { value: u.timestamp })
447
447
  })]
448
- }), u && /* @__PURE__ */ Q("div", {
448
+ }), u && /* @__PURE__ */ Z("div", {
449
449
  className: "chat-conversation-bottom",
450
- children: [/* @__PURE__ */ Q(ue, {
450
+ children: [/* @__PURE__ */ Z(de, {
451
451
  className: "chat-conversation-preview",
452
452
  children: [u.isOwn ? "You: " : "", u.content]
453
- }), !!d && d > 0 && /* @__PURE__ */ Z(H, {
453
+ }), !!d && d > 0 && /* @__PURE__ */ X(V, {
454
454
  color: s ?? "primary",
455
455
  size: "sm",
456
456
  rounded: !0,
@@ -462,51 +462,51 @@ function Qe({ conversation: e, active: t = !1, color: n, onClick: r, className:
462
462
  }
463
463
  //#endregion
464
464
  //#region src/components/data/MTreeView/MTreeView.tsx
465
- var $e = {
466
- pdf: /* @__PURE__ */ Z(t, {}),
467
- ts: /* @__PURE__ */ Z(u, {}),
468
- tsx: /* @__PURE__ */ Z(w, {}),
469
- js: /* @__PURE__ */ Z(n, {}),
470
- jsx: /* @__PURE__ */ Z(D, {}),
471
- css: /* @__PURE__ */ Z(a, {}),
472
- scss: /* @__PURE__ */ Z(a, {}),
473
- html: /* @__PURE__ */ Z(v, {}),
474
- json: /* @__PURE__ */ Z(M, {}),
475
- md: /* @__PURE__ */ Z(_, {}),
476
- txt: /* @__PURE__ */ Z(E, {}),
477
- csv: /* @__PURE__ */ Z(oe, {}),
478
- zip: /* @__PURE__ */ Z(p, {}),
479
- rar: /* @__PURE__ */ Z(i, {}),
480
- svg: /* @__PURE__ */ Z(T, {}),
481
- png: /* @__PURE__ */ Z(x, {}),
482
- jpg: /* @__PURE__ */ Z(ee, {}),
483
- jpeg: /* @__PURE__ */ Z(b, {}),
484
- gif: /* @__PURE__ */ Z(o, {}),
485
- webp: /* @__PURE__ */ Z(l, {}),
486
- php: /* @__PURE__ */ Z(h, {}),
487
- xml: /* @__PURE__ */ Z(ne, {}),
488
- xls: /* @__PURE__ */ Z(m, {}),
489
- ppt: /* @__PURE__ */ Z(I, {}),
490
- odt: /* @__PURE__ */ Z(f, {}),
491
- exe: /* @__PURE__ */ Z(s, {}),
492
- mp3: /* @__PURE__ */ Z(y, {}),
493
- mp4: /* @__PURE__ */ Z(c, {})
465
+ var et = {
466
+ pdf: /* @__PURE__ */ X(A, {}),
467
+ ts: /* @__PURE__ */ X(T, {}),
468
+ tsx: /* @__PURE__ */ X(D, {}),
469
+ js: /* @__PURE__ */ X(M, {}),
470
+ jsx: /* @__PURE__ */ X(x, {}),
471
+ css: /* @__PURE__ */ X(se, {}),
472
+ scss: /* @__PURE__ */ X(se, {}),
473
+ html: /* @__PURE__ */ X(N, {}),
474
+ json: /* @__PURE__ */ X(_, {}),
475
+ md: /* @__PURE__ */ X(b, {}),
476
+ txt: /* @__PURE__ */ X(u, {}),
477
+ csv: /* @__PURE__ */ X(w, {}),
478
+ zip: /* @__PURE__ */ X(O, {}),
479
+ rar: /* @__PURE__ */ X(E, {}),
480
+ svg: /* @__PURE__ */ X(d, {}),
481
+ png: /* @__PURE__ */ X(F, {}),
482
+ jpg: /* @__PURE__ */ X(r, {}),
483
+ jpeg: /* @__PURE__ */ X(t, {}),
484
+ gif: /* @__PURE__ */ X(v, {}),
485
+ webp: /* @__PURE__ */ X(m, {}),
486
+ php: /* @__PURE__ */ X(S, {}),
487
+ xml: /* @__PURE__ */ X(p, {}),
488
+ xls: /* @__PURE__ */ X(ne, {}),
489
+ ppt: /* @__PURE__ */ X(a, {}),
490
+ odt: /* @__PURE__ */ X(g, {}),
491
+ exe: /* @__PURE__ */ X(s, {}),
492
+ mp3: /* @__PURE__ */ X(l, {}),
493
+ mp4: /* @__PURE__ */ X(f, {})
494
494
  };
495
- function et(e) {
495
+ function tt(e) {
496
496
  let t = e.lastIndexOf(".");
497
497
  return t < 1 ? null : e.slice(t + 1).toLowerCase();
498
498
  }
499
- function tt(e) {
499
+ function nt(e) {
500
500
  return e.kind === "folder" || !!e.children?.length;
501
501
  }
502
- function nt(e) {
503
- let t = et(e);
504
- return t ? $e[t] ?? /* @__PURE__ */ Z(j, {}) : /* @__PURE__ */ Z(re, {});
502
+ function rt(e) {
503
+ let t = tt(e);
504
+ return t ? et[t] ?? /* @__PURE__ */ X(ie, {}) : /* @__PURE__ */ X(j, {});
505
505
  }
506
- function rt(e, t, n) {
507
- return e.icon ? e.icon : n ? tt(e) ? Z(t ? F : S, {}) : nt(e.label) : null;
506
+ function it(e, t, n) {
507
+ return e.icon ? e.icon : n ? nt(e) ? X(t ? C : o, {}) : rt(e.label) : null;
508
508
  }
509
- function it(e) {
509
+ function at(e) {
510
510
  let t = /* @__PURE__ */ new Map(), n = /* @__PURE__ */ new Map();
511
511
  function r(e) {
512
512
  t.set(e.id, e);
@@ -519,7 +519,7 @@ function it(e) {
519
519
  descendants: n
520
520
  };
521
521
  }
522
- function at(e, t) {
522
+ function ot(e, t) {
523
523
  return typeof window > "u" ? {
524
524
  x: e,
525
525
  y: t
@@ -528,45 +528,45 @@ function at(e, t) {
528
528
  y: Math.max(8, Math.min(t, window.innerHeight - 16))
529
529
  };
530
530
  }
531
- function ot({ node: e, level: t, expandable: n, selectable: r, expandedIds: i, selectedId: a, draggedId: o, dropTargetId: s, onToggle: c, onSelect: l, indent: u, showLines: d, fileIcons: f, draggable: p, canDropOnNode: m, onContextMenu: h, onDragStart: _, onDragOver: v, onDrop: y, onDragEnd: b }) {
532
- let x = tt(e), S = i.has(e.id), C = a === e.id, w = o === e.id, T = s === e.id, E = m?.(e), D = rt(e, S, !!f);
533
- return /* @__PURE__ */ Q("li", {
531
+ function st({ node: e, level: t, expandable: n, selectable: r, expandedIds: i, selectedId: a, draggedId: o, dropTargetId: s, onToggle: c, onSelect: l, indent: u, showLines: d, fileIcons: f, draggable: p, canDropOnNode: m, onContextMenu: h, onDragStart: g, onDragOver: _, onDrop: v, onDragEnd: b }) {
532
+ let x = nt(e), S = i.has(e.id), C = a === e.id, w = o === e.id, T = s === e.id, E = m?.(e), D = it(e, S, !!f);
533
+ return /* @__PURE__ */ Z("li", {
534
534
  role: "treeitem",
535
535
  "aria-expanded": x ? S : void 0,
536
- children: [/* @__PURE__ */ Q("div", {
537
- className: L("item", C && "selected", e.disabled && "disabled", r && !e.disabled && "selectable", p && !e.disabled && "draggable", w && "dragging", E && "can-drop", T && "drop-target"),
536
+ children: [/* @__PURE__ */ Z("div", {
537
+ className: I("item", C && "selected", e.disabled && "disabled", r && !e.disabled && "selectable", p && !e.disabled && "draggable", w && "dragging", E && "can-drop", T && "drop-target"),
538
538
  style: { paddingLeft: t * u },
539
539
  draggable: p && !e.disabled,
540
540
  onClick: () => {
541
541
  e.disabled || (x && n && c(e.id), r && l?.(e.id, e));
542
542
  },
543
543
  onContextMenu: (t) => h?.(t, e),
544
- onDragStart: (t) => _?.(t, e),
545
- onDragOver: (t) => v?.(t, e),
546
- onDrop: (t) => y?.(t, e),
544
+ onDragStart: (t) => g?.(t, e),
545
+ onDragOver: (t) => _?.(t, e),
546
+ onDrop: (t) => v?.(t, e),
547
547
  onDragEnd: b,
548
548
  children: [
549
- /* @__PURE__ */ Z("span", {
549
+ /* @__PURE__ */ X("span", {
550
550
  className: "toggle",
551
- children: x && n ? /* @__PURE__ */ Z("span", {
552
- className: L("arrow", S && "expanded"),
553
- children: /* @__PURE__ */ Z(g, {})
554
- }) : /* @__PURE__ */ Z("span", { className: "spacer" })
551
+ children: x && n ? /* @__PURE__ */ X("span", {
552
+ className: I("arrow", S && "expanded"),
553
+ children: /* @__PURE__ */ X(y, {})
554
+ }) : /* @__PURE__ */ X("span", { className: "spacer" })
555
555
  }),
556
- D && /* @__PURE__ */ Z("span", {
556
+ D && /* @__PURE__ */ X("span", {
557
557
  className: "icon",
558
558
  children: D
559
559
  }),
560
- /* @__PURE__ */ Z("span", {
560
+ /* @__PURE__ */ X("span", {
561
561
  className: "label",
562
562
  children: e.label
563
563
  })
564
564
  ]
565
- }), x && S && /* @__PURE__ */ Z("ul", {
565
+ }), x && S && /* @__PURE__ */ X("ul", {
566
566
  className: "list",
567
567
  role: "group",
568
568
  style: d ? { "--line-left": `${t * u + 17}px` } : void 0,
569
- children: (e.children ?? []).map((e) => /* @__PURE__ */ Z(ot, {
569
+ children: (e.children ?? []).map((e) => /* @__PURE__ */ X(st, {
570
570
  node: e,
571
571
  level: t + 1,
572
572
  expandable: n,
@@ -583,17 +583,17 @@ function ot({ node: e, level: t, expandable: n, selectable: r, expandedIds: i, s
583
583
  draggable: p,
584
584
  canDropOnNode: m,
585
585
  onContextMenu: h,
586
- onDragStart: _,
587
- onDragOver: v,
588
- onDrop: y,
586
+ onDragStart: g,
587
+ onDragOver: _,
588
+ onDrop: v,
589
589
  onDragEnd: b
590
590
  }, e.id))
591
591
  })]
592
592
  });
593
593
  }
594
- function st({ items: e, expandable: t = !0, selectable: n = !1, defaultExpanded: r = [], expanded: i, onExpandChange: a, selected: o, onSelect: s, indent: c = 20, showLines: l = !0, fileIcons: u = !0, draggable: d = !1, canDrop: f, onMove: p, contextMenuItems: m, onContextMenuAction: h, className: g, ..._ }) {
595
- let [v, y] = X(r), [b, x] = X(null), [S, C] = X(null), [w, T] = X(null), [E, D] = X(null), O = Y(null), k = i ?? v, A = new Set(k), j = o === void 0 ? b : o, { nodeMap: M, descendants: N } = it(e), P = S ? M.get(S) ?? null : null;
596
- Le(() => {
594
+ function ct({ items: e, expandable: t = !0, selectable: n = !1, defaultExpanded: r = [], expanded: i, onExpandChange: a, selected: o, onSelect: s, indent: c = 20, showLines: l = !0, fileIcons: u = !0, draggable: d = !1, canDrop: f, onMove: p, contextMenuItems: m, onContextMenuAction: h, className: g, ..._ }) {
595
+ let [v, y] = Y(r), [b, x] = Y(null), [S, C] = Y(null), [w, T] = Y(null), [E, D] = Y(null), O = J(null), k = i ?? v, A = new Set(k), j = o === void 0 ? b : o, { nodeMap: M, descendants: ee } = at(e), N = S ? M.get(S) ?? null : null;
596
+ Re(() => {
597
597
  if (!E) return;
598
598
  function e(e) {
599
599
  e && O.current && O.current.contains(e.target) || D(null);
@@ -605,25 +605,25 @@ function st({ items: e, expandable: t = !0, selectable: n = !1, defaultExpanded:
605
605
  document.removeEventListener("mousedown", e), document.removeEventListener("scroll", e, !0), window.removeEventListener("resize", e), document.removeEventListener("keydown", t);
606
606
  };
607
607
  }, [E]);
608
- function ee(e) {
608
+ function te(e) {
609
609
  let t = A.has(e) ? k.filter((t) => t !== e) : [...k, e];
610
610
  a ? a(t) : y(t);
611
611
  }
612
- function te(e, t) {
612
+ function ne(e, t) {
613
613
  s ? s(e, t) : x(e);
614
614
  }
615
- function ne() {
615
+ function re() {
616
616
  C(null), T(null);
617
617
  }
618
- function re(e) {
619
- return !P || !d || !p || e.disabled || !tt(e) || e.id === P.id || N.get(P.id)?.has(e.id) ? !1 : f ? f(P, e) : !0;
618
+ function ie(e) {
619
+ return !N || !d || !p || e.disabled || !nt(e) || e.id === N.id || ee.get(N.id)?.has(e.id) ? !1 : f ? f(N, e) : !0;
620
620
  }
621
- function ie(e, t) {
621
+ function ae(e, t) {
622
622
  if (!m || t.disabled) return;
623
623
  let n = m(t).filter(Boolean);
624
624
  if (!n.length) return;
625
- e.preventDefault(), te(t.id, t);
626
- let r = at(e.clientX, e.clientY);
625
+ e.preventDefault(), ne(t.id, t);
626
+ let r = ot(e.clientX, e.clientY);
627
627
  D({
628
628
  node: t,
629
629
  items: n,
@@ -631,31 +631,31 @@ function st({ items: e, expandable: t = !0, selectable: n = !1, defaultExpanded:
631
631
  y: r.y
632
632
  });
633
633
  }
634
- function ae(e, t) {
634
+ function oe(e, t) {
635
635
  !d || t.disabled || (e.dataTransfer.effectAllowed = "move", e.dataTransfer.setData("text/plain", t.id), D(null), C(t.id));
636
636
  }
637
- function oe(e, t) {
638
- re(t) && (e.preventDefault(), e.dataTransfer.dropEffect = "move", T(t.id));
637
+ function se(e, t) {
638
+ ie(t) && (e.preventDefault(), e.dataTransfer.dropEffect = "move", T(t.id));
639
639
  }
640
- function F(e, n) {
641
- if (e.preventDefault(), !P || !re(n)) {
642
- ne();
640
+ function P(e, n) {
641
+ if (e.preventDefault(), !N || !ie(n)) {
642
+ re();
643
643
  return;
644
644
  }
645
645
  p?.({
646
- draggedId: P.id,
647
- draggedNode: P,
646
+ draggedId: N.id,
647
+ draggedNode: N,
648
648
  targetId: n.id,
649
649
  targetNode: n
650
- }), t && !A.has(n.id) && ee(n.id), ne();
650
+ }), t && !A.has(n.id) && te(n.id), re();
651
651
  }
652
- return /* @__PURE__ */ Q("div", {
653
- className: L("tree", l && "lines", g),
652
+ return /* @__PURE__ */ Z("div", {
653
+ className: I("tree", l && "lines", g),
654
654
  ..._,
655
- children: [/* @__PURE__ */ Z("ul", {
655
+ children: [/* @__PURE__ */ X("ul", {
656
656
  className: "list",
657
657
  role: "tree",
658
- children: e.map((e) => /* @__PURE__ */ Z(ot, {
658
+ children: e.map((e) => /* @__PURE__ */ X(st, {
659
659
  node: e,
660
660
  level: 0,
661
661
  expandable: t,
@@ -664,20 +664,20 @@ function st({ items: e, expandable: t = !0, selectable: n = !1, defaultExpanded:
664
664
  selectedId: j,
665
665
  draggedId: S,
666
666
  dropTargetId: w,
667
- onToggle: ee,
668
- onSelect: te,
667
+ onToggle: te,
668
+ onSelect: ne,
669
669
  indent: c,
670
670
  showLines: l,
671
671
  fileIcons: u,
672
672
  draggable: d,
673
- canDropOnNode: re,
674
- onContextMenu: ie,
675
- onDragStart: ae,
676
- onDragOver: oe,
677
- onDrop: F,
678
- onDragEnd: ne
673
+ canDropOnNode: ie,
674
+ onContextMenu: ae,
675
+ onDragStart: oe,
676
+ onDragOver: se,
677
+ onDrop: P,
678
+ onDragEnd: re
679
679
  }, e.id))
680
- }), E && /* @__PURE__ */ Z(se, { children: /* @__PURE__ */ Z("div", {
680
+ }), E && /* @__PURE__ */ X(ce, { children: /* @__PURE__ */ X("div", {
681
681
  ref: O,
682
682
  className: "tree menu",
683
683
  style: {
@@ -685,36 +685,36 @@ function st({ items: e, expandable: t = !0, selectable: n = !1, defaultExpanded:
685
685
  left: E.x
686
686
  },
687
687
  role: "menu",
688
- children: E.items.map((e) => /* @__PURE__ */ Q("button", {
688
+ children: E.items.map((e) => /* @__PURE__ */ Z("button", {
689
689
  type: "button",
690
- className: L("action", e.color, e.disabled && "disabled"),
690
+ className: I("action", e.color, e.disabled && "disabled"),
691
691
  role: "menuitem",
692
692
  disabled: e.disabled,
693
693
  onClick: () => {
694
694
  e.disabled || (h?.(e.id, E.node), D(null));
695
695
  },
696
- children: [e.icon && /* @__PURE__ */ Z("span", {
696
+ children: [e.icon && /* @__PURE__ */ X("span", {
697
697
  className: "icon",
698
698
  children: e.icon
699
- }), /* @__PURE__ */ Z("span", { children: e.label })]
699
+ }), /* @__PURE__ */ X("span", { children: e.label })]
700
700
  }, e.id))
701
701
  }) })]
702
702
  });
703
703
  }
704
704
  //#endregion
705
705
  //#region src/components/data/MTaskList/MTaskList.tsx
706
- function ct({ items: e, color: t = "primary", strikethrough: n = !0, onChange: r, className: i, ...a }) {
707
- return /* @__PURE__ */ Z("div", {
708
- className: L("task list", `color-${t}`, i),
706
+ function lt({ items: e, color: t = "primary", strikethrough: n = !0, onChange: r, className: i, ...a }) {
707
+ return /* @__PURE__ */ X("div", {
708
+ className: I("task list", `color-${t}`, i),
709
709
  role: "list",
710
710
  ...a,
711
- children: e.map((e) => /* @__PURE__ */ Q("div", {
712
- className: L("task item", e.checked && "checked", e.disabled && "disabled"),
711
+ children: e.map((e) => /* @__PURE__ */ Z("div", {
712
+ className: I("task item", e.checked && "checked", e.disabled && "disabled"),
713
713
  role: "listitem",
714
714
  onClick: (t) => {
715
715
  e.disabled || t.target.closest(".checkbox") || r?.(e.id, !(e.checked ?? !1));
716
716
  },
717
- children: [/* @__PURE__ */ Z(V, {
717
+ children: [/* @__PURE__ */ X(B, {
718
718
  className: "task control",
719
719
  checked: e.checked ?? !1,
720
720
  color: t,
@@ -722,8 +722,8 @@ function ct({ items: e, color: t = "primary", strikethrough: n = !0, onChange: r
722
722
  disabled: e.disabled,
723
723
  onChange: (t) => r?.(e.id, t.target.checked),
724
724
  clickEffect: "ripple"
725
- }), /* @__PURE__ */ Z("span", {
726
- className: L("task label", e.checked && n && "done"),
725
+ }), /* @__PURE__ */ X("span", {
726
+ className: I("task label", e.checked && n && "done"),
727
727
  children: e.label
728
728
  })]
729
729
  }, e.id))
@@ -731,51 +731,51 @@ function ct({ items: e, color: t = "primary", strikethrough: n = !0, onChange: r
731
731
  }
732
732
  //#endregion
733
733
  //#region src/components/data/MFileManager/MFileManager.tsx
734
- var lt = {
735
- pdf: /* @__PURE__ */ Z(t, {}),
736
- ts: /* @__PURE__ */ Z(u, {}),
737
- tsx: /* @__PURE__ */ Z(w, {}),
738
- js: /* @__PURE__ */ Z(n, {}),
739
- jsx: /* @__PURE__ */ Z(D, {}),
740
- css: /* @__PURE__ */ Z(a, {}),
741
- scss: /* @__PURE__ */ Z(a, {}),
742
- html: /* @__PURE__ */ Z(v, {}),
743
- json: /* @__PURE__ */ Z(M, {}),
744
- md: /* @__PURE__ */ Z(_, {}),
745
- txt: /* @__PURE__ */ Z(E, {}),
746
- csv: /* @__PURE__ */ Z(oe, {}),
747
- zip: /* @__PURE__ */ Z(p, {}),
748
- rar: /* @__PURE__ */ Z(i, {}),
749
- svg: /* @__PURE__ */ Z(T, {}),
750
- png: /* @__PURE__ */ Z(x, {}),
751
- jpg: /* @__PURE__ */ Z(ee, {}),
752
- jpeg: /* @__PURE__ */ Z(b, {}),
753
- gif: /* @__PURE__ */ Z(o, {}),
754
- webp: /* @__PURE__ */ Z(l, {}),
755
- php: /* @__PURE__ */ Z(h, {}),
756
- xml: /* @__PURE__ */ Z(ne, {}),
757
- xls: /* @__PURE__ */ Z(m, {}),
758
- ppt: /* @__PURE__ */ Z(I, {}),
759
- odt: /* @__PURE__ */ Z(f, {}),
760
- exe: /* @__PURE__ */ Z(s, {}),
761
- mp3: /* @__PURE__ */ Z(y, {}),
762
- mp4: /* @__PURE__ */ Z(c, {})
734
+ var ut = {
735
+ pdf: /* @__PURE__ */ X(A, {}),
736
+ ts: /* @__PURE__ */ X(T, {}),
737
+ tsx: /* @__PURE__ */ X(D, {}),
738
+ js: /* @__PURE__ */ X(M, {}),
739
+ jsx: /* @__PURE__ */ X(x, {}),
740
+ css: /* @__PURE__ */ X(se, {}),
741
+ scss: /* @__PURE__ */ X(se, {}),
742
+ html: /* @__PURE__ */ X(N, {}),
743
+ json: /* @__PURE__ */ X(_, {}),
744
+ md: /* @__PURE__ */ X(b, {}),
745
+ txt: /* @__PURE__ */ X(u, {}),
746
+ csv: /* @__PURE__ */ X(w, {}),
747
+ zip: /* @__PURE__ */ X(O, {}),
748
+ rar: /* @__PURE__ */ X(E, {}),
749
+ svg: /* @__PURE__ */ X(d, {}),
750
+ png: /* @__PURE__ */ X(F, {}),
751
+ jpg: /* @__PURE__ */ X(r, {}),
752
+ jpeg: /* @__PURE__ */ X(t, {}),
753
+ gif: /* @__PURE__ */ X(v, {}),
754
+ webp: /* @__PURE__ */ X(m, {}),
755
+ php: /* @__PURE__ */ X(S, {}),
756
+ xml: /* @__PURE__ */ X(p, {}),
757
+ xls: /* @__PURE__ */ X(ne, {}),
758
+ ppt: /* @__PURE__ */ X(a, {}),
759
+ odt: /* @__PURE__ */ X(g, {}),
760
+ exe: /* @__PURE__ */ X(s, {}),
761
+ mp3: /* @__PURE__ */ X(l, {}),
762
+ mp4: /* @__PURE__ */ X(f, {})
763
763
  };
764
- function ut(e) {
764
+ function dt(e) {
765
765
  let t = e.lastIndexOf(".");
766
766
  return t < 1 ? null : e.slice(t + 1).toLowerCase();
767
767
  }
768
- function $(e) {
768
+ function Q(e) {
769
769
  return e?.kind === "folder" || !!e?.children?.length;
770
770
  }
771
- function dt(e) {
772
- let t = ut(e);
773
- return t ? lt[t] ?? /* @__PURE__ */ Z(j, {}) : /* @__PURE__ */ Z(re, {});
771
+ function ft(e) {
772
+ let t = dt(e);
773
+ return t ? ut[t] ?? /* @__PURE__ */ X(ie, {}) : /* @__PURE__ */ X(j, {});
774
774
  }
775
- function ft(e, t = !1) {
776
- return e.icon ? e.icon : $(e) ? Z(t ? F : S, {}) : dt(e.label);
775
+ function pt(e, t = !1) {
776
+ return e.icon ? e.icon : Q(e) ? X(t ? C : o, {}) : ft(e.label);
777
777
  }
778
- function pt(e) {
778
+ function mt(e) {
779
779
  if (!e || e < 1) return null;
780
780
  let t = [
781
781
  "B",
@@ -788,7 +788,7 @@ function pt(e) {
788
788
  let i = n >= 100 || r === 0 ? 0 : 1;
789
789
  return `${n.toFixed(i)} ${t[r]}`;
790
790
  }
791
- function mt(e, t) {
791
+ function ht(e, t) {
792
792
  if (!e) return null;
793
793
  let n = e instanceof Date ? e : new Date(e);
794
794
  return Number.isNaN(n.getTime()) ? null : new Intl.DateTimeFormat(t, {
@@ -799,7 +799,7 @@ function mt(e, t) {
799
799
  minute: "2-digit"
800
800
  }).format(n);
801
801
  }
802
- function ht(e) {
802
+ function gt(e) {
803
803
  let t = /* @__PURE__ */ new Map(), n = /* @__PURE__ */ new Map();
804
804
  function r(e, i) {
805
805
  for (let a of e) t.set(a.id, a), n.set(a.id, i), a.children?.length && r(a.children, a.id);
@@ -809,14 +809,14 @@ function ht(e) {
809
809
  parentMap: n
810
810
  };
811
811
  }
812
- function gt(e) {
813
- return e.flatMap((e) => $(e) ? [{
812
+ function _t(e) {
813
+ return e.flatMap((e) => Q(e) ? [{
814
814
  ...e,
815
815
  kind: "folder",
816
- children: gt(e.children ?? [])
816
+ children: _t(e.children ?? [])
817
817
  }] : []);
818
818
  }
819
- function _t(e, t, n) {
819
+ function vt(e, t, n) {
820
820
  let r = [], i = e;
821
821
  for (; i;) {
822
822
  let e = t.get(i);
@@ -825,15 +825,15 @@ function _t(e, t, n) {
825
825
  }
826
826
  return r;
827
827
  }
828
- function vt(e, t, n) {
828
+ function yt(e, t, n) {
829
829
  if (!e) return null;
830
830
  let r = t.get(e);
831
- return r ? $(r) ? r.id : n.get(r.id) ?? null : null;
831
+ return r ? Q(r) ? r.id : n.get(r.id) ?? null : null;
832
832
  }
833
- function yt(e, t) {
833
+ function bt(e, t) {
834
834
  return e ? e.children ?? [] : t;
835
835
  }
836
- function bt(e, t, n, r, i) {
836
+ function xt(e, t, n, r, i) {
837
837
  let a = e ? t.get(e) ?? null : null, o = a ? n.get(a.id) ?? null : null;
838
838
  return {
839
839
  id: e,
@@ -844,174 +844,174 @@ function bt(e, t, n, r, i) {
844
844
  activeFolder: i
845
845
  };
846
846
  }
847
- function xt(e, t) {
847
+ function St(e, t) {
848
848
  return [
849
- ...$(e) ? [] : [{
849
+ ...Q(e) ? [] : [{
850
850
  id: "download",
851
851
  label: t.download,
852
- icon: /* @__PURE__ */ Z(ae, {}),
852
+ icon: /* @__PURE__ */ X(ae, {}),
853
853
  color: "primary"
854
854
  }],
855
855
  {
856
856
  id: "rename",
857
857
  label: t.rename,
858
- icon: /* @__PURE__ */ Z(te, {})
858
+ icon: /* @__PURE__ */ X(te, {})
859
859
  },
860
860
  {
861
861
  id: "move",
862
862
  label: t.moveTo,
863
- icon: /* @__PURE__ */ Z(P, {})
863
+ icon: /* @__PURE__ */ X(n, {})
864
864
  },
865
865
  {
866
866
  id: "delete",
867
867
  label: t.delete,
868
- icon: /* @__PURE__ */ Z(A, {}),
868
+ icon: /* @__PURE__ */ X(k, {}),
869
869
  color: "error"
870
870
  }
871
871
  ];
872
872
  }
873
- function St(e, t) {
874
- return [...$(e) ? [{
873
+ function Ct(e, t) {
874
+ return [...Q(e) ? [{
875
875
  id: "new-folder",
876
876
  label: t.newFolder,
877
- icon: /* @__PURE__ */ Z(k, {})
878
- }] : [], ...xt(e, t)];
879
- }
880
- function Ct({ items: e, locale: t, defaultExpanded: n = [], expanded: r, onExpandChange: i, folderId: a, defaultFolderId: o = null, onFolderChange: s, selectedId: c, onSelectionChange: l, view: u, defaultView: d = "list", onViewChange: f, searchValue: p, defaultSearchValue: m = "", onSearchChange: h, searchable: g = !0, searchPlaceholder: _, showSidebar: v = !0, showPreview: y = !0, emptyText: b, toolbarActions: x = [], onToolbarAction: S, onOpenItem: C, onItemAction: w, onContextMenuAction: T, canDrop: E, onMove: D, renderPreview: k, className: A, ...j }) {
881
- let M = he(t), N = ke(), [P, ee] = X(o), [te, ne] = X(null), [re, ae] = X(d), [oe, F] = X(m), { nodeMap: I, parentMap: se } = J(() => ht(e), [e]), R = J(() => gt(e), [e]), le = vt(a === void 0 ? P : a, I, se), ue = le ? I.get(le) ?? null : null, de = c === void 0 ? te : c, V = de ? I.get(de) ?? null : null, fe = V ? V.id : null, U = u ?? re, pe = p ?? oe, G = yt(ue, e), ge = pe.trim().toLowerCase(), _e = _t(le, I, se), ye = _ ?? N.searchPlaceholder, be = b ?? N.emptyText, xe = !!(w || T), Se = J(() => ge ? G.filter((e) => e.label.toLowerCase().includes(ge)) : G, [G, ge]);
882
- function Ce(e) {
883
- let t = vt(e, I, se), n = t ? I.get(t) ?? null : null;
884
- s ? s(t, n) : ee(t);
877
+ icon: /* @__PURE__ */ X(P, {})
878
+ }] : [], ...St(e, t)];
879
+ }
880
+ function wt({ items: e, locale: t, defaultExpanded: n = [], expanded: r, onExpandChange: i, folderId: a, defaultFolderId: o = null, onFolderChange: s, selectedId: c, onSelectionChange: l, view: u, defaultView: d = "list", onViewChange: f, searchValue: p, defaultSearchValue: m = "", onSearchChange: h, searchable: g = !0, searchPlaceholder: _, showSidebar: v = !0, showPreview: y = !0, emptyText: b, toolbarActions: x = [], onToolbarAction: S, onOpenItem: C, onItemAction: w, onContextMenuAction: T, canDrop: E, onMove: D, renderPreview: O, className: k, ...A }) {
881
+ let j = ge(t), M = Ae(), [ee, N] = Y(o), [te, ne] = Y(null), [ie, ae] = Y(d), [se, P] = Y(m), { nodeMap: F, parentMap: ce } = q(() => gt(e), [e]), L = q(() => _t(e), [e]), ue = yt(a === void 0 ? ee : a, F, ce), de = ue ? F.get(ue) ?? null : null, fe = c === void 0 ? te : c, B = fe ? F.get(fe) ?? null : null, pe = B ? B.id : null, H = u ?? ie, me = p ?? se, W = bt(de, e), _e = me.trim().toLowerCase(), ve = vt(ue, F, ce), be = _ ?? M.searchPlaceholder, xe = b ?? M.emptyText, Se = !!(w || T), Ce = q(() => _e ? W.filter((e) => e.label.toLowerCase().includes(_e)) : W, [W, _e]);
882
+ function we(e) {
883
+ let t = yt(e, F, ce), n = t ? F.get(t) ?? null : null;
884
+ s ? s(t, n) : N(t);
885
885
  }
886
- function we(e, t = le, n = ue) {
887
- let r = bt(e, I, se, t, n);
886
+ function Te(e, t = ue, n = de) {
887
+ let r = xt(e, F, ce, t, n);
888
888
  l ? l(r) : ne(e);
889
889
  }
890
- function Te(e) {
890
+ function Ee(e) {
891
891
  f ? f(e) : ae(e);
892
892
  }
893
- function Ee(e) {
894
- h ? h(e) : F(e);
893
+ function De(e) {
894
+ h ? h(e) : P(e);
895
895
  }
896
- function De(e, t) {
897
- Ce(e), we(e, t.id, t);
896
+ function Oe(e, t) {
897
+ we(e), Te(e, t.id, t);
898
898
  }
899
- function K(e) {
900
- if ($(e)) {
901
- Ce(e.id), we(e.id, e.id, e);
899
+ function G(e) {
900
+ if (Q(e)) {
901
+ we(e.id), Te(e.id, e.id, e);
902
902
  return;
903
903
  }
904
- we(e.id);
904
+ Te(e.id);
905
905
  }
906
- function Oe(e) {
906
+ function ke(e) {
907
907
  S && S({
908
- ...bt(fe, I, se, le, ue),
908
+ ...xt(pe, F, ce, ue, de),
909
909
  actionId: e,
910
- visibleItems: Se
910
+ visibleItems: Ce
911
911
  });
912
912
  }
913
- function Ae(e, t) {
913
+ function je(e, t) {
914
914
  (w ?? T)?.(e, t);
915
915
  }
916
- function je(e, t) {
916
+ function Me(e, t) {
917
917
  (T ?? w)?.(e, t);
918
918
  }
919
- function Ne(e) {
920
- let t = [], n = pt(e.size), r = mt(e.modifiedAt, M);
921
- return $(e) && t.push(N.itemsCount(e.children?.length ?? 0)), n && t.push(n), r && t.push(r), t.join(" / ");
919
+ function Pe(e) {
920
+ let t = [], n = mt(e.size), r = ht(e.modifiedAt, j);
921
+ return Q(e) && t.push(M.itemsCount(e.children?.length ?? 0)), n && t.push(n), r && t.push(r), t.join(" / ");
922
922
  }
923
- return /* @__PURE__ */ Q("div", {
924
- className: L("file-manager", !v && "no-sidebar", !y && "no-preview", A),
925
- ...j,
926
- children: [/* @__PURE__ */ Q("div", {
923
+ return /* @__PURE__ */ Z("div", {
924
+ className: I("file-manager", !v && "no-sidebar", !y && "no-preview", k),
925
+ ...A,
926
+ children: [/* @__PURE__ */ Z("div", {
927
927
  className: "toolbar",
928
- children: [/* @__PURE__ */ Q("div", {
928
+ children: [/* @__PURE__ */ Z("div", {
929
929
  className: "toolbar-main",
930
- children: [/* @__PURE__ */ Q("div", {
930
+ children: [/* @__PURE__ */ Z("div", {
931
931
  className: "breadcrumbs",
932
- children: [/* @__PURE__ */ Q("button", {
932
+ children: [/* @__PURE__ */ Z("button", {
933
933
  type: "button",
934
934
  className: "breadcrumb root",
935
- onClick: () => Ce(null),
936
- children: [/* @__PURE__ */ Z(O, {}), /* @__PURE__ */ Z(z, {
935
+ onClick: () => we(null),
936
+ children: [/* @__PURE__ */ X(oe, {}), /* @__PURE__ */ X(R, {
937
937
  as: "span",
938
938
  weight: "semibold",
939
- children: N.home
939
+ children: M.home
940
940
  })]
941
- }), _e.map((e) => /* @__PURE__ */ Q("div", {
941
+ }), ve.map((e) => /* @__PURE__ */ Z("div", {
942
942
  className: "breadcrumbs",
943
- children: [/* @__PURE__ */ Z("span", {
943
+ children: [/* @__PURE__ */ X("span", {
944
944
  className: "breadcrumb-separator",
945
945
  children: "/"
946
- }), /* @__PURE__ */ Z("button", {
946
+ }), /* @__PURE__ */ X("button", {
947
947
  type: "button",
948
948
  className: "breadcrumb",
949
- onClick: () => Ce(e.id),
950
- children: /* @__PURE__ */ Z(z, {
949
+ onClick: () => we(e.id),
950
+ children: /* @__PURE__ */ X(R, {
951
951
  as: "span",
952
952
  children: e.label
953
953
  })
954
954
  })]
955
955
  }, e.id))]
956
- }), g && /* @__PURE__ */ Z(ve, {
956
+ }), g && /* @__PURE__ */ X(ye, {
957
957
  className: "toolbar-search",
958
958
  size: "sm",
959
- placeholder: ye,
960
- value: pe,
961
- onChange: (e) => Ee(e.target.value),
962
- onClear: () => Ee("")
959
+ placeholder: be,
960
+ value: me,
961
+ onChange: (e) => De(e.target.value),
962
+ onClear: () => De("")
963
963
  })]
964
- }), /* @__PURE__ */ Q("div", {
964
+ }), /* @__PURE__ */ Z("div", {
965
965
  className: "toolbar-actions",
966
- children: [x.map((e) => /* @__PURE__ */ Z(B, {
966
+ children: [x.map((e) => /* @__PURE__ */ X(z, {
967
967
  size: "sm",
968
968
  variant: e.variant ?? "ghost",
969
969
  color: e.color,
970
970
  disabled: e.disabled,
971
- onClick: () => Oe(e.id),
971
+ onClick: () => ke(e.id),
972
972
  startIcon: e.icon,
973
973
  children: e.label
974
- }, e.id)), /* @__PURE__ */ Q("div", {
974
+ }, e.id)), /* @__PURE__ */ Z("div", {
975
975
  className: "view-switch",
976
- children: [/* @__PURE__ */ Z(B, {
976
+ children: [/* @__PURE__ */ X(z, {
977
977
  size: "sm",
978
- variant: U === "list" ? "secondary" : "ghost",
979
- onClick: () => Te("list"),
980
- children: N.listView
981
- }), /* @__PURE__ */ Z(B, {
978
+ variant: H === "list" ? "secondary" : "ghost",
979
+ onClick: () => Ee("list"),
980
+ children: M.listView
981
+ }), /* @__PURE__ */ X(z, {
982
982
  size: "sm",
983
- variant: U === "grid" ? "secondary" : "ghost",
984
- onClick: () => Te("grid"),
985
- children: N.gridView
983
+ variant: H === "grid" ? "secondary" : "ghost",
984
+ onClick: () => Ee("grid"),
985
+ children: M.gridView
986
986
  })]
987
987
  })]
988
988
  })]
989
- }), /* @__PURE__ */ Q("div", {
989
+ }), /* @__PURE__ */ Z("div", {
990
990
  className: "body",
991
991
  children: [
992
- v && /* @__PURE__ */ Q("aside", {
992
+ v && /* @__PURE__ */ Z("aside", {
993
993
  className: "panel",
994
- children: [/* @__PURE__ */ Q("div", {
994
+ children: [/* @__PURE__ */ Z("div", {
995
995
  className: "panel-header",
996
- children: [/* @__PURE__ */ Z(z, {
996
+ children: [/* @__PURE__ */ X(R, {
997
997
  weight: "semibold",
998
- children: N.folders
999
- }), /* @__PURE__ */ Z(H, {
998
+ children: M.folders
999
+ }), /* @__PURE__ */ X(V, {
1000
1000
  size: "sm",
1001
1001
  color: "info",
1002
- children: R.length
1002
+ children: L.length
1003
1003
  })]
1004
- }), /* @__PURE__ */ Z("div", {
1004
+ }), /* @__PURE__ */ X("div", {
1005
1005
  className: "panel-body sidebar-body",
1006
- children: R.length > 0 ? /* @__PURE__ */ Z(st, {
1007
- items: R,
1006
+ children: L.length > 0 ? /* @__PURE__ */ X(ct, {
1007
+ items: L,
1008
1008
  selectable: !0,
1009
1009
  fileIcons: !0,
1010
1010
  defaultExpanded: n,
1011
1011
  expanded: r,
1012
1012
  onExpandChange: i,
1013
- selected: le,
1014
- onSelect: (e, t) => De(e, t),
1013
+ selected: ue,
1014
+ onSelect: (e, t) => Oe(e, t),
1015
1015
  draggable: !!D,
1016
1016
  canDrop: E ? (e, t) => E(e, t) : void 0,
1017
1017
  onMove: D ? (e) => D({
@@ -1020,72 +1020,72 @@ function Ct({ items: e, locale: t, defaultExpanded: n = [], expanded: r, onExpan
1020
1020
  targetId: e.targetId,
1021
1021
  targetNode: e.targetNode
1022
1022
  }) : void 0,
1023
- contextMenuItems: xe ? (e) => St(e, N) : void 0,
1024
- onContextMenuAction: xe ? (e, t) => je(e, t) : void 0
1025
- }) : /* @__PURE__ */ Z("div", {
1023
+ contextMenuItems: Se ? (e) => Ct(e, M) : void 0,
1024
+ onContextMenuAction: Se ? (e, t) => Me(e, t) : void 0
1025
+ }) : /* @__PURE__ */ X("div", {
1026
1026
  className: "empty-state",
1027
- children: N.noFoldersAvailable
1027
+ children: M.noFoldersAvailable
1028
1028
  })
1029
1029
  })]
1030
1030
  }),
1031
- /* @__PURE__ */ Q("section", {
1031
+ /* @__PURE__ */ Z("section", {
1032
1032
  className: "panel",
1033
- children: [/* @__PURE__ */ Q("div", {
1033
+ children: [/* @__PURE__ */ Z("div", {
1034
1034
  className: "panel-header",
1035
- children: [/* @__PURE__ */ Q(ce, {
1035
+ children: [/* @__PURE__ */ Z(le, {
1036
1036
  align: "center",
1037
1037
  wrap: "wrap",
1038
- children: [/* @__PURE__ */ Z(z, {
1038
+ children: [/* @__PURE__ */ X(R, {
1039
1039
  weight: "semibold",
1040
- children: ue?.label ?? N.home
1041
- }), /* @__PURE__ */ Z(H, {
1040
+ children: de?.label ?? M.home
1041
+ }), /* @__PURE__ */ X(V, {
1042
1042
  size: "sm",
1043
- children: Se.length
1043
+ children: Ce.length
1044
1044
  })]
1045
- }), /* @__PURE__ */ Z(z, {
1045
+ }), /* @__PURE__ */ X(R, {
1046
1046
  size: "sm",
1047
1047
  tone: "muted",
1048
- children: ge ? N.filteredBy(pe) : N.currentFolder
1048
+ children: _e ? M.filteredBy(me) : M.currentFolder
1049
1049
  })]
1050
- }), /* @__PURE__ */ Z("div", {
1050
+ }), /* @__PURE__ */ X("div", {
1051
1051
  className: "panel-body",
1052
- children: Se.length > 0 ? /* @__PURE__ */ Z("div", {
1053
- className: L("content-items", U),
1054
- children: Se.map((e) => {
1055
- let t = fe === e.id, n = Ne(e), r = xe ? xt(e, N) : [];
1056
- return /* @__PURE__ */ Q("div", {
1057
- className: L("item-card", t && "selected"),
1058
- children: [/* @__PURE__ */ Q("button", {
1052
+ children: Ce.length > 0 ? /* @__PURE__ */ X("div", {
1053
+ className: I("content-items", H),
1054
+ children: Ce.map((e) => {
1055
+ let t = pe === e.id, n = Pe(e), r = Se ? St(e, M) : [];
1056
+ return /* @__PURE__ */ Z("div", {
1057
+ className: I("item-card", t && "selected"),
1058
+ children: [/* @__PURE__ */ Z("button", {
1059
1059
  type: "button",
1060
1060
  className: "item-card-main",
1061
- onClick: () => K(e),
1061
+ onClick: () => G(e),
1062
1062
  onDoubleClick: () => C?.(e),
1063
- children: [/* @__PURE__ */ Z("span", {
1063
+ children: [/* @__PURE__ */ X("span", {
1064
1064
  className: "item-icon",
1065
- children: ft(e)
1066
- }), /* @__PURE__ */ Q("span", {
1065
+ children: pt(e)
1066
+ }), /* @__PURE__ */ Z("span", {
1067
1067
  className: "item-text",
1068
1068
  children: [
1069
- /* @__PURE__ */ Z(z, {
1069
+ /* @__PURE__ */ X(R, {
1070
1070
  as: "span",
1071
1071
  weight: "semibold",
1072
1072
  truncate: !0,
1073
1073
  children: e.label
1074
1074
  }),
1075
- e.description ? /* @__PURE__ */ Z(z, {
1075
+ e.description ? /* @__PURE__ */ X(R, {
1076
1076
  as: "span",
1077
1077
  size: "sm",
1078
1078
  tone: "muted",
1079
1079
  truncate: 2,
1080
1080
  children: e.description
1081
1081
  }) : null,
1082
- /* @__PURE__ */ Q("span", {
1082
+ /* @__PURE__ */ Z("span", {
1083
1083
  className: "item-meta",
1084
- children: [/* @__PURE__ */ Z(H, {
1084
+ children: [/* @__PURE__ */ X(V, {
1085
1085
  size: "sm",
1086
- color: $(e) ? "info" : "primary",
1087
- children: $(e) ? N.folder : N.file
1088
- }), n ? /* @__PURE__ */ Z(z, {
1086
+ color: Q(e) ? "info" : "primary",
1087
+ children: Q(e) ? M.folder : M.file
1088
+ }), n ? /* @__PURE__ */ X(R, {
1089
1089
  as: "span",
1090
1090
  size: "sm",
1091
1091
  tone: "muted",
@@ -1095,96 +1095,96 @@ function Ct({ items: e, locale: t, defaultExpanded: n = [], expanded: r, onExpan
1095
1095
  })
1096
1096
  ]
1097
1097
  })]
1098
- }), r.length > 0 ? /* @__PURE__ */ Z("div", {
1098
+ }), r.length > 0 ? /* @__PURE__ */ X("div", {
1099
1099
  className: "item-card-actions",
1100
- children: /* @__PURE__ */ Z(W, {
1100
+ children: /* @__PURE__ */ X(U, {
1101
1101
  placement: "bottom-end",
1102
- trigger: /* @__PURE__ */ Z(B, {
1103
- "aria-label": `${N.preview}: ${e.label}`,
1102
+ trigger: /* @__PURE__ */ X(z, {
1103
+ "aria-label": `${M.preview}: ${e.label}`,
1104
1104
  variant: "ghost",
1105
1105
  size: "sm",
1106
1106
  iconOnly: !0,
1107
- children: /* @__PURE__ */ Z(ie, {})
1107
+ children: /* @__PURE__ */ X(re, {})
1108
1108
  }),
1109
- children: r.map((t) => /* @__PURE__ */ Z(me, {
1109
+ children: r.map((t) => /* @__PURE__ */ X(he, {
1110
1110
  icon: t.icon,
1111
1111
  label: t.label,
1112
1112
  color: t.color,
1113
- onClick: () => Ae(t.id, e)
1113
+ onClick: () => je(t.id, e)
1114
1114
  }, t.id))
1115
1115
  })
1116
1116
  }) : null]
1117
1117
  }, e.id);
1118
1118
  })
1119
- }) : /* @__PURE__ */ Z("div", {
1119
+ }) : /* @__PURE__ */ X("div", {
1120
1120
  className: "empty-state",
1121
- children: be
1121
+ children: xe
1122
1122
  })
1123
1123
  })]
1124
1124
  }),
1125
- y && /* @__PURE__ */ Q("aside", {
1125
+ y && /* @__PURE__ */ Z("aside", {
1126
1126
  className: "panel",
1127
- children: [/* @__PURE__ */ Q("div", {
1127
+ children: [/* @__PURE__ */ Z("div", {
1128
1128
  className: "panel-header",
1129
- children: [/* @__PURE__ */ Z(z, {
1129
+ children: [/* @__PURE__ */ X(R, {
1130
1130
  weight: "semibold",
1131
- children: N.preview
1132
- }), V ? /* @__PURE__ */ Z(H, {
1131
+ children: M.preview
1132
+ }), B ? /* @__PURE__ */ X(V, {
1133
1133
  size: "sm",
1134
- color: $(V) ? "info" : "primary",
1135
- children: $(V) ? N.folder : N.file
1134
+ color: Q(B) ? "info" : "primary",
1135
+ children: Q(B) ? M.folder : M.file
1136
1136
  }) : null]
1137
- }), /* @__PURE__ */ Z("div", {
1137
+ }), /* @__PURE__ */ X("div", {
1138
1138
  className: "panel-body",
1139
- children: V ? /* @__PURE__ */ Q(Me, { children: [
1140
- /* @__PURE__ */ Z("div", {
1139
+ children: B ? /* @__PURE__ */ Z(Ne, { children: [
1140
+ /* @__PURE__ */ X("div", {
1141
1141
  className: "preview-visual",
1142
- children: k ? k(V) : V.preview ? V.preview : /* @__PURE__ */ Z("span", {
1142
+ children: O ? O(B) : B.preview ? B.preview : /* @__PURE__ */ X("span", {
1143
1143
  className: "preview-icon",
1144
- children: ft(V, !0)
1144
+ children: pt(B, !0)
1145
1145
  })
1146
1146
  }),
1147
- /* @__PURE__ */ Z(z, {
1147
+ /* @__PURE__ */ X(R, {
1148
1148
  weight: "semibold",
1149
- children: V.label
1149
+ children: B.label
1150
1150
  }),
1151
- V.description ? /* @__PURE__ */ Z(z, {
1151
+ B.description ? /* @__PURE__ */ X(R, {
1152
1152
  size: "sm",
1153
1153
  tone: "muted",
1154
- children: V.description
1154
+ children: B.description
1155
1155
  }) : null,
1156
- /* @__PURE__ */ Q("div", {
1156
+ /* @__PURE__ */ Z("div", {
1157
1157
  className: "preview-meta",
1158
1158
  children: [
1159
- /* @__PURE__ */ Z(H, {
1159
+ /* @__PURE__ */ X(V, {
1160
1160
  size: "sm",
1161
- color: $(V) ? "info" : "primary",
1162
- children: $(V) ? N.folder : N.file
1161
+ color: Q(B) ? "info" : "primary",
1162
+ children: Q(B) ? M.folder : M.file
1163
1163
  }),
1164
- pt(V.size) ? /* @__PURE__ */ Z(H, {
1164
+ mt(B.size) ? /* @__PURE__ */ X(V, {
1165
1165
  size: "sm",
1166
- children: pt(V.size)
1166
+ children: mt(B.size)
1167
1167
  }) : null,
1168
- mt(V.modifiedAt, M) ? /* @__PURE__ */ Z(H, {
1168
+ ht(B.modifiedAt, j) ? /* @__PURE__ */ X(V, {
1169
1169
  size: "sm",
1170
1170
  color: "neutral",
1171
- children: mt(V.modifiedAt, M)
1171
+ children: ht(B.modifiedAt, j)
1172
1172
  }) : null
1173
1173
  ]
1174
1174
  }),
1175
- /* @__PURE__ */ Q(z, {
1175
+ /* @__PURE__ */ Z(R, {
1176
1176
  size: "sm",
1177
1177
  tone: "muted",
1178
1178
  children: [
1179
- N.path,
1179
+ M.path,
1180
1180
  ":",
1181
1181
  " ",
1182
- [N.home, ..._t(V.id, I, se).map((e) => e.label)].join(" / ")
1182
+ [M.home, ...vt(B.id, F, ce).map((e) => e.label)].join(" / ")
1183
1183
  ]
1184
1184
  })
1185
- ] }) : /* @__PURE__ */ Z("div", {
1185
+ ] }) : /* @__PURE__ */ X("div", {
1186
1186
  className: "preview-empty",
1187
- children: N.selectItemToInspect
1187
+ children: M.selectItemToInspect
1188
1188
  })
1189
1189
  })]
1190
1190
  })
@@ -1194,14 +1194,14 @@ function Ct({ items: e, locale: t, defaultExpanded: n = [], expanded: r, onExpan
1194
1194
  }
1195
1195
  //#endregion
1196
1196
  //#region src/components/data/MCalendarBoard/MCalendarBoard.tsx
1197
- function wt(e) {
1197
+ function $(e) {
1198
1198
  return new Date(e.getFullYear(), e.getMonth(), e.getDate());
1199
1199
  }
1200
1200
  function Tt(e) {
1201
1201
  if (!e) return null;
1202
- if (e instanceof Date) return wt(e);
1202
+ if (e instanceof Date) return $(e);
1203
1203
  let t = new Date(e);
1204
- return Number.isNaN(t.getTime()) ? null : wt(t);
1204
+ return Number.isNaN(t.getTime()) ? null : $(t);
1205
1205
  }
1206
1206
  function Et(e) {
1207
1207
  return `${e.getFullYear()}-${String(e.getMonth() + 1).padStart(2, "0")}-${String(e.getDate()).padStart(2, "0")}`;
@@ -1211,10 +1211,10 @@ function Dt(e) {
1211
1211
  }
1212
1212
  function Ot(e, t) {
1213
1213
  let n = new Date(e);
1214
- return n.setDate(n.getDate() + t), wt(n);
1214
+ return n.setDate(n.getDate() + t), $(n);
1215
1215
  }
1216
1216
  function kt(e, t) {
1217
- let n = wt(e);
1217
+ let n = $(e);
1218
1218
  return Ot(n, -((n.getDay() - t + 7) % 7));
1219
1219
  }
1220
1220
  function At(e) {
@@ -1260,7 +1260,7 @@ function It(e, t) {
1260
1260
  return i.setHours(t + 1, 0, 0, 0), i <= n ? "past" : r <= n && i > n ? "active" : "upcoming";
1261
1261
  }
1262
1262
  function Lt(e) {
1263
- return At(e).slice(0, 4).map((e) => /* @__PURE__ */ Z("span", {
1263
+ return At(e).slice(0, 4).map((e) => /* @__PURE__ */ X("span", {
1264
1264
  className: "marker",
1265
1265
  style: { background: e.color ?? Mt(e.status) },
1266
1266
  "aria-hidden": "true"
@@ -1282,24 +1282,24 @@ function Bt(e, t) {
1282
1282
  }
1283
1283
  function Vt({ date: e, events: t, locale: n, timelineStartHour: r, timelineEndHour: i, showTimeline: a, emptyStateText: o, renderEventItem: s }) {
1284
1284
  if (!e) return null;
1285
- let c = je();
1286
- return /* @__PURE__ */ Q(Me, { children: [
1287
- /* @__PURE__ */ Q(Me, { children: [/* @__PURE__ */ Z(le, {
1285
+ let c = Me();
1286
+ return /* @__PURE__ */ Z(Ne, { children: [
1287
+ /* @__PURE__ */ Z(Ne, { children: [/* @__PURE__ */ X(ue, {
1288
1288
  level: 4,
1289
1289
  children: Nt(e, n)
1290
- }), /* @__PURE__ */ Z(z, {
1290
+ }), /* @__PURE__ */ X(R, {
1291
1291
  tone: "muted",
1292
1292
  size: "sm",
1293
1293
  children: t.length > 0 ? c.itemsCount(t.length) : o
1294
1294
  })] }),
1295
- /* @__PURE__ */ Z(Kt, {
1295
+ /* @__PURE__ */ X(Kt, {
1296
1296
  events: t,
1297
1297
  locale: n,
1298
1298
  currentDate: e,
1299
1299
  emptyStateText: o,
1300
1300
  renderEventItem: s
1301
1301
  }),
1302
- a && /* @__PURE__ */ Z(qt, {
1302
+ a && /* @__PURE__ */ X(qt, {
1303
1303
  date: e,
1304
1304
  events: t,
1305
1305
  locale: n,
@@ -1309,11 +1309,11 @@ function Vt({ date: e, events: t, locale: n, timelineStartHour: r, timelineEndHo
1309
1309
  ] });
1310
1310
  }
1311
1311
  function Ht({ filters: e, activeFilterIds: t, onToggle: n }) {
1312
- return e.length ? /* @__PURE__ */ Z("div", {
1312
+ return e.length ? /* @__PURE__ */ X("div", {
1313
1313
  className: "calendar filters",
1314
1314
  children: e.map((e) => {
1315
1315
  let r = t.includes(e.id);
1316
- return /* @__PURE__ */ Z(B, {
1316
+ return /* @__PURE__ */ X(z, {
1317
1317
  type: "button",
1318
1318
  size: "sm",
1319
1319
  variant: "outlined",
@@ -1327,11 +1327,11 @@ function Ht({ filters: e, activeFilterIds: t, onToggle: n }) {
1327
1327
  }) : null;
1328
1328
  }
1329
1329
  function Ut({ days: e, eventsByDay: t, selectedDate: n, activeDate: r, onDayInteract: i, onDayHover: a, onDayLeave: o, dayBadge: s, renderDayCell: c }) {
1330
- let l = Et(wt(/* @__PURE__ */ new Date()));
1331
- return /* @__PURE__ */ Z("div", {
1330
+ let l = Et($(/* @__PURE__ */ new Date()));
1331
+ return /* @__PURE__ */ X("div", {
1332
1332
  className: "calendar week",
1333
1333
  children: e.map((e) => {
1334
- let u = Et(e), d = t.get(u) ?? [], f = s?.(e, d) ?? (d.length > 0 ? /* @__PURE__ */ Z(H, {
1334
+ let u = Et(e), d = t.get(u) ?? [], f = s?.(e, d) ?? (d.length > 0 ? /* @__PURE__ */ X(V, {
1335
1335
  size: "sm",
1336
1336
  children: d.length
1337
1337
  }) : null), p = Lt(d), m = !!(n && Et(n) === u), h = {
@@ -1342,9 +1342,9 @@ function Ut({ days: e, eventsByDay: t, selectedDate: n, activeDate: r, onDayInte
1342
1342
  isSelected: m,
1343
1343
  isOutsideMonth: !1
1344
1344
  };
1345
- return /* @__PURE__ */ Z("div", {
1345
+ return /* @__PURE__ */ X("div", {
1346
1346
  className: "calendar week column",
1347
- children: /* @__PURE__ */ Z(Wt, {
1347
+ children: /* @__PURE__ */ X(Wt, {
1348
1348
  date: e,
1349
1349
  events: d,
1350
1350
  badge: f,
@@ -1362,74 +1362,74 @@ function Ut({ days: e, eventsByDay: t, selectedDate: n, activeDate: r, onDayInte
1362
1362
  });
1363
1363
  }
1364
1364
  function Wt({ date: e, events: t = [], badge: n, markers: r, isToday: i = !1, isSelected: a = !1, isOutsideMonth: o = !1, className: s, children: c, ...l }) {
1365
- return /* @__PURE__ */ Z("button", {
1365
+ return /* @__PURE__ */ X("button", {
1366
1366
  type: "button",
1367
- className: L("calendar day cell", i && "today", a && "selected", o && "outside-month", s),
1367
+ className: I("calendar day cell", i && "today", a && "selected", o && "outside-month", s),
1368
1368
  ...l,
1369
- children: c ?? /* @__PURE__ */ Q(Re, { children: [/* @__PURE__ */ Q("div", {
1369
+ children: c ?? /* @__PURE__ */ Z(ze, { children: [/* @__PURE__ */ Z("div", {
1370
1370
  className: "day header",
1371
- children: [/* @__PURE__ */ Z("span", {
1371
+ children: [/* @__PURE__ */ X("span", {
1372
1372
  className: "day number",
1373
1373
  children: e.getDate()
1374
- }), /* @__PURE__ */ Z("div", {
1374
+ }), /* @__PURE__ */ X("div", {
1375
1375
  className: "day meta",
1376
1376
  children: n
1377
1377
  })]
1378
- }), /* @__PURE__ */ Z("div", {
1378
+ }), /* @__PURE__ */ X("div", {
1379
1379
  className: "markers",
1380
1380
  children: r ?? Lt(t)
1381
1381
  })] })
1382
1382
  });
1383
1383
  }
1384
1384
  function Gt({ event: e, locale: t, className: n, currentDate: r, ...i }) {
1385
- let a = he(t), o = je(), s = e.status === "cancelled" ? "error" : e.status === "done" ? "success" : e.status === "active" ? "info" : "warning";
1386
- return /* @__PURE__ */ Q("div", {
1387
- className: L("calendar event item", n),
1385
+ let a = ge(t), o = Me(), s = e.status === "cancelled" ? "error" : e.status === "done" ? "success" : e.status === "active" ? "info" : "warning";
1386
+ return /* @__PURE__ */ Z("div", {
1387
+ className: I("calendar event item", n),
1388
1388
  ...i,
1389
- children: [/* @__PURE__ */ Z("div", {
1389
+ children: [/* @__PURE__ */ X("div", {
1390
1390
  className: "event time",
1391
1391
  children: Ft(e, o)
1392
- }), /* @__PURE__ */ Q("div", {
1392
+ }), /* @__PURE__ */ Z("div", {
1393
1393
  className: "event content",
1394
1394
  children: [
1395
- /* @__PURE__ */ Q("div", {
1395
+ /* @__PURE__ */ Z("div", {
1396
1396
  className: "event title row",
1397
- children: [/* @__PURE__ */ Z(le, {
1397
+ children: [/* @__PURE__ */ X(ue, {
1398
1398
  level: 5,
1399
1399
  children: e.title
1400
- }), e.status && /* @__PURE__ */ Z(H, {
1400
+ }), e.status && /* @__PURE__ */ X(V, {
1401
1401
  color: s,
1402
1402
  size: "sm",
1403
1403
  children: e.status
1404
1404
  })]
1405
1405
  }),
1406
- e.description && /* @__PURE__ */ Z(z, {
1406
+ e.description && /* @__PURE__ */ X(R, {
1407
1407
  size: "sm",
1408
1408
  tone: "muted",
1409
1409
  children: e.description
1410
1410
  }),
1411
- /* @__PURE__ */ Q("div", {
1411
+ /* @__PURE__ */ Z("div", {
1412
1412
  className: "event details",
1413
1413
  children: [
1414
- e.type && /* @__PURE__ */ Z(H, {
1414
+ e.type && /* @__PURE__ */ X(V, {
1415
1415
  color: "neutral",
1416
1416
  size: "sm",
1417
1417
  children: e.type
1418
1418
  }),
1419
- e.badgeLabel && /* @__PURE__ */ Z(H, {
1419
+ e.badgeLabel && /* @__PURE__ */ X(V, {
1420
1420
  size: "sm",
1421
1421
  children: e.badgeLabel
1422
1422
  }),
1423
- e.user && /* @__PURE__ */ Q("span", {
1423
+ e.user && /* @__PURE__ */ Z("span", {
1424
1424
  className: "event user",
1425
- children: [/* @__PURE__ */ Z(_e, {
1425
+ children: [/* @__PURE__ */ X(ve, {
1426
1426
  size: "sm",
1427
1427
  src: e.user.avatar,
1428
1428
  name: e.user.name,
1429
1429
  backgroundColor: e.user.color
1430
1430
  }), e.user.name]
1431
1431
  }),
1432
- !e.startTime && !e.endTime && r && /* @__PURE__ */ Z(z, {
1432
+ !e.startTime && !e.endTime && r && /* @__PURE__ */ X(R, {
1433
1433
  size: "sm",
1434
1434
  tone: "muted",
1435
1435
  children: Nt(r, a)
@@ -1441,56 +1441,56 @@ function Gt({ event: e, locale: t, className: n, currentDate: r, ...i }) {
1441
1441
  });
1442
1442
  }
1443
1443
  function Kt({ events: e, locale: t, currentDate: n, emptyStateText: r, renderEventItem: i, className: a, ...o }) {
1444
- let s = he(t), c = je();
1445
- return e.length ? /* @__PURE__ */ Z("div", {
1446
- className: L("calendar event list", a),
1444
+ let s = ge(t), c = Me();
1445
+ return e.length ? /* @__PURE__ */ X("div", {
1446
+ className: I("calendar event list", a),
1447
1447
  ...o,
1448
- children: /* @__PURE__ */ Z(Me, { children: At(e).map((e) => i ? /* @__PURE__ */ Z("div", { children: i(e) }, e.id) : /* @__PURE__ */ Z(Gt, {
1448
+ children: /* @__PURE__ */ X(Ne, { children: At(e).map((e) => i ? /* @__PURE__ */ X("div", { children: i(e) }, e.id) : /* @__PURE__ */ X(Gt, {
1449
1449
  event: e,
1450
1450
  locale: s,
1451
1451
  currentDate: n
1452
1452
  }, e.id)) })
1453
- }) : /* @__PURE__ */ Z(z, {
1453
+ }) : /* @__PURE__ */ X(R, {
1454
1454
  size: "sm",
1455
1455
  tone: "muted",
1456
- className: L("calendar event list", a),
1456
+ className: I("calendar event list", a),
1457
1457
  ...o,
1458
1458
  children: r ?? c.emptyStateText
1459
1459
  });
1460
1460
  }
1461
1461
  function qt({ date: e, events: t, locale: n, startHour: r = 6, endHour: i = 22, emptyStateText: a, className: o, ...s }) {
1462
- he(n);
1463
- let c = je(), l = Array.from({ length: Math.max(i - r + 1, 1) }, (e, t) => r + t);
1464
- return /* @__PURE__ */ Z("div", {
1465
- className: L("calendar timeline", o),
1462
+ ge(n);
1463
+ let c = Me(), l = Array.from({ length: Math.max(i - r + 1, 1) }, (e, t) => r + t);
1464
+ return /* @__PURE__ */ X("div", {
1465
+ className: I("calendar timeline", o),
1466
1466
  ...s,
1467
- children: /* @__PURE__ */ Q(Me, { children: [/* @__PURE__ */ Z(le, {
1467
+ children: /* @__PURE__ */ Z(Ne, { children: [/* @__PURE__ */ X(ue, {
1468
1468
  level: 5,
1469
1469
  children: c.timelineTitle
1470
- }), /* @__PURE__ */ Z("div", {
1470
+ }), /* @__PURE__ */ X("div", {
1471
1471
  className: "timeline slots",
1472
1472
  children: l.map((n) => {
1473
1473
  let r = t.filter((e) => e.startTime ? Number(e.startTime.split(":")[0]) === n : !1);
1474
- return /* @__PURE__ */ Q("div", {
1475
- className: L("timeline slot", It(e, n)),
1474
+ return /* @__PURE__ */ Z("div", {
1475
+ className: I("timeline slot", It(e, n)),
1476
1476
  children: [
1477
- /* @__PURE__ */ Z("div", {
1477
+ /* @__PURE__ */ X("div", {
1478
1478
  className: "slot time",
1479
1479
  children: `${String(n).padStart(2, "0")}:00`
1480
1480
  }),
1481
- /* @__PURE__ */ Z("div", { className: "slot line" }),
1482
- /* @__PURE__ */ Z("div", {
1481
+ /* @__PURE__ */ X("div", { className: "slot line" }),
1482
+ /* @__PURE__ */ X("div", {
1483
1483
  className: "slot content",
1484
- children: r.length > 0 ? /* @__PURE__ */ Z(Me, { children: r.map((e) => /* @__PURE__ */ Q("div", {
1484
+ children: r.length > 0 ? /* @__PURE__ */ X(Ne, { children: r.map((e) => /* @__PURE__ */ Z("div", {
1485
1485
  className: "slot event",
1486
- children: [/* @__PURE__ */ Z("span", {
1486
+ children: [/* @__PURE__ */ X("span", {
1487
1487
  className: "slot event dot",
1488
1488
  style: { background: e.color ?? Mt(e.status) }
1489
- }), /* @__PURE__ */ Z(z, {
1489
+ }), /* @__PURE__ */ X(R, {
1490
1490
  size: "sm",
1491
1491
  children: e.title
1492
1492
  })]
1493
- }, e.id)) }) : /* @__PURE__ */ Z(z, {
1493
+ }, e.id)) }) : /* @__PURE__ */ X(R, {
1494
1494
  size: "sm",
1495
1495
  tone: "muted",
1496
1496
  children: a ?? c.timelineEmptyState
@@ -1503,19 +1503,19 @@ function qt({ date: e, events: t, locale: n, startHour: r = 6, endHour: i = 22,
1503
1503
  });
1504
1504
  }
1505
1505
  function Jt({ open: e, anchorRef: t, onClose: n, onPointerEnter: r, onPointerLeave: i, date: a, events: o, locale: s, timelineStartHour: c = 6, timelineEndHour: l = 22, showTimeline: u = !0, emptyStateText: d, renderEventItem: f, className: p, style: m }) {
1506
- let h = he(s), g = je();
1507
- return /* @__PURE__ */ Z(R, {
1506
+ let h = ge(s), g = Me();
1507
+ return /* @__PURE__ */ X(L, {
1508
1508
  open: e,
1509
1509
  anchorRef: t,
1510
1510
  onClose: n,
1511
1511
  placement: "bottom-start",
1512
- className: L("calendar popover", p),
1512
+ className: I("calendar popover", p),
1513
1513
  style: m,
1514
- children: /* @__PURE__ */ Z(fe, {
1514
+ children: /* @__PURE__ */ X(pe, {
1515
1515
  className: "calendar event popover",
1516
1516
  onPointerEnter: r,
1517
1517
  onPointerLeave: i,
1518
- children: /* @__PURE__ */ Z(U, { children: /* @__PURE__ */ Z(Vt, {
1518
+ children: /* @__PURE__ */ X(H, { children: /* @__PURE__ */ X(Vt, {
1519
1519
  date: a,
1520
1520
  events: o,
1521
1521
  locale: h,
@@ -1529,158 +1529,158 @@ function Jt({ open: e, anchorRef: t, onClose: n, onPointerEnter: r, onPointerLea
1529
1529
  });
1530
1530
  }
1531
1531
  function Yt({ month: t, defaultMonth: n, onMonthChange: r, events: i = [], locale: a, weekStartsOn: o = 1, view: s, defaultView: c = "month", views: l = ["month", "week"], onViewChange: u, selectedDate: d, defaultSelectedDate: f, onDayClick: p, dayBadge: m, renderDayCell: h, renderEventItem: g, detailsTrigger: _ = "click", detailsMode: v = "auto", showTimeline: y = !0, timelineStartHour: b = 6, timelineEndHour: x = 22, emptyStateText: S, filters: C = [], activeFilters: w, defaultActiveFilters: T = [], onActiveFiltersChange: E, fullWidth: D = !1, className: O, ...k }) {
1532
- let A = he(a), j = Ae(), M = je(), N = wt(/* @__PURE__ */ new Date()), [P, ee] = X(wt(n ?? t ?? N)), [te, ne] = X(c), [re, ie] = X(Tt(f)), [ae, oe] = X(T), [F, I] = X(null), [se, R] = X(!1), [ce, ue] = X(!1), de = Y(null), V = Y(null), fe = t !== void 0 && typeof r == "function", U = wt(fe ? t ?? P : P), W = s ?? te, me = Tt(d) ?? re, G = w ?? ae;
1533
- Le(() => {
1534
- let t = window.matchMedia(`(max-width: ${e.md}px)`), n = () => ue(t.matches);
1532
+ let A = ge(a), j = je(), M = Me(), ee = $(/* @__PURE__ */ new Date()), [N, te] = Y($(n ?? t ?? ee)), [ne, re] = Y(c), [ie, ae] = Y(Tt(f)), [oe, se] = Y(T), [P, F] = Y(null), [ce, L] = Y(!1), [le, de] = Y(!1), fe = J(null), B = J(null), pe = t !== void 0 && typeof r == "function", H = $(pe ? t ?? N : N), U = s ?? ne, he = Tt(d) ?? ie, W = w ?? oe;
1533
+ Re(() => {
1534
+ let t = window.matchMedia(`(max-width: ${e.md}px)`), n = () => de(t.matches);
1535
1535
  return n(), t.addEventListener("change", n), () => t.removeEventListener("change", n);
1536
- }, []), Le(() => {
1537
- fe && t && ee(wt(t));
1538
- }, [fe, t]), Le(() => {
1539
- s && ne(s);
1540
- }, [s]), Le(() => {
1541
- d !== void 0 && ie(Tt(d));
1542
- }, [d]), Le(() => () => {
1543
- V.current && window.clearTimeout(V.current);
1536
+ }, []), Re(() => {
1537
+ pe && t && te($(t));
1538
+ }, [pe, t]), Re(() => {
1539
+ s && re(s);
1540
+ }, [s]), Re(() => {
1541
+ d !== void 0 && ae(Tt(d));
1542
+ }, [d]), Re(() => () => {
1543
+ B.current && window.clearTimeout(B.current);
1544
1544
  }, []);
1545
- let ge = J(() => Rt(i, C, G), [
1545
+ let _e = q(() => Rt(i, C, W), [
1546
1546
  i,
1547
1547
  C,
1548
- G
1549
- ]), _e = J(() => {
1548
+ W
1549
+ ]), ve = q(() => {
1550
1550
  let e = /* @__PURE__ */ new Map();
1551
- return ge.forEach((t) => {
1551
+ return _e.forEach((t) => {
1552
1552
  let n = Dt(t);
1553
1553
  if (!n) return;
1554
1554
  let r = Et(n), i = e.get(r) ?? [];
1555
1555
  i.push(t), e.set(r, i);
1556
1556
  }), e;
1557
- }, [ge]), ve = J(() => {
1558
- if (W === "week") {
1559
- let e = kt(me ?? U, o);
1557
+ }, [_e]), ye = q(() => {
1558
+ if (U === "week") {
1559
+ let e = kt(he ?? H, o);
1560
1560
  return Array.from({ length: 7 }, (t, n) => Ot(e, n));
1561
1561
  }
1562
- return jt(U, o);
1562
+ return jt(H, o);
1563
1563
  }, [
1564
- W,
1565
- me,
1566
1564
  U,
1565
+ he,
1566
+ H,
1567
1567
  o
1568
- ]), ye = v === "auto" ? ce ? "modal" : "popover" : v, be = F ? _e.get(Et(F)) ?? [] : [], xe = l.includes("month"), Se = l.includes("week"), Ce = (e) => {
1569
- let t = wt(e);
1570
- ee(t), r?.(t);
1571
- }, we = (e) => {
1572
- if (W === "week") {
1573
- let t = Ot(me ?? U, e * 7);
1574
- Ce(t), ie(t), I(t), R(!1);
1568
+ ]), be = v === "auto" ? le ? "modal" : "popover" : v, xe = P ? ve.get(Et(P)) ?? [] : [], Se = l.includes("month"), Ce = l.includes("week"), we = (e) => {
1569
+ let t = $(e);
1570
+ te(t), r?.(t);
1571
+ }, Te = (e) => {
1572
+ if (U === "week") {
1573
+ let t = Ot(he ?? H, e * 7);
1574
+ we(t), ae(t), F(t), L(!1);
1575
1575
  return;
1576
1576
  }
1577
- Ce(new Date(U.getFullYear(), U.getMonth() + e, 1)), R(!1), I(null);
1578
- }, Te = (e) => {
1579
- ne(e), u?.(e);
1580
- }, Ee = (e, t) => {
1581
- let n = wt(e);
1582
- ie(n), p?.(n, t);
1583
- }, De = () => {
1584
- V.current &&= (window.clearTimeout(V.current), null);
1585
- }, K = () => {
1586
- De(), V.current = window.setTimeout(() => {
1587
- R(!1);
1577
+ we(new Date(H.getFullYear(), H.getMonth() + e, 1)), L(!1), F(null);
1578
+ }, Ee = (e) => {
1579
+ re(e), u?.(e);
1580
+ }, De = (e, t) => {
1581
+ let n = $(e);
1582
+ ae(n), p?.(n, t);
1583
+ }, Oe = () => {
1584
+ B.current &&= (window.clearTimeout(B.current), null);
1585
+ }, G = () => {
1586
+ Oe(), B.current = window.setTimeout(() => {
1587
+ L(!1);
1588
1588
  }, 180);
1589
- }, Oe = (e, t, n) => {
1590
- de.current = t, I(e), Ee(e, n), R(!0);
1591
1589
  }, ke = (e, t, n) => {
1592
- De(), Oe(e, t, n), W === "month" && e.getMonth() !== U.getMonth() && Ce(new Date(e.getFullYear(), e.getMonth(), 1));
1593
- }, Ne = (e, t, n) => {
1594
- _ !== "hover" || ye !== "popover" || (De(), Oe(e, t, n));
1595
- }, Pe = (e) => {
1596
- let t = G.includes(e) ? G.filter((t) => t !== e) : [...G, e];
1597
- oe(t), E?.(t);
1598
- }, Fe = kt(W === "week" ? me ?? U : U, o);
1599
- return /* @__PURE__ */ Q("div", {
1600
- className: L("calendar board", D && "full-width", O),
1590
+ fe.current = t, F(e), De(e, n), L(!0);
1591
+ }, Ae = (e, t, n) => {
1592
+ Oe(), ke(e, t, n), U === "month" && e.getMonth() !== H.getMonth() && we(new Date(e.getFullYear(), e.getMonth(), 1));
1593
+ }, Pe = (e, t, n) => {
1594
+ _ !== "hover" || be !== "popover" || (Oe(), ke(e, t, n));
1595
+ }, Fe = (e) => {
1596
+ let t = W.includes(e) ? W.filter((t) => t !== e) : [...W, e];
1597
+ se(t), E?.(t);
1598
+ }, Ie = kt(U === "week" ? he ?? H : H, o);
1599
+ return /* @__PURE__ */ Z("div", {
1600
+ className: I("calendar board", D && "full-width", O),
1601
1601
  ...k,
1602
1602
  children: [
1603
- /* @__PURE__ */ Q("div", {
1603
+ /* @__PURE__ */ Z("div", {
1604
1604
  className: "calendar header",
1605
- children: [/* @__PURE__ */ Q(Me, { children: [/* @__PURE__ */ Z(le, {
1605
+ children: [/* @__PURE__ */ Z(Ne, { children: [/* @__PURE__ */ X(ue, {
1606
1606
  level: 3,
1607
- children: zt(U, W, A, o)
1608
- }), /* @__PURE__ */ Z(z, {
1607
+ children: zt(H, U, A, o)
1608
+ }), /* @__PURE__ */ X(R, {
1609
1609
  size: "sm",
1610
1610
  tone: "muted",
1611
- children: Bt(W, M)
1612
- })] }), /* @__PURE__ */ Q(Me, {
1611
+ children: Bt(U, M)
1612
+ })] }), /* @__PURE__ */ Z(Ne, {
1613
1613
  align: "end",
1614
- children: [/* @__PURE__ */ Q("div", {
1614
+ children: [/* @__PURE__ */ Z("div", {
1615
1615
  className: "calendar actions",
1616
- children: [/* @__PURE__ */ Z(B, {
1616
+ children: [/* @__PURE__ */ X(z, {
1617
1617
  type: "button",
1618
1618
  size: "sm",
1619
1619
  variant: "outlined",
1620
1620
  color: "neutral",
1621
- onClick: () => we(-1),
1622
- children: W === "week" ? M.previousWeek : j.previousMonth
1623
- }), /* @__PURE__ */ Z(B, {
1621
+ onClick: () => Te(-1),
1622
+ children: U === "week" ? M.previousWeek : j.previousMonth
1623
+ }), /* @__PURE__ */ X(z, {
1624
1624
  type: "button",
1625
1625
  size: "sm",
1626
1626
  variant: "outlined",
1627
1627
  color: "neutral",
1628
- onClick: () => we(1),
1629
- children: W === "week" ? M.nextWeek : j.nextMonth
1628
+ onClick: () => Te(1),
1629
+ children: U === "week" ? M.nextWeek : j.nextMonth
1630
1630
  })]
1631
- }), (xe || Se) && /* @__PURE__ */ Q("div", {
1631
+ }), (Se || Ce) && /* @__PURE__ */ Z("div", {
1632
1632
  className: "calendar views",
1633
- children: [xe && /* @__PURE__ */ Z(B, {
1633
+ children: [Se && /* @__PURE__ */ X(z, {
1634
1634
  type: "button",
1635
1635
  size: "sm",
1636
1636
  variant: "outlined",
1637
- color: W === "month" ? "primary" : "neutral",
1638
- active: W === "month",
1639
- onClick: () => Te("month"),
1637
+ color: U === "month" ? "primary" : "neutral",
1638
+ active: U === "month",
1639
+ onClick: () => Ee("month"),
1640
1640
  children: M.monthView
1641
- }), Se && /* @__PURE__ */ Z(B, {
1641
+ }), Ce && /* @__PURE__ */ X(z, {
1642
1642
  type: "button",
1643
1643
  size: "sm",
1644
1644
  variant: "outlined",
1645
- color: W === "week" ? "primary" : "neutral",
1646
- active: W === "week",
1647
- onClick: () => Te("week"),
1645
+ color: U === "week" ? "primary" : "neutral",
1646
+ active: U === "week",
1647
+ onClick: () => Ee("week"),
1648
1648
  children: M.weekView
1649
1649
  })]
1650
1650
  })]
1651
1651
  })]
1652
1652
  }),
1653
- /* @__PURE__ */ Z(Ht, {
1653
+ /* @__PURE__ */ X(Ht, {
1654
1654
  filters: C,
1655
- activeFilterIds: G,
1656
- onToggle: Pe
1655
+ activeFilterIds: W,
1656
+ onToggle: Fe
1657
1657
  }),
1658
- /* @__PURE__ */ Z("div", {
1658
+ /* @__PURE__ */ X("div", {
1659
1659
  className: "calendar days",
1660
- children: Array.from({ length: 7 }, (e, t) => Ot(Fe, t)).map((e) => /* @__PURE__ */ Z("div", {
1660
+ children: Array.from({ length: 7 }, (e, t) => Ot(Ie, t)).map((e) => /* @__PURE__ */ X("div", {
1661
1661
  className: "calendar day",
1662
1662
  children: new Intl.DateTimeFormat(A, { weekday: "short" }).format(e)
1663
1663
  }, Et(e)))
1664
1664
  }),
1665
- W === "week" ? /* @__PURE__ */ Z(Ut, {
1666
- days: ve,
1667
- eventsByDay: _e,
1668
- selectedDate: me,
1669
- activeDate: F,
1670
- onDayInteract: ke,
1671
- onDayHover: Ne,
1665
+ U === "week" ? /* @__PURE__ */ X(Ut, {
1666
+ days: ye,
1667
+ eventsByDay: ve,
1668
+ selectedDate: he,
1669
+ activeDate: P,
1670
+ onDayInteract: Ae,
1671
+ onDayHover: Pe,
1672
1672
  onDayLeave: () => {
1673
- _ === "hover" && ye === "popover" && K();
1673
+ _ === "hover" && be === "popover" && G();
1674
1674
  },
1675
1675
  dayBadge: m,
1676
1676
  renderDayCell: h
1677
- }) : /* @__PURE__ */ Z("div", {
1677
+ }) : /* @__PURE__ */ X("div", {
1678
1678
  className: "calendar grid",
1679
- children: ve.map((e) => {
1680
- let t = Et(e), n = _e.get(t) ?? [], r = m?.(e, n) ?? (n.length > 0 ? /* @__PURE__ */ Z(H, {
1679
+ children: ye.map((e) => {
1680
+ let t = Et(e), n = ve.get(t) ?? [], r = m?.(e, n) ?? (n.length > 0 ? /* @__PURE__ */ X(V, {
1681
1681
  size: "sm",
1682
1682
  children: n.length
1683
- }) : null), i = t === Et(N), a = !!(me && t === Et(me)), o = e.getMonth() !== U.getMonth(), s = Lt(n), c = {
1683
+ }) : null), i = t === Et(ee), a = !!(he && t === Et(he)), o = e.getMonth() !== H.getMonth(), s = Lt(n), c = {
1684
1684
  date: e,
1685
1685
  events: n,
1686
1686
  badge: r,
@@ -1688,46 +1688,46 @@ function Yt({ month: t, defaultMonth: n, onMonthChange: r, events: i = [], local
1688
1688
  isSelected: a,
1689
1689
  isOutsideMonth: o
1690
1690
  };
1691
- return /* @__PURE__ */ Z(Wt, {
1691
+ return /* @__PURE__ */ X(Wt, {
1692
1692
  date: e,
1693
1693
  events: n,
1694
1694
  badge: r,
1695
1695
  markers: s,
1696
1696
  isToday: i,
1697
- isSelected: a || !!(F && t === Et(F)),
1697
+ isSelected: a || !!(P && t === Et(P)),
1698
1698
  isOutsideMonth: o,
1699
- onClick: (t) => ke(e, t.currentTarget, n),
1700
- onMouseEnter: (t) => Ne(e, t.currentTarget, n),
1699
+ onClick: (t) => Ae(e, t.currentTarget, n),
1700
+ onMouseEnter: (t) => Pe(e, t.currentTarget, n),
1701
1701
  onMouseLeave: () => {
1702
- _ === "hover" && ye === "popover" && K();
1702
+ _ === "hover" && be === "popover" && G();
1703
1703
  },
1704
1704
  children: h ? h(e, c) : void 0
1705
1705
  }, t);
1706
1706
  })
1707
1707
  }),
1708
- ye === "popover" ? /* @__PURE__ */ Z(Jt, {
1709
- open: se && !!F && !!de.current,
1710
- anchorRef: de,
1711
- onClose: () => R(!1),
1712
- onPointerEnter: () => De(),
1713
- onPointerLeave: () => K(),
1714
- date: F,
1715
- events: be,
1708
+ be === "popover" ? /* @__PURE__ */ X(Jt, {
1709
+ open: ce && !!P && !!fe.current,
1710
+ anchorRef: fe,
1711
+ onClose: () => L(!1),
1712
+ onPointerEnter: () => Oe(),
1713
+ onPointerLeave: () => G(),
1714
+ date: P,
1715
+ events: xe,
1716
1716
  locale: A,
1717
1717
  timelineStartHour: b,
1718
1718
  timelineEndHour: x,
1719
1719
  showTimeline: y,
1720
1720
  emptyStateText: S ?? M.emptyStateText,
1721
1721
  renderEventItem: g
1722
- }) : /* @__PURE__ */ Z(pe, {
1723
- open: se && !!F,
1724
- onClose: () => R(!1),
1725
- title: F ? Nt(F, A) : void 0,
1726
- description: F ? M.itemsCount(be.length) : void 0,
1722
+ }) : /* @__PURE__ */ X(me, {
1723
+ open: ce && !!P,
1724
+ onClose: () => L(!1),
1725
+ title: P ? Nt(P, A) : void 0,
1726
+ description: P ? M.itemsCount(xe.length) : void 0,
1727
1727
  size: "lg",
1728
- children: /* @__PURE__ */ Z(Vt, {
1729
- date: F,
1730
- events: be,
1728
+ children: /* @__PURE__ */ X(Vt, {
1729
+ date: P,
1730
+ events: xe,
1731
1731
  locale: A,
1732
1732
  timelineStartHour: b,
1733
1733
  timelineEndHour: x,
@@ -1772,15 +1772,15 @@ function en(e) {
1772
1772
  //#endregion
1773
1773
  //#region src/components/data/MChart/parts/ChartGrid.tsx
1774
1774
  function tn({ x: e, y: t, width: n, height: r, horizontalLines: i, verticalLines: a }) {
1775
- return /* @__PURE__ */ Q("g", {
1775
+ return /* @__PURE__ */ Z("g", {
1776
1776
  className: "chart-grid",
1777
- children: [i.map((t, r) => /* @__PURE__ */ Z("line", {
1777
+ children: [i.map((t, r) => /* @__PURE__ */ X("line", {
1778
1778
  x1: e,
1779
1779
  y1: t,
1780
1780
  x2: e + n,
1781
1781
  y2: t,
1782
1782
  className: "chart-grid-line"
1783
- }, `h${r}`)), a?.map((e, n) => /* @__PURE__ */ Z("line", {
1783
+ }, `h${r}`)), a?.map((e, n) => /* @__PURE__ */ X("line", {
1784
1784
  x1: e,
1785
1785
  y1: t,
1786
1786
  x2: e,
@@ -1793,23 +1793,23 @@ function tn({ x: e, y: t, width: n, height: r, horizontalLines: i, verticalLines
1793
1793
  //#region src/components/data/MChart/parts/ChartAxis.tsx
1794
1794
  function nn({ type: e, x: t, y: n, length: r, ticks: i, title: a }) {
1795
1795
  let o = e === "x";
1796
- return /* @__PURE__ */ Q("g", {
1796
+ return /* @__PURE__ */ Z("g", {
1797
1797
  className: `chart-axis chart-axis-${e}`,
1798
1798
  children: [
1799
- /* @__PURE__ */ Z("line", {
1799
+ /* @__PURE__ */ X("line", {
1800
1800
  x1: t,
1801
1801
  y1: n,
1802
1802
  x2: o ? t + r : t,
1803
1803
  y2: o ? n : n - r,
1804
1804
  className: "chart-axis-line"
1805
1805
  }),
1806
- i.map((e, r) => /* @__PURE__ */ Z("g", { children: o ? /* @__PURE__ */ Z("text", {
1806
+ i.map((e, r) => /* @__PURE__ */ X("g", { children: o ? /* @__PURE__ */ X("text", {
1807
1807
  x: e.position,
1808
1808
  y: n + 16,
1809
1809
  textAnchor: "middle",
1810
1810
  className: "chart-axis-label",
1811
1811
  children: e.label
1812
- }) : /* @__PURE__ */ Z("text", {
1812
+ }) : /* @__PURE__ */ X("text", {
1813
1813
  x: t - 8,
1814
1814
  y: e.position,
1815
1815
  textAnchor: "end",
@@ -1817,13 +1817,13 @@ function nn({ type: e, x: t, y: n, length: r, ticks: i, title: a }) {
1817
1817
  className: "chart-axis-label",
1818
1818
  children: e.label
1819
1819
  }) }, r)),
1820
- a && (o ? /* @__PURE__ */ Z("text", {
1820
+ a && (o ? /* @__PURE__ */ X("text", {
1821
1821
  x: t + r / 2,
1822
1822
  y: n + 36,
1823
1823
  textAnchor: "middle",
1824
1824
  className: "chart-axis-title",
1825
1825
  children: a
1826
- }) : /* @__PURE__ */ Z("text", {
1826
+ }) : /* @__PURE__ */ X("text", {
1827
1827
  x: t - 40,
1828
1828
  y: n - r / 2,
1829
1829
  textAnchor: "middle",
@@ -1838,8 +1838,8 @@ function nn({ type: e, x: t, y: n, length: r, ticks: i, title: a }) {
1838
1838
  //#endregion
1839
1839
  //#region src/components/data/MChart/charts/MLineChart.tsx
1840
1840
  function rn({ data: e, colors: t, innerWidth: n, innerHeight: r, padding: i, xAxis: a, yAxis: o, showGrid: s, showXAxis: c, showYAxis: l, curved: u, animated: d, valueFormatter: f = $t, onTooltip: p, onDataClick: m }) {
1841
- let [h, g] = X(null), _ = n - i.left - i.right, v = r - i.top - i.bottom, { yMin: y, yMax: b, yTicks: x, xLabels: S, seriesPoints: C } = J(() => {
1842
- let t = e.map((e) => e.data), [n, r] = we(t), i = o?.min ?? Se(n), s = o?.max ?? xe(r, n), c = be(i, s, o?.ticks ?? 5), l = Math.max(...t.map((e) => e.length), 1), u = a?.labels ?? Array.from({ length: l }, (e, t) => String(t)), d = K([0, Math.max(l - 1, 1)], [0, _]), f = K([i, s], [v, 0]);
1841
+ let [h, g] = Y(null), _ = n - i.left - i.right, v = r - i.top - i.bottom, { yMin: y, yMax: b, yTicks: x, xLabels: S, seriesPoints: C } = q(() => {
1842
+ let t = e.map((e) => e.data), [n, r] = Te(t), i = o?.min ?? Ce(n), s = o?.max ?? Se(r, n), c = xe(i, s, o?.ticks ?? 5), l = Math.max(...t.map((e) => e.length), 1), u = a?.labels ?? Array.from({ length: l }, (e, t) => String(t)), d = G([0, Math.max(l - 1, 1)], [0, _]), f = G([i, s], [v, 0]);
1843
1843
  return {
1844
1844
  yMin: i,
1845
1845
  yMax: s,
@@ -1856,7 +1856,7 @@ function rn({ data: e, colors: t, innerWidth: n, innerHeight: r, padding: i, xAx
1856
1856
  v,
1857
1857
  a,
1858
1858
  o
1859
- ]), w = K([y, b], [v, 0]), T = K([0, Math.max(S.length - 1, 1)], [0, _]), E = q((r) => {
1859
+ ]), w = G([y, b], [v, 0]), T = G([0, Math.max(S.length - 1, 1)], [0, _]), E = K((r) => {
1860
1860
  let a = r.currentTarget.closest("svg");
1861
1861
  if (!a) return;
1862
1862
  let o = a.getBoundingClientRect(), s = n / o.width, c = (r.clientX - o.left) * s - i.left, l = Math.round(c / _ * Math.max(S.length - 1, 1)), u = Math.max(0, Math.min(l, S.length - 1));
@@ -1878,7 +1878,7 @@ function rn({ data: e, colors: t, innerWidth: n, innerHeight: r, padding: i, xAx
1878
1878
  i.left,
1879
1879
  n,
1880
1880
  p
1881
- ]), D = q(() => {
1881
+ ]), D = K(() => {
1882
1882
  g(null), p(null);
1883
1883
  }, [p]), O = x.map((e) => i.top + w(e)), k = S.map((e, t) => i.left + T(t)), A = x.map((e) => ({
1884
1884
  position: i.top + w(e),
@@ -1887,8 +1887,8 @@ function rn({ data: e, colors: t, innerWidth: n, innerHeight: r, padding: i, xAx
1887
1887
  position: i.left + T(t),
1888
1888
  label: e
1889
1889
  }));
1890
- return /* @__PURE__ */ Q("g", { children: [
1891
- s && /* @__PURE__ */ Z(tn, {
1890
+ return /* @__PURE__ */ Z("g", { children: [
1891
+ s && /* @__PURE__ */ X(tn, {
1892
1892
  x: i.left,
1893
1893
  y: i.top,
1894
1894
  width: _,
@@ -1896,7 +1896,7 @@ function rn({ data: e, colors: t, innerWidth: n, innerHeight: r, padding: i, xAx
1896
1896
  horizontalLines: O,
1897
1897
  verticalLines: k
1898
1898
  }),
1899
- l && /* @__PURE__ */ Z(nn, {
1899
+ l && /* @__PURE__ */ X(nn, {
1900
1900
  type: "y",
1901
1901
  x: i.left,
1902
1902
  y: i.top + v,
@@ -1904,7 +1904,7 @@ function rn({ data: e, colors: t, innerWidth: n, innerHeight: r, padding: i, xAx
1904
1904
  ticks: A,
1905
1905
  title: o?.title
1906
1906
  }),
1907
- c && /* @__PURE__ */ Z(nn, {
1907
+ c && /* @__PURE__ */ X(nn, {
1908
1908
  type: "x",
1909
1909
  x: i.left,
1910
1910
  y: i.top + v,
@@ -1912,11 +1912,11 @@ function rn({ data: e, colors: t, innerWidth: n, innerHeight: r, padding: i, xAx
1912
1912
  ticks: j,
1913
1913
  title: a?.title
1914
1914
  }),
1915
- /* @__PURE__ */ Q("g", {
1915
+ /* @__PURE__ */ Z("g", {
1916
1916
  onMouseMove: E,
1917
1917
  onMouseLeave: D,
1918
1918
  children: [
1919
- /* @__PURE__ */ Z("rect", {
1919
+ /* @__PURE__ */ X("rect", {
1920
1920
  x: i.left,
1921
1921
  y: i.top,
1922
1922
  width: _,
@@ -1924,17 +1924,17 @@ function rn({ data: e, colors: t, innerWidth: n, innerHeight: r, padding: i, xAx
1924
1924
  fill: "transparent"
1925
1925
  }),
1926
1926
  C.map((n, r) => {
1927
- let a = e[r].color ?? t[r % t.length], o = u ? De(n.map((e) => ({
1927
+ let a = e[r].color ?? t[r % t.length], o = u ? Oe(n.map((e) => ({
1928
1928
  x: e.x + i.left,
1929
1929
  y: e.y + i.top
1930
- }))) : Ce(n.map((e) => ({
1930
+ }))) : we(n.map((e) => ({
1931
1931
  x: e.x + i.left,
1932
1932
  y: e.y + i.top
1933
1933
  })));
1934
- return /* @__PURE__ */ Q("g", { children: [/* @__PURE__ */ Z("path", {
1934
+ return /* @__PURE__ */ Z("g", { children: [/* @__PURE__ */ X("path", {
1935
1935
  className: `chart-line ${a} ${d ? "animated" : ""}`,
1936
1936
  d: o
1937
- }), n.map((t, n) => /* @__PURE__ */ Z("circle", {
1937
+ }), n.map((t, n) => /* @__PURE__ */ X("circle", {
1938
1938
  className: `chart-dot ${a} ${h === n ? "active" : ""}`,
1939
1939
  cx: t.x + i.left,
1940
1940
  cy: t.y + i.top,
@@ -1943,7 +1943,7 @@ function rn({ data: e, colors: t, innerWidth: n, innerHeight: r, padding: i, xAx
1943
1943
  style: { cursor: m ? "pointer" : void 0 }
1944
1944
  }, n))] }, r);
1945
1945
  }),
1946
- h !== null && /* @__PURE__ */ Z("line", {
1946
+ h !== null && /* @__PURE__ */ X("line", {
1947
1947
  className: "chart-crosshair",
1948
1948
  x1: i.left + T(h),
1949
1949
  y1: i.top,
@@ -1957,14 +1957,14 @@ function rn({ data: e, colors: t, innerWidth: n, innerHeight: r, padding: i, xAx
1957
1957
  //#endregion
1958
1958
  //#region src/components/data/MChart/charts/MBarChart.tsx
1959
1959
  function an({ data: e, colors: t, innerWidth: n, innerHeight: r, padding: i, xAxis: a, yAxis: o, showGrid: s, showXAxis: c, showYAxis: l, stacked: u, animated: d, valueFormatter: f = $t, onTooltip: p, onDataClick: m }) {
1960
- let [h, g] = X(null), _ = n - i.left - i.right, v = r - i.top - i.bottom, { yMin: y, yMax: b, yTicks: x, xLabels: S, maxLen: C } = J(() => {
1960
+ let [h, g] = Y(null), _ = n - i.left - i.right, v = r - i.top - i.bottom, { yMin: y, yMax: b, yTicks: x, xLabels: S, maxLen: C } = q(() => {
1961
1961
  let t = e.map((e) => e.data), n = Math.max(...t.map((e) => e.length), 1), r, i;
1962
- u ? [r, i] = Oe(t) : [r, i] = we(t);
1963
- let s = o?.min ?? Se(r), c = o?.max ?? xe(i, r);
1962
+ u ? [r, i] = ke(t) : [r, i] = Te(t);
1963
+ let s = o?.min ?? Ce(r), c = o?.max ?? Se(i, r);
1964
1964
  return {
1965
1965
  yMin: s,
1966
1966
  yMax: c,
1967
- yTicks: be(s, c, o?.ticks ?? 5),
1967
+ yTicks: xe(s, c, o?.ticks ?? 5),
1968
1968
  xLabels: a?.labels ?? Array.from({ length: n }, (e, t) => String(t)),
1969
1969
  maxLen: n
1970
1970
  };
@@ -1973,7 +1973,7 @@ function an({ data: e, colors: t, innerWidth: n, innerHeight: r, padding: i, xAx
1973
1973
  a,
1974
1974
  o,
1975
1975
  u
1976
- ]), w = K([y, b], [v, 0]), T = _ / C, E = Math.max(T * .1, 2), D = e.length, O = q((n, r, i) => {
1976
+ ]), w = G([y, b], [v, 0]), T = _ / C, E = Math.max(T * .1, 2), D = e.length, O = K((n, r, i) => {
1977
1977
  g({
1978
1978
  di: n,
1979
1979
  pi: r
@@ -2001,7 +2001,7 @@ function an({ data: e, colors: t, innerWidth: n, innerHeight: r, padding: i, xAx
2001
2001
  S,
2002
2002
  u,
2003
2003
  p
2004
- ]), k = q(() => {
2004
+ ]), k = K(() => {
2005
2005
  g(null), p(null);
2006
2006
  }, [p]), A = x.map((e) => i.top + w(e)), j = S.map((e, t) => ({
2007
2007
  position: i.left + T * t + T / 2,
@@ -2009,16 +2009,16 @@ function an({ data: e, colors: t, innerWidth: n, innerHeight: r, padding: i, xAx
2009
2009
  })), M = x.map((e) => ({
2010
2010
  position: i.top + w(e),
2011
2011
  label: (o?.formatter ?? f)(e)
2012
- })), N = w(0);
2013
- return /* @__PURE__ */ Q("g", { children: [
2014
- s && /* @__PURE__ */ Z(tn, {
2012
+ })), ee = w(0);
2013
+ return /* @__PURE__ */ Z("g", { children: [
2014
+ s && /* @__PURE__ */ X(tn, {
2015
2015
  x: i.left,
2016
2016
  y: i.top,
2017
2017
  width: _,
2018
2018
  height: v,
2019
2019
  horizontalLines: A
2020
2020
  }),
2021
- l && /* @__PURE__ */ Z(nn, {
2021
+ l && /* @__PURE__ */ X(nn, {
2022
2022
  type: "y",
2023
2023
  x: i.left,
2024
2024
  y: i.top + v,
@@ -2026,7 +2026,7 @@ function an({ data: e, colors: t, innerWidth: n, innerHeight: r, padding: i, xAx
2026
2026
  ticks: M,
2027
2027
  title: o?.title
2028
2028
  }),
2029
- c && /* @__PURE__ */ Z(nn, {
2029
+ c && /* @__PURE__ */ X(nn, {
2030
2030
  type: "x",
2031
2031
  x: i.left,
2032
2032
  y: i.top + v,
@@ -2034,15 +2034,15 @@ function an({ data: e, colors: t, innerWidth: n, innerHeight: r, padding: i, xAx
2034
2034
  ticks: j,
2035
2035
  title: a?.title
2036
2036
  }),
2037
- /* @__PURE__ */ Z("g", {
2037
+ /* @__PURE__ */ X("g", {
2038
2038
  onMouseLeave: k,
2039
2039
  children: u ? S.map((n, r) => {
2040
- let a = N, o = T - E * 2, s = i.left + T * r + E;
2041
- return /* @__PURE__ */ Z("g", { children: e.map((n, c) => {
2042
- let l = n.data[r] ?? 0, u = N - w(l), f = a - u;
2040
+ let a = ee, o = T - E * 2, s = i.left + T * r + E;
2041
+ return /* @__PURE__ */ X("g", { children: e.map((n, c) => {
2042
+ let l = n.data[r] ?? 0, u = ee - w(l), f = a - u;
2043
2043
  a = f;
2044
2044
  let p = n.color ?? t[c % t.length], g = h?.di === c && h?.pi === r;
2045
- return /* @__PURE__ */ Z("rect", {
2045
+ return /* @__PURE__ */ X("rect", {
2046
2046
  className: `chart-bar ${p} ${d ? "animated" : ""} ${g ? "active" : ""}`,
2047
2047
  x: s,
2048
2048
  y: i.top + f,
@@ -2056,9 +2056,9 @@ function an({ data: e, colors: t, innerWidth: n, innerHeight: r, padding: i, xAx
2056
2056
  }) }, r);
2057
2057
  }) : e.map((e, n) => {
2058
2058
  let r = (T - E * 2) / D;
2059
- return /* @__PURE__ */ Z("g", { children: e.data.map((a, o) => {
2060
- let s = N - w(a), c = i.left + T * o + E + r * n, l = Math.min(N, w(a)), u = e.color ?? t[n % t.length], f = h?.di === n && h?.pi === o;
2061
- return /* @__PURE__ */ Z("rect", {
2059
+ return /* @__PURE__ */ X("g", { children: e.data.map((a, o) => {
2060
+ let s = ee - w(a), c = i.left + T * o + E + r * n, l = Math.min(ee, w(a)), u = e.color ?? t[n % t.length], f = h?.di === n && h?.pi === o;
2061
+ return /* @__PURE__ */ X("rect", {
2062
2062
  className: `chart-bar ${u} ${d ? "animated" : ""} ${f ? "active" : ""}`,
2063
2063
  x: c,
2064
2064
  y: i.top + l,
@@ -2077,10 +2077,10 @@ function an({ data: e, colors: t, innerWidth: n, innerHeight: r, padding: i, xAx
2077
2077
  //#endregion
2078
2078
  //#region src/components/data/MChart/charts/MAreaChart.tsx
2079
2079
  function on({ data: e, colors: t, innerWidth: n, innerHeight: r, padding: i, xAxis: a, yAxis: o, showGrid: s, showXAxis: c, showYAxis: l, curved: u, stacked: d, animated: f, valueFormatter: p = $t, onTooltip: m, onDataClick: h }) {
2080
- let [g, _] = X(null), v = n - i.left - i.right, y = r - i.top - i.bottom, { yMin: b, yMax: x, yTicks: S, xLabels: C, seriesPoints: w, stackedPaths: T } = J(() => {
2080
+ let [g, _] = Y(null), v = n - i.left - i.right, y = r - i.top - i.bottom, { yMin: b, yMax: x, yTicks: S, xLabels: C, seriesPoints: w, stackedPaths: T } = q(() => {
2081
2081
  let t = e.map((e) => e.data), n = Math.max(...t.map((e) => e.length), 1), r, s;
2082
- d ? [r, s] = Oe(t) : [r, s] = we(t);
2083
- let c = o?.min ?? Se(r), l = o?.max ?? xe(s, r), f = be(c, l, o?.ticks ?? 5), p = a?.labels ?? Array.from({ length: n }, (e, t) => String(t)), m = K([0, Math.max(n - 1, 1)], [0, v]), h = K([c, l], [y, 0]);
2082
+ d ? [r, s] = ke(t) : [r, s] = Te(t);
2083
+ let c = o?.min ?? Ce(r), l = o?.max ?? Se(s, r), f = xe(c, l, o?.ticks ?? 5), p = a?.labels ?? Array.from({ length: n }, (e, t) => String(t)), m = G([0, Math.max(n - 1, 1)], [0, v]), h = G([c, l], [y, 0]);
2084
2084
  if (d) {
2085
2085
  let e = [];
2086
2086
  for (let r = 0; r < t.length; r++) {
@@ -2099,14 +2099,14 @@ function on({ data: e, colors: t, innerWidth: n, innerHeight: r, padding: i, xAx
2099
2099
  y: i.top + h(e)
2100
2100
  }));
2101
2101
  return {
2102
- area: Ee(r, n === 0 ? t.map((e, t) => ({
2102
+ area: De(r, n === 0 ? t.map((e, t) => ({
2103
2103
  x: i.left + m(t),
2104
2104
  y: i.top + h(0)
2105
2105
  })) : e[n - 1].map((e, t) => ({
2106
2106
  x: i.left + m(t),
2107
2107
  y: i.top + h(e)
2108
2108
  })), u),
2109
- line: u ? De(r) : Ce(r),
2109
+ line: u ? Oe(r) : we(r),
2110
2110
  topPts: r
2111
2111
  };
2112
2112
  })
@@ -2132,7 +2132,7 @@ function on({ data: e, colors: t, innerWidth: n, innerHeight: r, padding: i, xAx
2132
2132
  d,
2133
2133
  u,
2134
2134
  i
2135
- ]), E = K([b, x], [y, 0]), D = K([0, Math.max(C.length - 1, 1)], [0, v]), O = q((r) => {
2135
+ ]), E = G([b, x], [y, 0]), D = G([0, Math.max(C.length - 1, 1)], [0, v]), O = K((r) => {
2136
2136
  let a = r.currentTarget.closest("svg");
2137
2137
  if (!a) return;
2138
2138
  let o = a.getBoundingClientRect(), s = n / o.width, c = (r.clientX - o.left) * s - i.left, l = Math.round(c / v * Math.max(C.length - 1, 1)), u = Math.max(0, Math.min(l, C.length - 1));
@@ -2154,7 +2154,7 @@ function on({ data: e, colors: t, innerWidth: n, innerHeight: r, padding: i, xAx
2154
2154
  i.left,
2155
2155
  n,
2156
2156
  m
2157
- ]), k = q(() => {
2157
+ ]), k = K(() => {
2158
2158
  _(null), m(null);
2159
2159
  }, [m]), A = S.map((e) => i.top + E(e)), j = S.map((e) => ({
2160
2160
  position: i.top + E(e),
@@ -2163,15 +2163,15 @@ function on({ data: e, colors: t, innerWidth: n, innerHeight: r, padding: i, xAx
2163
2163
  position: i.left + D(t),
2164
2164
  label: e
2165
2165
  }));
2166
- return /* @__PURE__ */ Q("g", { children: [
2167
- s && /* @__PURE__ */ Z(tn, {
2166
+ return /* @__PURE__ */ Z("g", { children: [
2167
+ s && /* @__PURE__ */ X(tn, {
2168
2168
  x: i.left,
2169
2169
  y: i.top,
2170
2170
  width: v,
2171
2171
  height: y,
2172
2172
  horizontalLines: A
2173
2173
  }),
2174
- l && /* @__PURE__ */ Z(nn, {
2174
+ l && /* @__PURE__ */ X(nn, {
2175
2175
  type: "y",
2176
2176
  x: i.left,
2177
2177
  y: i.top + y,
@@ -2179,7 +2179,7 @@ function on({ data: e, colors: t, innerWidth: n, innerHeight: r, padding: i, xAx
2179
2179
  ticks: j,
2180
2180
  title: o?.title
2181
2181
  }),
2182
- c && /* @__PURE__ */ Z(nn, {
2182
+ c && /* @__PURE__ */ X(nn, {
2183
2183
  type: "x",
2184
2184
  x: i.left,
2185
2185
  y: i.top + y,
@@ -2187,11 +2187,11 @@ function on({ data: e, colors: t, innerWidth: n, innerHeight: r, padding: i, xAx
2187
2187
  ticks: M,
2188
2188
  title: a?.title
2189
2189
  }),
2190
- /* @__PURE__ */ Q("g", {
2190
+ /* @__PURE__ */ Z("g", {
2191
2191
  onMouseMove: O,
2192
2192
  onMouseLeave: k,
2193
2193
  children: [
2194
- /* @__PURE__ */ Z("rect", {
2194
+ /* @__PURE__ */ X("rect", {
2195
2195
  x: i.left,
2196
2196
  y: i.top,
2197
2197
  width: v,
@@ -2200,25 +2200,25 @@ function on({ data: e, colors: t, innerWidth: n, innerHeight: r, padding: i, xAx
2200
2200
  }),
2201
2201
  d && T ? T.map((n, r) => {
2202
2202
  let i = e[r].color ?? t[r % t.length];
2203
- return /* @__PURE__ */ Q("g", { children: [/* @__PURE__ */ Z("path", {
2203
+ return /* @__PURE__ */ Z("g", { children: [/* @__PURE__ */ X("path", {
2204
2204
  className: `chart-area-fill ${i}`,
2205
2205
  d: n.area
2206
- }), /* @__PURE__ */ Z("path", {
2206
+ }), /* @__PURE__ */ X("path", {
2207
2207
  className: `chart-line ${i} ${f ? "animated" : ""}`,
2208
2208
  d: n.line
2209
2209
  })] }, r);
2210
2210
  }) : w.map((n, r) => {
2211
- let a = e[r].color ?? t[r % t.length], o = u ? De(n) : Ce(n), s = Te(n, i.top + y, u);
2212
- return /* @__PURE__ */ Q("g", { children: [
2213
- /* @__PURE__ */ Z("path", {
2211
+ let a = e[r].color ?? t[r % t.length], o = u ? Oe(n) : we(n), s = Ee(n, i.top + y, u);
2212
+ return /* @__PURE__ */ Z("g", { children: [
2213
+ /* @__PURE__ */ X("path", {
2214
2214
  className: `chart-area-fill ${a}`,
2215
2215
  d: s
2216
2216
  }),
2217
- /* @__PURE__ */ Z("path", {
2217
+ /* @__PURE__ */ X("path", {
2218
2218
  className: `chart-line ${a} ${f ? "animated" : ""}`,
2219
2219
  d: o
2220
2220
  }),
2221
- n.map((t, n) => /* @__PURE__ */ Z("circle", {
2221
+ n.map((t, n) => /* @__PURE__ */ X("circle", {
2222
2222
  className: `chart-dot ${a} ${g === n ? "active" : ""}`,
2223
2223
  cx: t.x,
2224
2224
  cy: t.y,
@@ -2228,7 +2228,7 @@ function on({ data: e, colors: t, innerWidth: n, innerHeight: r, padding: i, xAx
2228
2228
  }, n))
2229
2229
  ] }, r);
2230
2230
  }),
2231
- g !== null && /* @__PURE__ */ Z("line", {
2231
+ g !== null && /* @__PURE__ */ X("line", {
2232
2232
  className: "chart-crosshair",
2233
2233
  x1: i.left + D(g),
2234
2234
  y1: i.top,
@@ -2242,7 +2242,7 @@ function on({ data: e, colors: t, innerWidth: n, innerHeight: r, padding: i, xAx
2242
2242
  //#endregion
2243
2243
  //#region src/components/data/MChart/charts/MPieChart.tsx
2244
2244
  function sn({ data: e, colors: t, innerWidth: n, innerHeight: r, donut: i, donutWidth: a, animated: o, valueFormatter: s = $t, xAxis: c, onTooltip: l, onDataClick: u }) {
2245
- let [d, f] = X(null), p = n / 2, m = r / 2, h = Math.min(p, m) - 10, g = i ? h - (a ?? h * .4) : 0, _ = J(() => {
2245
+ let [d, f] = Y(null), p = n / 2, m = r / 2, h = Math.min(p, m) - 10, g = i ? h - (a ?? h * .4) : 0, _ = q(() => {
2246
2246
  let n = e.length === 1 ? e[0].data : e.map((e) => e.data[0] ?? 0), r = e.length === 1 ? c?.labels ?? n.map((e, t) => `Segment ${t + 1}`) : e.map((e) => e.label), i = n.reduce((e, t) => e + Math.max(t, 0), 0) || 1, a = -Math.PI / 2;
2247
2247
  return n.map((n, o) => {
2248
2248
  let s = Math.max(n, 0) / i * Math.PI * 2, c = {
@@ -2259,7 +2259,7 @@ function sn({ data: e, colors: t, innerWidth: n, innerHeight: r, donut: i, donut
2259
2259
  e,
2260
2260
  t,
2261
2261
  c
2262
- ]), v = q((e, t) => {
2262
+ ]), v = K((e, t) => {
2263
2263
  f(e);
2264
2264
  let n = t.currentTarget.closest("svg");
2265
2265
  if (!n) return;
@@ -2274,12 +2274,12 @@ function sn({ data: e, colors: t, innerWidth: n, innerHeight: r, donut: i, donut
2274
2274
  x: t.clientX - r.left,
2275
2275
  y: t.clientY - r.top
2276
2276
  });
2277
- }, [_, l]), y = q(() => {
2277
+ }, [_, l]), y = K(() => {
2278
2278
  f(null), l(null);
2279
2279
  }, [l]);
2280
- return /* @__PURE__ */ Q("g", { children: [_.map((e, t) => {
2281
- let n = d === t, r = ye(p, m, n ? h + 4 : h, g, e.startAngle, e.endAngle);
2282
- return /* @__PURE__ */ Z("path", {
2280
+ return /* @__PURE__ */ Z("g", { children: [_.map((e, t) => {
2281
+ let n = d === t, r = be(p, m, n ? h + 4 : h, g, e.startAngle, e.endAngle);
2282
+ return /* @__PURE__ */ X("path", {
2283
2283
  className: `chart-pie-segment ${e.color} ${o ? "animated" : ""} ${n ? "active" : ""}`,
2284
2284
  d: r,
2285
2285
  onMouseEnter: (e) => v(t, e),
@@ -2302,7 +2302,7 @@ function sn({ data: e, colors: t, innerWidth: n, innerHeight: r, donut: i, donut
2302
2302
  onClick: () => u?.(0, t, e.value),
2303
2303
  style: { cursor: u ? "pointer" : void 0 }
2304
2304
  }, t);
2305
- }), i && /* @__PURE__ */ Z("text", {
2305
+ }), i && /* @__PURE__ */ X("text", {
2306
2306
  x: p,
2307
2307
  y: m,
2308
2308
  textAnchor: "middle",
@@ -2325,45 +2325,45 @@ var cn = [
2325
2325
  "light"
2326
2326
  ];
2327
2327
  function ln() {
2328
- return /* @__PURE__ */ Q("defs", { children: [
2329
- cn.map((e) => /* @__PURE__ */ Q("linearGradient", {
2328
+ return /* @__PURE__ */ Z("defs", { children: [
2329
+ cn.map((e) => /* @__PURE__ */ Z("linearGradient", {
2330
2330
  id: `chart-bar-grad-${e}`,
2331
2331
  x1: "0",
2332
2332
  y1: "0",
2333
2333
  x2: "0",
2334
2334
  y2: "1",
2335
- children: [/* @__PURE__ */ Z("stop", {
2335
+ children: [/* @__PURE__ */ X("stop", {
2336
2336
  offset: "0%",
2337
2337
  className: `chart-grad-stop-start ${e}`
2338
- }), /* @__PURE__ */ Z("stop", {
2338
+ }), /* @__PURE__ */ X("stop", {
2339
2339
  offset: "100%",
2340
2340
  className: `chart-grad-stop-end ${e}`
2341
2341
  })]
2342
2342
  }, `bar-${e}`)),
2343
- cn.map((e) => /* @__PURE__ */ Q("linearGradient", {
2343
+ cn.map((e) => /* @__PURE__ */ Z("linearGradient", {
2344
2344
  id: `chart-pie-grad-${e}`,
2345
2345
  x1: "0.3",
2346
2346
  y1: "0",
2347
2347
  x2: "0.7",
2348
2348
  y2: "1",
2349
- children: [/* @__PURE__ */ Z("stop", {
2349
+ children: [/* @__PURE__ */ X("stop", {
2350
2350
  offset: "0%",
2351
2351
  className: `chart-grad-stop-start ${e}`
2352
- }), /* @__PURE__ */ Z("stop", {
2352
+ }), /* @__PURE__ */ X("stop", {
2353
2353
  offset: "100%",
2354
2354
  className: `chart-grad-stop-end ${e}`
2355
2355
  })]
2356
2356
  }, `pie-${e}`)),
2357
- cn.map((e) => /* @__PURE__ */ Q("linearGradient", {
2357
+ cn.map((e) => /* @__PURE__ */ Z("linearGradient", {
2358
2358
  id: `chart-area-grad-${e}`,
2359
2359
  x1: "0",
2360
2360
  y1: "0",
2361
2361
  x2: "0",
2362
2362
  y2: "1",
2363
- children: [/* @__PURE__ */ Z("stop", {
2363
+ children: [/* @__PURE__ */ X("stop", {
2364
2364
  offset: "0%",
2365
2365
  className: `chart-grad-area-start ${e}`
2366
- }), /* @__PURE__ */ Z("stop", {
2366
+ }), /* @__PURE__ */ X("stop", {
2367
2367
  offset: "100%",
2368
2368
  className: `chart-grad-area-end ${e}`
2369
2369
  })]
@@ -2373,24 +2373,24 @@ function ln() {
2373
2373
  //#endregion
2374
2374
  //#region src/components/data/MChart/parts/ChartTooltip.tsx
2375
2375
  function un({ data: e, valueFormatter: t }) {
2376
- return e ? /* @__PURE__ */ Q("div", {
2376
+ return e ? /* @__PURE__ */ Z("div", {
2377
2377
  className: "chart-tooltip",
2378
2378
  style: {
2379
2379
  left: e.x,
2380
2380
  top: e.y
2381
2381
  },
2382
- children: [/* @__PURE__ */ Z("div", {
2382
+ children: [/* @__PURE__ */ X("div", {
2383
2383
  className: "chart-tooltip-label",
2384
2384
  children: e.label
2385
- }), e.items.map((e, n) => /* @__PURE__ */ Q("div", {
2385
+ }), e.items.map((e, n) => /* @__PURE__ */ Z("div", {
2386
2386
  className: "chart-tooltip-row",
2387
2387
  children: [
2388
- /* @__PURE__ */ Z("span", { className: `chart-tooltip-dot ${e.color}` }),
2389
- /* @__PURE__ */ Z("span", {
2388
+ /* @__PURE__ */ X("span", { className: `chart-tooltip-dot ${e.color}` }),
2389
+ /* @__PURE__ */ X("span", {
2390
2390
  className: "chart-tooltip-name",
2391
2391
  children: e.name
2392
2392
  }),
2393
- /* @__PURE__ */ Z("span", {
2393
+ /* @__PURE__ */ X("span", {
2394
2394
  className: "chart-tooltip-value",
2395
2395
  children: t(e.value)
2396
2396
  })
@@ -2401,11 +2401,11 @@ function un({ data: e, valueFormatter: t }) {
2401
2401
  //#endregion
2402
2402
  //#region src/components/data/MChart/parts/ChartLegend.tsx
2403
2403
  function dn({ items: e }) {
2404
- return e.length <= 1 ? null : /* @__PURE__ */ Z("div", {
2404
+ return e.length <= 1 ? null : /* @__PURE__ */ X("div", {
2405
2405
  className: "chart-legend",
2406
- children: e.map((e, t) => /* @__PURE__ */ Q("div", {
2406
+ children: e.map((e, t) => /* @__PURE__ */ Z("div", {
2407
2407
  className: "chart-legend-item",
2408
- children: [/* @__PURE__ */ Z("span", { className: `chart-legend-dot ${e.color}` }), /* @__PURE__ */ Z("span", {
2408
+ children: [/* @__PURE__ */ X("span", { className: `chart-legend-dot ${e.color}` }), /* @__PURE__ */ X("span", {
2409
2409
  className: "chart-legend-label",
2410
2410
  children: e.label
2411
2411
  })]
@@ -2415,9 +2415,9 @@ function dn({ items: e }) {
2415
2415
  //#endregion
2416
2416
  //#region src/components/data/MChart/MChart.tsx
2417
2417
  function fn({ type: e, data: t, width: n = "100%", height: r = 300, aspectRatio: i, xAxis: a, yAxis: o, showGrid: s = !0, showXAxis: c = !0, showYAxis: l = !0, showLegend: u = !0, showTooltip: d = !0, animated: f = !0, stacked: p = !1, curved: m = !1, donut: h = !1, donutWidth: g, valueFormatter: _ = $t, labelFormatter: v = en, onDataClick: y, className: b, style: x, ...S }) {
2418
- let C = Y(null), [w, T] = X(null), E = Xt, D = a?.title || o?.title ? Qt : Zt, O = i ? void 0 : typeof r == "number" ? r : 300, k = O ?? 300, A = q((e) => {
2418
+ let C = J(null), [w, T] = Y(null), E = Xt, D = a?.title || o?.title ? Qt : Zt, O = i ? void 0 : typeof r == "number" ? r : 300, k = O ?? 300, A = K((e) => {
2419
2419
  d && T(e);
2420
- }, [d]), j = J(() => e === "pie" && t.length === 1 ? (a?.labels ?? t[0].data.map((e, t) => `Segment ${t + 1}`)).map((e, t) => ({
2420
+ }, [d]), j = q(() => e === "pie" && t.length === 1 ? (a?.labels ?? t[0].data.map((e, t) => `Segment ${t + 1}`)).map((e, t) => ({
2421
2421
  label: e,
2422
2422
  color: E[t % E.length]
2423
2423
  })) : t.map((e, t) => ({
@@ -2444,9 +2444,9 @@ function fn({ type: e, data: t, width: n = "100%", height: r = 300, aspectRatio:
2444
2444
  onTooltip: A,
2445
2445
  onDataClick: y
2446
2446
  };
2447
- return /* @__PURE__ */ Q("div", {
2447
+ return /* @__PURE__ */ Z("div", {
2448
2448
  ref: C,
2449
- className: L("chart", b),
2449
+ className: I("chart", b),
2450
2450
  style: {
2451
2451
  width: n,
2452
2452
  height: i ? void 0 : O,
@@ -2455,44 +2455,44 @@ function fn({ type: e, data: t, width: n = "100%", height: r = 300, aspectRatio:
2455
2455
  },
2456
2456
  ...S,
2457
2457
  children: [
2458
- /* @__PURE__ */ Q("svg", {
2458
+ /* @__PURE__ */ Z("svg", {
2459
2459
  viewBox: `0 0 600 ${k}`,
2460
2460
  preserveAspectRatio: "xMidYMid meet",
2461
2461
  className: "chart-svg",
2462
2462
  children: [
2463
- /* @__PURE__ */ Z(ln, {}),
2464
- e === "line" && /* @__PURE__ */ Z(rn, {
2463
+ /* @__PURE__ */ X(ln, {}),
2464
+ e === "line" && /* @__PURE__ */ X(rn, {
2465
2465
  ...M,
2466
2466
  curved: m
2467
2467
  }),
2468
- e === "bar" && /* @__PURE__ */ Z(an, {
2468
+ e === "bar" && /* @__PURE__ */ X(an, {
2469
2469
  ...M,
2470
2470
  stacked: p
2471
2471
  }),
2472
- e === "area" && /* @__PURE__ */ Z(on, {
2472
+ e === "area" && /* @__PURE__ */ X(on, {
2473
2473
  ...M,
2474
2474
  curved: m,
2475
2475
  stacked: p
2476
2476
  }),
2477
- e === "pie" && /* @__PURE__ */ Z(sn, {
2477
+ e === "pie" && /* @__PURE__ */ X(sn, {
2478
2478
  ...M,
2479
2479
  donut: h,
2480
2480
  donutWidth: g
2481
2481
  })
2482
2482
  ]
2483
2483
  }),
2484
- d && /* @__PURE__ */ Z(un, {
2484
+ d && /* @__PURE__ */ X(un, {
2485
2485
  data: w,
2486
2486
  valueFormatter: _
2487
2487
  }),
2488
- u && /* @__PURE__ */ Z(dn, { items: j })
2488
+ u && /* @__PURE__ */ X(dn, { items: j })
2489
2489
  ]
2490
2490
  });
2491
2491
  }
2492
2492
  //#endregion
2493
2493
  //#region src/components/data/MChart/MLineChart.tsx
2494
2494
  function pn(e) {
2495
- return /* @__PURE__ */ Z(fn, {
2495
+ return /* @__PURE__ */ X(fn, {
2496
2496
  type: "line",
2497
2497
  ...e
2498
2498
  });
@@ -2500,7 +2500,7 @@ function pn(e) {
2500
2500
  //#endregion
2501
2501
  //#region src/components/data/MChart/MBarChart.tsx
2502
2502
  function mn(e) {
2503
- return /* @__PURE__ */ Z(fn, {
2503
+ return /* @__PURE__ */ X(fn, {
2504
2504
  type: "bar",
2505
2505
  ...e
2506
2506
  });
@@ -2508,7 +2508,7 @@ function mn(e) {
2508
2508
  //#endregion
2509
2509
  //#region src/components/data/MChart/MAreaChart.tsx
2510
2510
  function hn(e) {
2511
- return /* @__PURE__ */ Z(fn, {
2511
+ return /* @__PURE__ */ X(fn, {
2512
2512
  type: "area",
2513
2513
  ...e
2514
2514
  });
@@ -2516,12 +2516,12 @@ function hn(e) {
2516
2516
  //#endregion
2517
2517
  //#region src/components/data/MChart/MPieChart.tsx
2518
2518
  function gn(e) {
2519
- return /* @__PURE__ */ Z(fn, {
2519
+ return /* @__PURE__ */ X(fn, {
2520
2520
  type: "pie",
2521
2521
  ...e
2522
2522
  });
2523
2523
  }
2524
2524
  //#endregion
2525
- export { Ye as _, Yt as a, Ue as b, Kt as c, Ct as d, ct as f, Xe as g, Ze as h, pn as i, Jt as l, Qe as m, hn as n, Wt as o, st as p, mn as r, Gt as s, gn as t, qt as u, Ke as v, He as x, Ge as y };
2525
+ export { Xe as _, Yt as a, We as b, Kt as c, wt as d, lt as f, Ze as g, Qe as h, pn as i, Jt as l, $e as m, hn as n, Wt as o, ct as p, mn as r, Gt as s, gn as t, qt as u, qe as v, Ue as x, Ke as y };
2526
2526
 
2527
- //# sourceMappingURL=data-z3Uc9FSI.js.map
2527
+ //# sourceMappingURL=data-DKrj_Hx6.js.map