mood-ui 0.12.0 → 0.13.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 (755) hide show
  1. package/README.md +5 -5
  2. package/dist/components/data-display/Card.cjs +4 -1
  3. package/dist/components/data-display/Card.cjs.map +1 -1
  4. package/dist/components/data-display/Card.mjs +3 -1
  5. package/dist/components/data-display/Card.mjs.map +1 -1
  6. package/dist/components/data-display/Card.vue_vue_type_script_setup_true_lang.cjs +16 -16
  7. package/dist/components/data-display/Card.vue_vue_type_script_setup_true_lang.cjs.map +1 -1
  8. package/dist/components/data-display/Card.vue_vue_type_script_setup_true_lang.mjs +16 -16
  9. package/dist/components/data-display/Card.vue_vue_type_script_setup_true_lang.mjs.map +1 -1
  10. package/dist/components/data-display/avatar/Avatar.cjs.map +1 -1
  11. package/dist/components/data-display/avatar/Avatar.mjs.map +1 -1
  12. package/dist/components/data-display/avatar/Avatar.vue_vue_type_script_setup_true_lang.cjs +1 -1
  13. package/dist/components/data-display/avatar/Avatar.vue_vue_type_script_setup_true_lang.cjs.map +1 -1
  14. package/dist/components/data-display/avatar/Avatar.vue_vue_type_script_setup_true_lang.mjs +1 -1
  15. package/dist/components/data-display/avatar/Avatar.vue_vue_type_script_setup_true_lang.mjs.map +1 -1
  16. package/dist/components/data-display/avatar/AvatarGroup.cjs.map +1 -1
  17. package/dist/components/data-display/avatar/AvatarGroup.mjs.map +1 -1
  18. package/dist/components/data-display/avatar/AvatarGroup.vue_vue_type_script_setup_true_lang.cjs +3 -7
  19. package/dist/components/data-display/avatar/AvatarGroup.vue_vue_type_script_setup_true_lang.cjs.map +1 -1
  20. package/dist/components/data-display/avatar/AvatarGroup.vue_vue_type_script_setup_true_lang.mjs +4 -8
  21. package/dist/components/data-display/avatar/AvatarGroup.vue_vue_type_script_setup_true_lang.mjs.map +1 -1
  22. package/dist/components/data-display/calendar/AgendaView.cjs.map +1 -1
  23. package/dist/components/data-display/calendar/AgendaView.mjs.map +1 -1
  24. package/dist/components/data-display/calendar/AgendaView.vue_vue_type_script_setup_true_lang.cjs +7 -5
  25. package/dist/components/data-display/calendar/AgendaView.vue_vue_type_script_setup_true_lang.cjs.map +1 -1
  26. package/dist/components/data-display/calendar/AgendaView.vue_vue_type_script_setup_true_lang.mjs +8 -6
  27. package/dist/components/data-display/calendar/AgendaView.vue_vue_type_script_setup_true_lang.mjs.map +1 -1
  28. package/dist/components/data-display/calendar/DayView.cjs.map +1 -1
  29. package/dist/components/data-display/calendar/DayView.mjs.map +1 -1
  30. package/dist/components/data-display/calendar/DayView.vue_vue_type_script_setup_true_lang.cjs +7 -5
  31. package/dist/components/data-display/calendar/DayView.vue_vue_type_script_setup_true_lang.cjs.map +1 -1
  32. package/dist/components/data-display/calendar/DayView.vue_vue_type_script_setup_true_lang.mjs +8 -6
  33. package/dist/components/data-display/calendar/DayView.vue_vue_type_script_setup_true_lang.mjs.map +1 -1
  34. package/dist/components/data-display/calendar/MonthView.cjs +1 -1
  35. package/dist/components/data-display/calendar/MonthView.cjs.map +1 -1
  36. package/dist/components/data-display/calendar/MonthView.mjs +1 -1
  37. package/dist/components/data-display/calendar/MonthView.mjs.map +1 -1
  38. package/dist/components/data-display/calendar/MonthView.vue_vue_type_script_setup_true_lang.cjs +7 -5
  39. package/dist/components/data-display/calendar/MonthView.vue_vue_type_script_setup_true_lang.cjs.map +1 -1
  40. package/dist/components/data-display/calendar/MonthView.vue_vue_type_script_setup_true_lang.mjs +8 -6
  41. package/dist/components/data-display/calendar/MonthView.vue_vue_type_script_setup_true_lang.mjs.map +1 -1
  42. package/dist/components/data-display/calendar/Scheduler.cjs.map +1 -1
  43. package/dist/components/data-display/calendar/Scheduler.mjs.map +1 -1
  44. package/dist/components/data-display/calendar/Scheduler.vue_vue_type_script_setup_true_lang.cjs +7 -5
  45. package/dist/components/data-display/calendar/Scheduler.vue_vue_type_script_setup_true_lang.cjs.map +1 -1
  46. package/dist/components/data-display/calendar/Scheduler.vue_vue_type_script_setup_true_lang.mjs +8 -6
  47. package/dist/components/data-display/calendar/Scheduler.vue_vue_type_script_setup_true_lang.mjs.map +1 -1
  48. package/dist/components/data-display/calendar/WeekView.cjs.map +1 -1
  49. package/dist/components/data-display/calendar/WeekView.mjs.map +1 -1
  50. package/dist/components/data-display/calendar/WeekView.vue_vue_type_script_setup_true_lang.cjs +7 -5
  51. package/dist/components/data-display/calendar/WeekView.vue_vue_type_script_setup_true_lang.cjs.map +1 -1
  52. package/dist/components/data-display/calendar/WeekView.vue_vue_type_script_setup_true_lang.mjs +8 -6
  53. package/dist/components/data-display/calendar/WeekView.vue_vue_type_script_setup_true_lang.mjs.map +1 -1
  54. package/dist/components/data-display/surface-card/SurfaceCard.cjs +9 -0
  55. package/dist/components/data-display/surface-card/SurfaceCard.cjs.map +1 -0
  56. package/dist/components/data-display/surface-card/SurfaceCard.mjs +9 -0
  57. package/dist/components/data-display/surface-card/SurfaceCard.mjs.map +1 -0
  58. package/dist/components/data-display/surface-card/SurfaceCard.vue_vue_type_script_setup_true_lang.cjs +234 -0
  59. package/dist/components/data-display/surface-card/SurfaceCard.vue_vue_type_script_setup_true_lang.cjs.map +1 -0
  60. package/dist/components/data-display/surface-card/SurfaceCard.vue_vue_type_script_setup_true_lang.mjs +233 -0
  61. package/dist/components/data-display/surface-card/SurfaceCard.vue_vue_type_script_setup_true_lang.mjs.map +1 -0
  62. package/dist/components/data-display/surface-card/SurfaceCardBody.cjs +6 -0
  63. package/dist/components/data-display/surface-card/SurfaceCardBody.cjs.map +1 -0
  64. package/dist/components/data-display/surface-card/SurfaceCardBody.mjs +7 -0
  65. package/dist/components/data-display/surface-card/SurfaceCardBody.mjs.map +1 -0
  66. package/dist/components/data-display/surface-card/SurfaceCardBody.vue_vue_type_script_setup_true_lang.cjs +28 -0
  67. package/dist/components/data-display/surface-card/SurfaceCardBody.vue_vue_type_script_setup_true_lang.cjs.map +1 -0
  68. package/dist/components/data-display/surface-card/SurfaceCardBody.vue_vue_type_script_setup_true_lang.mjs +27 -0
  69. package/dist/components/data-display/surface-card/SurfaceCardBody.vue_vue_type_script_setup_true_lang.mjs.map +1 -0
  70. package/dist/components/data-display/surface-card/SurfaceCardFooter.cjs +6 -0
  71. package/dist/components/data-display/surface-card/SurfaceCardFooter.cjs.map +1 -0
  72. package/dist/components/data-display/surface-card/SurfaceCardFooter.mjs +7 -0
  73. package/dist/components/data-display/surface-card/SurfaceCardFooter.mjs.map +1 -0
  74. package/dist/components/data-display/surface-card/SurfaceCardFooter.vue_vue_type_script_setup_true_lang.cjs +34 -0
  75. package/dist/components/data-display/surface-card/SurfaceCardFooter.vue_vue_type_script_setup_true_lang.cjs.map +1 -0
  76. package/dist/components/data-display/surface-card/SurfaceCardFooter.vue_vue_type_script_setup_true_lang.mjs +33 -0
  77. package/dist/components/data-display/surface-card/SurfaceCardFooter.vue_vue_type_script_setup_true_lang.mjs.map +1 -0
  78. package/dist/components/data-display/surface-card/SurfaceCardHeader.cjs +6 -0
  79. package/dist/components/data-display/surface-card/SurfaceCardHeader.cjs.map +1 -0
  80. package/dist/components/data-display/surface-card/SurfaceCardHeader.mjs +7 -0
  81. package/dist/components/data-display/surface-card/SurfaceCardHeader.mjs.map +1 -0
  82. package/dist/components/data-display/surface-card/SurfaceCardHeader.vue_vue_type_script_setup_true_lang.cjs +28 -0
  83. package/dist/components/data-display/surface-card/SurfaceCardHeader.vue_vue_type_script_setup_true_lang.cjs.map +1 -0
  84. package/dist/components/data-display/surface-card/SurfaceCardHeader.vue_vue_type_script_setup_true_lang.mjs +27 -0
  85. package/dist/components/data-display/surface-card/SurfaceCardHeader.vue_vue_type_script_setup_true_lang.mjs.map +1 -0
  86. package/dist/components/data-display/surface-card/SurfaceCardMedia.cjs +6 -0
  87. package/dist/components/data-display/surface-card/SurfaceCardMedia.cjs.map +1 -0
  88. package/dist/components/data-display/surface-card/SurfaceCardMedia.mjs +7 -0
  89. package/dist/components/data-display/surface-card/SurfaceCardMedia.mjs.map +1 -0
  90. package/dist/components/data-display/surface-card/SurfaceCardMedia.vue_vue_type_script_setup_true_lang.cjs +42 -0
  91. package/dist/components/data-display/surface-card/SurfaceCardMedia.vue_vue_type_script_setup_true_lang.cjs.map +1 -0
  92. package/dist/components/data-display/surface-card/SurfaceCardMedia.vue_vue_type_script_setup_true_lang.mjs +41 -0
  93. package/dist/components/data-display/surface-card/SurfaceCardMedia.vue_vue_type_script_setup_true_lang.mjs.map +1 -0
  94. package/dist/components/data-display/surface-card/SurfaceCardSeparator.cjs +6 -0
  95. package/dist/components/data-display/surface-card/SurfaceCardSeparator.cjs.map +1 -0
  96. package/dist/components/data-display/surface-card/SurfaceCardSeparator.mjs +7 -0
  97. package/dist/components/data-display/surface-card/SurfaceCardSeparator.mjs.map +1 -0
  98. package/dist/components/data-display/surface-card/SurfaceCardSeparator.vue_vue_type_script_setup_true_lang.cjs +21 -0
  99. package/dist/components/data-display/surface-card/SurfaceCardSeparator.vue_vue_type_script_setup_true_lang.cjs.map +1 -0
  100. package/dist/components/data-display/surface-card/SurfaceCardSeparator.vue_vue_type_script_setup_true_lang.mjs +20 -0
  101. package/dist/components/data-display/surface-card/SurfaceCardSeparator.vue_vue_type_script_setup_true_lang.mjs.map +1 -0
  102. package/dist/components/data-display/surface-card/SurfaceCardSubtitle.cjs +6 -0
  103. package/dist/components/data-display/surface-card/SurfaceCardSubtitle.cjs.map +1 -0
  104. package/dist/components/data-display/surface-card/SurfaceCardSubtitle.mjs +7 -0
  105. package/dist/components/data-display/surface-card/SurfaceCardSubtitle.mjs.map +1 -0
  106. package/dist/components/data-display/surface-card/SurfaceCardSubtitle.vue_vue_type_script_setup_true_lang.cjs +22 -0
  107. package/dist/components/data-display/surface-card/SurfaceCardSubtitle.vue_vue_type_script_setup_true_lang.cjs.map +1 -0
  108. package/dist/components/data-display/surface-card/SurfaceCardSubtitle.vue_vue_type_script_setup_true_lang.mjs +21 -0
  109. package/dist/components/data-display/surface-card/SurfaceCardSubtitle.vue_vue_type_script_setup_true_lang.mjs.map +1 -0
  110. package/dist/components/data-display/surface-card/SurfaceCardTitle.cjs +6 -0
  111. package/dist/components/data-display/surface-card/SurfaceCardTitle.cjs.map +1 -0
  112. package/dist/components/data-display/surface-card/SurfaceCardTitle.mjs +7 -0
  113. package/dist/components/data-display/surface-card/SurfaceCardTitle.mjs.map +1 -0
  114. package/dist/components/data-display/surface-card/SurfaceCardTitle.vue_vue_type_script_setup_true_lang.cjs +42 -0
  115. package/dist/components/data-display/surface-card/SurfaceCardTitle.vue_vue_type_script_setup_true_lang.cjs.map +1 -0
  116. package/dist/components/data-display/surface-card/SurfaceCardTitle.vue_vue_type_script_setup_true_lang.mjs +41 -0
  117. package/dist/components/data-display/surface-card/SurfaceCardTitle.vue_vue_type_script_setup_true_lang.mjs.map +1 -0
  118. package/dist/components/data-display/surface-card/index.cjs +22 -0
  119. package/dist/components/data-display/surface-card/index.cjs.map +1 -0
  120. package/dist/components/data-display/surface-card/index.mjs +22 -0
  121. package/dist/components/data-display/surface-card/index.mjs.map +1 -0
  122. package/dist/components/data-display/surface-card/surfaceCardMotion.cjs +108 -0
  123. package/dist/components/data-display/surface-card/surfaceCardMotion.cjs.map +1 -0
  124. package/dist/components/data-display/surface-card/surfaceCardMotion.mjs +104 -0
  125. package/dist/components/data-display/surface-card/surfaceCardMotion.mjs.map +1 -0
  126. package/dist/components/data-display/table/Table.cjs +1 -1
  127. package/dist/components/data-display/table/Table.cjs.map +1 -1
  128. package/dist/components/data-display/table/Table.mjs +1 -1
  129. package/dist/components/data-display/table/Table.mjs.map +1 -1
  130. package/dist/components/data-display/table/Table.vue_vue_type_script_setup_true_lang.cjs +434 -277
  131. package/dist/components/data-display/table/Table.vue_vue_type_script_setup_true_lang.cjs.map +1 -1
  132. package/dist/components/data-display/table/Table.vue_vue_type_script_setup_true_lang.mjs +438 -281
  133. package/dist/components/data-display/table/Table.vue_vue_type_script_setup_true_lang.mjs.map +1 -1
  134. package/dist/components/data-display/table/TablePagination.cjs.map +1 -1
  135. package/dist/components/data-display/table/TablePagination.mjs.map +1 -1
  136. package/dist/components/data-display/table/TablePagination.vue_vue_type_script_setup_true_lang.cjs +40 -22
  137. package/dist/components/data-display/table/TablePagination.vue_vue_type_script_setup_true_lang.cjs.map +1 -1
  138. package/dist/components/data-display/table/TablePagination.vue_vue_type_script_setup_true_lang.mjs +41 -23
  139. package/dist/components/data-display/table/TablePagination.vue_vue_type_script_setup_true_lang.mjs.map +1 -1
  140. package/dist/components/feedback/Drawer.cjs.map +1 -1
  141. package/dist/components/feedback/Drawer.mjs.map +1 -1
  142. package/dist/components/feedback/Drawer.vue_vue_type_script_setup_true_lang.cjs +113 -78
  143. package/dist/components/feedback/Drawer.vue_vue_type_script_setup_true_lang.cjs.map +1 -1
  144. package/dist/components/feedback/Drawer.vue_vue_type_script_setup_true_lang.mjs +115 -80
  145. package/dist/components/feedback/Drawer.vue_vue_type_script_setup_true_lang.mjs.map +1 -1
  146. package/dist/components/feedback/Modal.cjs.map +1 -1
  147. package/dist/components/feedback/Modal.mjs.map +1 -1
  148. package/dist/components/feedback/Modal.vue_vue_type_script_setup_true_lang.cjs +62 -65
  149. package/dist/components/feedback/Modal.vue_vue_type_script_setup_true_lang.cjs.map +1 -1
  150. package/dist/components/feedback/Modal.vue_vue_type_script_setup_true_lang.mjs +63 -66
  151. package/dist/components/feedback/Modal.vue_vue_type_script_setup_true_lang.mjs.map +1 -1
  152. package/dist/components/feedback/dialog/Dialog.vue_vue_type_script_setup_true_lang.cjs +77 -0
  153. package/dist/components/feedback/dialog/Dialog.vue_vue_type_script_setup_true_lang.cjs.map +1 -0
  154. package/dist/components/feedback/dialog/Dialog.vue_vue_type_script_setup_true_lang.mjs +76 -0
  155. package/dist/components/feedback/dialog/Dialog.vue_vue_type_script_setup_true_lang.mjs.map +1 -0
  156. package/dist/components/feedback/dialog/Dialog2.cjs +6 -0
  157. package/dist/components/feedback/dialog/Dialog2.cjs.map +1 -0
  158. package/dist/components/feedback/dialog/Dialog2.mjs +7 -0
  159. package/dist/components/feedback/dialog/Dialog2.mjs.map +1 -0
  160. package/dist/components/feedback/dialog/DialogBody.cjs +6 -0
  161. package/dist/components/feedback/dialog/DialogBody.cjs.map +1 -0
  162. package/dist/components/feedback/dialog/DialogBody.mjs +7 -0
  163. package/dist/components/feedback/dialog/DialogBody.mjs.map +1 -0
  164. package/dist/components/feedback/dialog/DialogBody.vue_vue_type_script_setup_true_lang.cjs +27 -0
  165. package/dist/components/feedback/dialog/DialogBody.vue_vue_type_script_setup_true_lang.cjs.map +1 -0
  166. package/dist/components/feedback/dialog/DialogBody.vue_vue_type_script_setup_true_lang.mjs +26 -0
  167. package/dist/components/feedback/dialog/DialogBody.vue_vue_type_script_setup_true_lang.mjs.map +1 -0
  168. package/dist/components/feedback/dialog/DialogClose.cjs +6 -0
  169. package/dist/components/feedback/dialog/DialogClose.cjs.map +1 -0
  170. package/dist/components/feedback/dialog/DialogClose.mjs +7 -0
  171. package/dist/components/feedback/dialog/DialogClose.mjs.map +1 -0
  172. package/dist/components/feedback/dialog/DialogClose.vue_vue_type_script_setup_true_lang.cjs +68 -0
  173. package/dist/components/feedback/dialog/DialogClose.vue_vue_type_script_setup_true_lang.cjs.map +1 -0
  174. package/dist/components/feedback/dialog/DialogClose.vue_vue_type_script_setup_true_lang.mjs +67 -0
  175. package/dist/components/feedback/dialog/DialogClose.vue_vue_type_script_setup_true_lang.mjs.map +1 -0
  176. package/dist/components/feedback/dialog/DialogContent.cjs +6 -0
  177. package/dist/components/feedback/dialog/DialogContent.cjs.map +1 -0
  178. package/dist/components/feedback/dialog/DialogContent.mjs +7 -0
  179. package/dist/components/feedback/dialog/DialogContent.mjs.map +1 -0
  180. package/dist/components/feedback/dialog/DialogContent.vue_vue_type_script_setup_true_lang.cjs +283 -0
  181. package/dist/components/feedback/dialog/DialogContent.vue_vue_type_script_setup_true_lang.cjs.map +1 -0
  182. package/dist/components/feedback/dialog/DialogContent.vue_vue_type_script_setup_true_lang.mjs +282 -0
  183. package/dist/components/feedback/dialog/DialogContent.vue_vue_type_script_setup_true_lang.mjs.map +1 -0
  184. package/dist/components/feedback/dialog/DialogContext.cjs +14 -0
  185. package/dist/components/feedback/dialog/DialogContext.cjs.map +1 -0
  186. package/dist/components/feedback/dialog/DialogContext.mjs +12 -0
  187. package/dist/components/feedback/dialog/DialogContext.mjs.map +1 -0
  188. package/dist/components/feedback/dialog/DialogDescription.cjs +6 -0
  189. package/dist/components/feedback/dialog/DialogDescription.cjs.map +1 -0
  190. package/dist/components/feedback/dialog/DialogDescription.mjs +7 -0
  191. package/dist/components/feedback/dialog/DialogDescription.mjs.map +1 -0
  192. package/dist/components/feedback/dialog/DialogDescription.vue_vue_type_script_setup_true_lang.cjs +28 -0
  193. package/dist/components/feedback/dialog/DialogDescription.vue_vue_type_script_setup_true_lang.cjs.map +1 -0
  194. package/dist/components/feedback/dialog/DialogDescription.vue_vue_type_script_setup_true_lang.mjs +27 -0
  195. package/dist/components/feedback/dialog/DialogDescription.vue_vue_type_script_setup_true_lang.mjs.map +1 -0
  196. package/dist/components/feedback/dialog/DialogFooter.cjs +6 -0
  197. package/dist/components/feedback/dialog/DialogFooter.cjs.map +1 -0
  198. package/dist/components/feedback/dialog/DialogFooter.mjs +7 -0
  199. package/dist/components/feedback/dialog/DialogFooter.mjs.map +1 -0
  200. package/dist/components/feedback/dialog/DialogFooter.vue_vue_type_script_setup_true_lang.cjs +17 -0
  201. package/dist/components/feedback/dialog/DialogFooter.vue_vue_type_script_setup_true_lang.cjs.map +1 -0
  202. package/dist/components/feedback/dialog/DialogFooter.vue_vue_type_script_setup_true_lang.mjs +16 -0
  203. package/dist/components/feedback/dialog/DialogFooter.vue_vue_type_script_setup_true_lang.mjs.map +1 -0
  204. package/dist/components/feedback/dialog/DialogHeader.cjs +6 -0
  205. package/dist/components/feedback/dialog/DialogHeader.cjs.map +1 -0
  206. package/dist/components/feedback/dialog/DialogHeader.mjs +7 -0
  207. package/dist/components/feedback/dialog/DialogHeader.mjs.map +1 -0
  208. package/dist/components/feedback/dialog/DialogHeader.vue_vue_type_script_setup_true_lang.cjs +17 -0
  209. package/dist/components/feedback/dialog/DialogHeader.vue_vue_type_script_setup_true_lang.cjs.map +1 -0
  210. package/dist/components/feedback/dialog/DialogHeader.vue_vue_type_script_setup_true_lang.mjs +16 -0
  211. package/dist/components/feedback/dialog/DialogHeader.vue_vue_type_script_setup_true_lang.mjs.map +1 -0
  212. package/dist/components/feedback/dialog/DialogIcon.cjs +6 -0
  213. package/dist/components/feedback/dialog/DialogIcon.cjs.map +1 -0
  214. package/dist/components/feedback/dialog/DialogIcon.mjs +7 -0
  215. package/dist/components/feedback/dialog/DialogIcon.mjs.map +1 -0
  216. package/dist/components/feedback/dialog/DialogIcon.vue_vue_type_script_setup_true_lang.cjs +59 -0
  217. package/dist/components/feedback/dialog/DialogIcon.vue_vue_type_script_setup_true_lang.cjs.map +1 -0
  218. package/dist/components/feedback/dialog/DialogIcon.vue_vue_type_script_setup_true_lang.mjs +58 -0
  219. package/dist/components/feedback/dialog/DialogIcon.vue_vue_type_script_setup_true_lang.mjs.map +1 -0
  220. package/dist/components/feedback/dialog/DialogTitle.cjs +6 -0
  221. package/dist/components/feedback/dialog/DialogTitle.cjs.map +1 -0
  222. package/dist/components/feedback/dialog/DialogTitle.mjs +7 -0
  223. package/dist/components/feedback/dialog/DialogTitle.mjs.map +1 -0
  224. package/dist/components/feedback/dialog/DialogTitle.vue_vue_type_script_setup_true_lang.cjs +29 -0
  225. package/dist/components/feedback/dialog/DialogTitle.vue_vue_type_script_setup_true_lang.cjs.map +1 -0
  226. package/dist/components/feedback/dialog/DialogTitle.vue_vue_type_script_setup_true_lang.mjs +28 -0
  227. package/dist/components/feedback/dialog/DialogTitle.vue_vue_type_script_setup_true_lang.mjs.map +1 -0
  228. package/dist/components/feedback/dialog/DialogTrigger.cjs +6 -0
  229. package/dist/components/feedback/dialog/DialogTrigger.cjs.map +1 -0
  230. package/dist/components/feedback/dialog/DialogTrigger.mjs +7 -0
  231. package/dist/components/feedback/dialog/DialogTrigger.mjs.map +1 -0
  232. package/dist/components/feedback/dialog/DialogTrigger.vue_vue_type_script_setup_true_lang.cjs +122 -0
  233. package/dist/components/feedback/dialog/DialogTrigger.vue_vue_type_script_setup_true_lang.cjs.map +1 -0
  234. package/dist/components/feedback/dialog/DialogTrigger.vue_vue_type_script_setup_true_lang.mjs +121 -0
  235. package/dist/components/feedback/dialog/DialogTrigger.vue_vue_type_script_setup_true_lang.mjs.map +1 -0
  236. package/dist/components/feedback/dialog/index.cjs +26 -0
  237. package/dist/components/feedback/dialog/index.cjs.map +1 -0
  238. package/dist/components/feedback/dialog/index.mjs +26 -0
  239. package/dist/components/feedback/dialog/index.mjs.map +1 -0
  240. package/dist/components/feedback/dialog/overlayScope.cjs +21 -0
  241. package/dist/components/feedback/dialog/overlayScope.cjs.map +1 -0
  242. package/dist/components/feedback/dialog/overlayScope.mjs +18 -0
  243. package/dist/components/feedback/dialog/overlayScope.mjs.map +1 -0
  244. package/dist/components/feedback/liquid-toast/LiquidToast.cjs +6 -0
  245. package/dist/components/feedback/liquid-toast/LiquidToast.cjs.map +1 -0
  246. package/dist/components/feedback/liquid-toast/LiquidToast.mjs +7 -0
  247. package/dist/components/feedback/liquid-toast/LiquidToast.mjs.map +1 -0
  248. package/dist/components/feedback/liquid-toast/LiquidToast.vue_vue_type_script_setup_true_lang.cjs +282 -0
  249. package/dist/components/feedback/liquid-toast/LiquidToast.vue_vue_type_script_setup_true_lang.cjs.map +1 -0
  250. package/dist/components/feedback/liquid-toast/LiquidToast.vue_vue_type_script_setup_true_lang.mjs +281 -0
  251. package/dist/components/feedback/liquid-toast/LiquidToast.vue_vue_type_script_setup_true_lang.mjs.map +1 -0
  252. package/dist/components/feedback/liquid-toast/LiquidToastShape.cjs +6 -0
  253. package/dist/components/feedback/liquid-toast/LiquidToastShape.cjs.map +1 -0
  254. package/dist/components/feedback/liquid-toast/LiquidToastShape.mjs +7 -0
  255. package/dist/components/feedback/liquid-toast/LiquidToastShape.mjs.map +1 -0
  256. package/dist/components/feedback/liquid-toast/LiquidToastShape.vue_vue_type_script_setup_true_lang.cjs +138 -0
  257. package/dist/components/feedback/liquid-toast/LiquidToastShape.vue_vue_type_script_setup_true_lang.cjs.map +1 -0
  258. package/dist/components/feedback/liquid-toast/LiquidToastShape.vue_vue_type_script_setup_true_lang.mjs +137 -0
  259. package/dist/components/feedback/liquid-toast/LiquidToastShape.vue_vue_type_script_setup_true_lang.mjs.map +1 -0
  260. package/dist/components/feedback/liquid-toast/LiquidToaster.cjs +6 -0
  261. package/dist/components/feedback/liquid-toast/LiquidToaster.cjs.map +1 -0
  262. package/dist/components/feedback/liquid-toast/LiquidToaster.mjs +7 -0
  263. package/dist/components/feedback/liquid-toast/LiquidToaster.mjs.map +1 -0
  264. package/dist/components/feedback/liquid-toast/LiquidToaster.vue_vue_type_script_setup_true_lang.cjs +163 -0
  265. package/dist/components/feedback/liquid-toast/LiquidToaster.vue_vue_type_script_setup_true_lang.cjs.map +1 -0
  266. package/dist/components/feedback/liquid-toast/LiquidToaster.vue_vue_type_script_setup_true_lang.mjs +162 -0
  267. package/dist/components/feedback/liquid-toast/LiquidToaster.vue_vue_type_script_setup_true_lang.mjs.map +1 -0
  268. package/dist/components/feedback/liquid-toast/liquidToast2.cjs +117 -0
  269. package/dist/components/feedback/liquid-toast/liquidToast2.cjs.map +1 -0
  270. package/dist/components/feedback/liquid-toast/liquidToast2.mjs +115 -0
  271. package/dist/components/feedback/liquid-toast/liquidToast2.mjs.map +1 -0
  272. package/dist/components/feedback/morph-tooltip/MorphTooltip.cjs +6 -0
  273. package/dist/components/feedback/morph-tooltip/MorphTooltip.cjs.map +1 -0
  274. package/dist/components/feedback/morph-tooltip/MorphTooltip.mjs +7 -0
  275. package/dist/components/feedback/morph-tooltip/MorphTooltip.mjs.map +1 -0
  276. package/dist/components/feedback/morph-tooltip/MorphTooltip.vue_vue_type_script_setup_true_lang.cjs +139 -0
  277. package/dist/components/feedback/morph-tooltip/MorphTooltip.vue_vue_type_script_setup_true_lang.cjs.map +1 -0
  278. package/dist/components/feedback/morph-tooltip/MorphTooltip.vue_vue_type_script_setup_true_lang.mjs +138 -0
  279. package/dist/components/feedback/morph-tooltip/MorphTooltip.vue_vue_type_script_setup_true_lang.mjs.map +1 -0
  280. package/dist/components/feedback/morph-tooltip/MorphTooltipContent.cjs +6 -0
  281. package/dist/components/feedback/morph-tooltip/MorphTooltipContent.cjs.map +1 -0
  282. package/dist/components/feedback/morph-tooltip/MorphTooltipContent.mjs +7 -0
  283. package/dist/components/feedback/morph-tooltip/MorphTooltipContent.mjs.map +1 -0
  284. package/dist/components/feedback/morph-tooltip/MorphTooltipContent.vue_vue_type_script_setup_true_lang.cjs +252 -0
  285. package/dist/components/feedback/morph-tooltip/MorphTooltipContent.vue_vue_type_script_setup_true_lang.cjs.map +1 -0
  286. package/dist/components/feedback/morph-tooltip/MorphTooltipContent.vue_vue_type_script_setup_true_lang.mjs +251 -0
  287. package/dist/components/feedback/morph-tooltip/MorphTooltipContent.vue_vue_type_script_setup_true_lang.mjs.map +1 -0
  288. package/dist/components/feedback/morph-tooltip/MorphTooltipContext.cjs +23 -0
  289. package/dist/components/feedback/morph-tooltip/MorphTooltipContext.cjs.map +1 -0
  290. package/dist/components/feedback/morph-tooltip/MorphTooltipContext.mjs +19 -0
  291. package/dist/components/feedback/morph-tooltip/MorphTooltipContext.mjs.map +1 -0
  292. package/dist/components/feedback/morph-tooltip/MorphTooltipTrigger.cjs +47 -0
  293. package/dist/components/feedback/morph-tooltip/MorphTooltipTrigger.cjs.map +1 -0
  294. package/dist/components/feedback/morph-tooltip/MorphTooltipTrigger.mjs +46 -0
  295. package/dist/components/feedback/morph-tooltip/MorphTooltipTrigger.mjs.map +1 -0
  296. package/dist/components/feedback/morph-tooltip/index.cjs +26 -0
  297. package/dist/components/feedback/morph-tooltip/index.cjs.map +1 -0
  298. package/dist/components/feedback/morph-tooltip/index.mjs +23 -0
  299. package/dist/components/feedback/morph-tooltip/index.mjs.map +1 -0
  300. package/dist/components/feedback/morph-tooltip/tooltipPlacement.cjs +38 -0
  301. package/dist/components/feedback/morph-tooltip/tooltipPlacement.cjs.map +1 -0
  302. package/dist/components/feedback/morph-tooltip/tooltipPlacement.mjs +38 -0
  303. package/dist/components/feedback/morph-tooltip/tooltipPlacement.mjs.map +1 -0
  304. package/dist/components/feedback/sheet/Sheet.cjs +6 -0
  305. package/dist/components/feedback/sheet/Sheet.cjs.map +1 -0
  306. package/dist/components/feedback/sheet/Sheet.mjs +7 -0
  307. package/dist/components/feedback/sheet/Sheet.mjs.map +1 -0
  308. package/dist/components/feedback/sheet/Sheet.vue_vue_type_script_setup_true_lang.cjs +77 -0
  309. package/dist/components/feedback/sheet/Sheet.vue_vue_type_script_setup_true_lang.cjs.map +1 -0
  310. package/dist/components/feedback/sheet/Sheet.vue_vue_type_script_setup_true_lang.mjs +76 -0
  311. package/dist/components/feedback/sheet/Sheet.vue_vue_type_script_setup_true_lang.mjs.map +1 -0
  312. package/dist/components/feedback/sheet/SheetBody.cjs +6 -0
  313. package/dist/components/feedback/sheet/SheetBody.cjs.map +1 -0
  314. package/dist/components/feedback/sheet/SheetBody.mjs +7 -0
  315. package/dist/components/feedback/sheet/SheetBody.mjs.map +1 -0
  316. package/dist/components/feedback/sheet/SheetBody.vue_vue_type_script_setup_true_lang.cjs +27 -0
  317. package/dist/components/feedback/sheet/SheetBody.vue_vue_type_script_setup_true_lang.cjs.map +1 -0
  318. package/dist/components/feedback/sheet/SheetBody.vue_vue_type_script_setup_true_lang.mjs +26 -0
  319. package/dist/components/feedback/sheet/SheetBody.vue_vue_type_script_setup_true_lang.mjs.map +1 -0
  320. package/dist/components/feedback/sheet/SheetClose.cjs +6 -0
  321. package/dist/components/feedback/sheet/SheetClose.cjs.map +1 -0
  322. package/dist/components/feedback/sheet/SheetClose.mjs +7 -0
  323. package/dist/components/feedback/sheet/SheetClose.mjs.map +1 -0
  324. package/dist/components/feedback/sheet/SheetClose.vue_vue_type_script_setup_true_lang.cjs +68 -0
  325. package/dist/components/feedback/sheet/SheetClose.vue_vue_type_script_setup_true_lang.cjs.map +1 -0
  326. package/dist/components/feedback/sheet/SheetClose.vue_vue_type_script_setup_true_lang.mjs +67 -0
  327. package/dist/components/feedback/sheet/SheetClose.vue_vue_type_script_setup_true_lang.mjs.map +1 -0
  328. package/dist/components/feedback/sheet/SheetContent.cjs +6 -0
  329. package/dist/components/feedback/sheet/SheetContent.cjs.map +1 -0
  330. package/dist/components/feedback/sheet/SheetContent.mjs +7 -0
  331. package/dist/components/feedback/sheet/SheetContent.mjs.map +1 -0
  332. package/dist/components/feedback/sheet/SheetContent.vue_vue_type_script_setup_true_lang.cjs +200 -0
  333. package/dist/components/feedback/sheet/SheetContent.vue_vue_type_script_setup_true_lang.cjs.map +1 -0
  334. package/dist/components/feedback/sheet/SheetContent.vue_vue_type_script_setup_true_lang.mjs +199 -0
  335. package/dist/components/feedback/sheet/SheetContent.vue_vue_type_script_setup_true_lang.mjs.map +1 -0
  336. package/dist/components/feedback/sheet/SheetContext.cjs +14 -0
  337. package/dist/components/feedback/sheet/SheetContext.cjs.map +1 -0
  338. package/dist/components/feedback/sheet/SheetContext.mjs +12 -0
  339. package/dist/components/feedback/sheet/SheetContext.mjs.map +1 -0
  340. package/dist/components/feedback/sheet/SheetDescription.cjs +6 -0
  341. package/dist/components/feedback/sheet/SheetDescription.cjs.map +1 -0
  342. package/dist/components/feedback/sheet/SheetDescription.mjs +7 -0
  343. package/dist/components/feedback/sheet/SheetDescription.mjs.map +1 -0
  344. package/dist/components/feedback/sheet/SheetDescription.vue_vue_type_script_setup_true_lang.cjs +28 -0
  345. package/dist/components/feedback/sheet/SheetDescription.vue_vue_type_script_setup_true_lang.cjs.map +1 -0
  346. package/dist/components/feedback/sheet/SheetDescription.vue_vue_type_script_setup_true_lang.mjs +27 -0
  347. package/dist/components/feedback/sheet/SheetDescription.vue_vue_type_script_setup_true_lang.mjs.map +1 -0
  348. package/dist/components/feedback/sheet/SheetFooter.cjs +6 -0
  349. package/dist/components/feedback/sheet/SheetFooter.cjs.map +1 -0
  350. package/dist/components/feedback/sheet/SheetFooter.mjs +7 -0
  351. package/dist/components/feedback/sheet/SheetFooter.mjs.map +1 -0
  352. package/dist/components/feedback/sheet/SheetFooter.vue_vue_type_script_setup_true_lang.cjs +17 -0
  353. package/dist/components/feedback/sheet/SheetFooter.vue_vue_type_script_setup_true_lang.cjs.map +1 -0
  354. package/dist/components/feedback/sheet/SheetFooter.vue_vue_type_script_setup_true_lang.mjs +16 -0
  355. package/dist/components/feedback/sheet/SheetFooter.vue_vue_type_script_setup_true_lang.mjs.map +1 -0
  356. package/dist/components/feedback/sheet/SheetHeader.cjs +6 -0
  357. package/dist/components/feedback/sheet/SheetHeader.cjs.map +1 -0
  358. package/dist/components/feedback/sheet/SheetHeader.mjs +7 -0
  359. package/dist/components/feedback/sheet/SheetHeader.mjs.map +1 -0
  360. package/dist/components/feedback/sheet/SheetHeader.vue_vue_type_script_setup_true_lang.cjs +17 -0
  361. package/dist/components/feedback/sheet/SheetHeader.vue_vue_type_script_setup_true_lang.cjs.map +1 -0
  362. package/dist/components/feedback/sheet/SheetHeader.vue_vue_type_script_setup_true_lang.mjs +16 -0
  363. package/dist/components/feedback/sheet/SheetHeader.vue_vue_type_script_setup_true_lang.mjs.map +1 -0
  364. package/dist/components/feedback/sheet/SheetTitle.cjs +6 -0
  365. package/dist/components/feedback/sheet/SheetTitle.cjs.map +1 -0
  366. package/dist/components/feedback/sheet/SheetTitle.mjs +7 -0
  367. package/dist/components/feedback/sheet/SheetTitle.mjs.map +1 -0
  368. package/dist/components/feedback/sheet/SheetTitle.vue_vue_type_script_setup_true_lang.cjs +29 -0
  369. package/dist/components/feedback/sheet/SheetTitle.vue_vue_type_script_setup_true_lang.cjs.map +1 -0
  370. package/dist/components/feedback/sheet/SheetTitle.vue_vue_type_script_setup_true_lang.mjs +28 -0
  371. package/dist/components/feedback/sheet/SheetTitle.vue_vue_type_script_setup_true_lang.mjs.map +1 -0
  372. package/dist/components/feedback/sheet/SheetTrigger.cjs +6 -0
  373. package/dist/components/feedback/sheet/SheetTrigger.cjs.map +1 -0
  374. package/dist/components/feedback/sheet/SheetTrigger.mjs +7 -0
  375. package/dist/components/feedback/sheet/SheetTrigger.mjs.map +1 -0
  376. package/dist/components/feedback/sheet/SheetTrigger.vue_vue_type_script_setup_true_lang.cjs +98 -0
  377. package/dist/components/feedback/sheet/SheetTrigger.vue_vue_type_script_setup_true_lang.cjs.map +1 -0
  378. package/dist/components/feedback/sheet/SheetTrigger.vue_vue_type_script_setup_true_lang.mjs +97 -0
  379. package/dist/components/feedback/sheet/SheetTrigger.vue_vue_type_script_setup_true_lang.mjs.map +1 -0
  380. package/dist/components/feedback/sheet/index.cjs +24 -0
  381. package/dist/components/feedback/sheet/index.cjs.map +1 -0
  382. package/dist/components/feedback/sheet/index.mjs +24 -0
  383. package/dist/components/feedback/sheet/index.mjs.map +1 -0
  384. package/dist/components/forms/ModeOrb.cjs +6 -0
  385. package/dist/components/forms/ModeOrb.cjs.map +1 -0
  386. package/dist/components/forms/ModeOrb.mjs +7 -0
  387. package/dist/components/forms/ModeOrb.mjs.map +1 -0
  388. package/dist/components/forms/ModeOrb.vue_vue_type_script_setup_true_lang.cjs +153 -0
  389. package/dist/components/forms/ModeOrb.vue_vue_type_script_setup_true_lang.cjs.map +1 -0
  390. package/dist/components/forms/ModeOrb.vue_vue_type_script_setup_true_lang.mjs +152 -0
  391. package/dist/components/forms/ModeOrb.vue_vue_type_script_setup_true_lang.mjs.map +1 -0
  392. package/dist/components/forms/PasswordInput.cjs.map +1 -1
  393. package/dist/components/forms/PasswordInput.mjs.map +1 -1
  394. package/dist/components/forms/PasswordInput.vue_vue_type_script_setup_true_lang.cjs +6 -5
  395. package/dist/components/forms/PasswordInput.vue_vue_type_script_setup_true_lang.cjs.map +1 -1
  396. package/dist/components/forms/PasswordInput.vue_vue_type_script_setup_true_lang.mjs +6 -5
  397. package/dist/components/forms/PasswordInput.vue_vue_type_script_setup_true_lang.mjs.map +1 -1
  398. package/dist/components/forms/PressButton.cjs +9 -0
  399. package/dist/components/forms/PressButton.cjs.map +1 -0
  400. package/dist/components/forms/PressButton.mjs +9 -0
  401. package/dist/components/forms/PressButton.mjs.map +1 -0
  402. package/dist/components/forms/PressButton.vue_vue_type_script_setup_true_lang.cjs +368 -0
  403. package/dist/components/forms/PressButton.vue_vue_type_script_setup_true_lang.cjs.map +1 -0
  404. package/dist/components/forms/PressButton.vue_vue_type_script_setup_true_lang.mjs +367 -0
  405. package/dist/components/forms/PressButton.vue_vue_type_script_setup_true_lang.mjs.map +1 -0
  406. package/dist/components/forms/PressButtonGroup.cjs +9 -0
  407. package/dist/components/forms/PressButtonGroup.cjs.map +1 -0
  408. package/dist/components/forms/PressButtonGroup.mjs +9 -0
  409. package/dist/components/forms/PressButtonGroup.mjs.map +1 -0
  410. package/dist/components/forms/PressButtonGroup.vue_vue_type_script_setup_true_lang.cjs +325 -0
  411. package/dist/components/forms/PressButtonGroup.vue_vue_type_script_setup_true_lang.cjs.map +1 -0
  412. package/dist/components/forms/PressButtonGroup.vue_vue_type_script_setup_true_lang.mjs +324 -0
  413. package/dist/components/forms/PressButtonGroup.vue_vue_type_script_setup_true_lang.mjs.map +1 -0
  414. package/dist/components/forms/glass-switch/GlassSwitch.cjs +6 -0
  415. package/dist/components/forms/glass-switch/GlassSwitch.cjs.map +1 -0
  416. package/dist/components/forms/glass-switch/GlassSwitch.mjs +7 -0
  417. package/dist/components/forms/glass-switch/GlassSwitch.mjs.map +1 -0
  418. package/dist/components/forms/glass-switch/GlassSwitch.vue_vue_type_script_setup_true_lang.cjs +294 -0
  419. package/dist/components/forms/glass-switch/GlassSwitch.vue_vue_type_script_setup_true_lang.cjs.map +1 -0
  420. package/dist/components/forms/glass-switch/GlassSwitch.vue_vue_type_script_setup_true_lang.mjs +293 -0
  421. package/dist/components/forms/glass-switch/GlassSwitch.vue_vue_type_script_setup_true_lang.mjs.map +1 -0
  422. package/dist/components/forms/morph-select/MorphSelect.cjs +6 -0
  423. package/dist/components/forms/morph-select/MorphSelect.cjs.map +1 -0
  424. package/dist/components/forms/morph-select/MorphSelect.mjs +7 -0
  425. package/dist/components/forms/morph-select/MorphSelect.mjs.map +1 -0
  426. package/dist/components/forms/morph-select/MorphSelect.vue_vue_type_script_setup_true_lang.cjs +145 -0
  427. package/dist/components/forms/morph-select/MorphSelect.vue_vue_type_script_setup_true_lang.cjs.map +1 -0
  428. package/dist/components/forms/morph-select/MorphSelect.vue_vue_type_script_setup_true_lang.mjs +144 -0
  429. package/dist/components/forms/morph-select/MorphSelect.vue_vue_type_script_setup_true_lang.mjs.map +1 -0
  430. package/dist/components/forms/morph-select/MorphSelectContent.cjs +6 -0
  431. package/dist/components/forms/morph-select/MorphSelectContent.cjs.map +1 -0
  432. package/dist/components/forms/morph-select/MorphSelectContent.mjs +7 -0
  433. package/dist/components/forms/morph-select/MorphSelectContent.mjs.map +1 -0
  434. package/dist/components/forms/morph-select/MorphSelectContent.vue_vue_type_script_setup_true_lang.cjs +238 -0
  435. package/dist/components/forms/morph-select/MorphSelectContent.vue_vue_type_script_setup_true_lang.cjs.map +1 -0
  436. package/dist/components/forms/morph-select/MorphSelectContent.vue_vue_type_script_setup_true_lang.mjs +237 -0
  437. package/dist/components/forms/morph-select/MorphSelectContent.vue_vue_type_script_setup_true_lang.mjs.map +1 -0
  438. package/dist/components/forms/morph-select/MorphSelectContext.cjs +14 -0
  439. package/dist/components/forms/morph-select/MorphSelectContext.cjs.map +1 -0
  440. package/dist/components/forms/morph-select/MorphSelectContext.mjs +12 -0
  441. package/dist/components/forms/morph-select/MorphSelectContext.mjs.map +1 -0
  442. package/dist/components/forms/morph-select/MorphSelectTrigger.cjs +6 -0
  443. package/dist/components/forms/morph-select/MorphSelectTrigger.cjs.map +1 -0
  444. package/dist/components/forms/morph-select/MorphSelectTrigger.mjs +7 -0
  445. package/dist/components/forms/morph-select/MorphSelectTrigger.mjs.map +1 -0
  446. package/dist/components/forms/morph-select/MorphSelectTrigger.vue_vue_type_script_setup_true_lang.cjs +156 -0
  447. package/dist/components/forms/morph-select/MorphSelectTrigger.vue_vue_type_script_setup_true_lang.cjs.map +1 -0
  448. package/dist/components/forms/morph-select/MorphSelectTrigger.vue_vue_type_script_setup_true_lang.mjs +155 -0
  449. package/dist/components/forms/morph-select/MorphSelectTrigger.vue_vue_type_script_setup_true_lang.mjs.map +1 -0
  450. package/dist/components/forms/morph-select/index.cjs +12 -0
  451. package/dist/components/forms/morph-select/index.cjs.map +1 -0
  452. package/dist/components/forms/morph-select/index.mjs +12 -0
  453. package/dist/components/forms/morph-select/index.mjs.map +1 -0
  454. package/dist/components/forms/morph-select/useMorphSelectKeyboard.cjs +40 -0
  455. package/dist/components/forms/morph-select/useMorphSelectKeyboard.cjs.map +1 -0
  456. package/dist/components/forms/morph-select/useMorphSelectKeyboard.mjs +40 -0
  457. package/dist/components/forms/morph-select/useMorphSelectKeyboard.mjs.map +1 -0
  458. package/dist/components/forms/pressButtonGroupGeometry.cjs +192 -0
  459. package/dist/components/forms/pressButtonGroupGeometry.cjs.map +1 -0
  460. package/dist/components/forms/pressButtonGroupGeometry.mjs +191 -0
  461. package/dist/components/forms/pressButtonGroupGeometry.mjs.map +1 -0
  462. package/dist/components/forms/pressButtonMotion.cjs +164 -0
  463. package/dist/components/forms/pressButtonMotion.cjs.map +1 -0
  464. package/dist/components/forms/pressButtonMotion.mjs +156 -0
  465. package/dist/components/forms/pressButtonMotion.mjs.map +1 -0
  466. package/dist/components/layout/AppShell.cjs.map +1 -1
  467. package/dist/components/layout/AppShell.mjs.map +1 -1
  468. package/dist/components/layout/AppShell.vue_vue_type_script_setup_true_lang.cjs +14 -5
  469. package/dist/components/layout/AppShell.vue_vue_type_script_setup_true_lang.cjs.map +1 -1
  470. package/dist/components/layout/AppShell.vue_vue_type_script_setup_true_lang.mjs +15 -6
  471. package/dist/components/layout/AppShell.vue_vue_type_script_setup_true_lang.mjs.map +1 -1
  472. package/dist/components/layout/Sidebar.cjs +4 -1
  473. package/dist/components/layout/Sidebar.cjs.map +1 -1
  474. package/dist/components/layout/Sidebar.mjs +3 -1
  475. package/dist/components/layout/Sidebar.mjs.map +1 -1
  476. package/dist/components/layout/Sidebar.vue_vue_type_script_setup_true_lang.cjs +31 -26
  477. package/dist/components/layout/Sidebar.vue_vue_type_script_setup_true_lang.cjs.map +1 -1
  478. package/dist/components/layout/Sidebar.vue_vue_type_script_setup_true_lang.mjs +32 -27
  479. package/dist/components/layout/Sidebar.vue_vue_type_script_setup_true_lang.mjs.map +1 -1
  480. package/dist/components/layout/SidebarRow.cjs +1 -1
  481. package/dist/components/layout/SidebarRow.cjs.map +1 -1
  482. package/dist/components/layout/SidebarRow.mjs +1 -1
  483. package/dist/components/layout/SidebarRow.mjs.map +1 -1
  484. package/dist/components/layout/SidebarRow.vue_vue_type_script_setup_true_lang.cjs +20 -59
  485. package/dist/components/layout/SidebarRow.vue_vue_type_script_setup_true_lang.cjs.map +1 -1
  486. package/dist/components/layout/SidebarRow.vue_vue_type_script_setup_true_lang.mjs +20 -59
  487. package/dist/components/layout/SidebarRow.vue_vue_type_script_setup_true_lang.mjs.map +1 -1
  488. package/dist/components/layout/SidebarRowContent.cjs +4 -1
  489. package/dist/components/layout/SidebarRowContent.cjs.map +1 -1
  490. package/dist/components/layout/SidebarRowContent.mjs +3 -1
  491. package/dist/components/layout/SidebarRowContent.mjs.map +1 -1
  492. package/dist/components/layout/SidebarRowContent.vue_vue_type_script_setup_true_lang.cjs +39 -35
  493. package/dist/components/layout/SidebarRowContent.vue_vue_type_script_setup_true_lang.cjs.map +1 -1
  494. package/dist/components/layout/SidebarRowContent.vue_vue_type_script_setup_true_lang.mjs +39 -35
  495. package/dist/components/layout/SidebarRowContent.vue_vue_type_script_setup_true_lang.mjs.map +1 -1
  496. package/dist/components/layout/popover/Popover.vue_vue_type_script_setup_true_lang.cjs +87 -0
  497. package/dist/components/layout/popover/Popover.vue_vue_type_script_setup_true_lang.cjs.map +1 -0
  498. package/dist/components/layout/popover/Popover.vue_vue_type_script_setup_true_lang.mjs +86 -0
  499. package/dist/components/layout/popover/Popover.vue_vue_type_script_setup_true_lang.mjs.map +1 -0
  500. package/dist/components/layout/popover/Popover2.cjs +6 -0
  501. package/dist/components/layout/popover/Popover2.cjs.map +1 -0
  502. package/dist/components/layout/popover/Popover2.mjs +7 -0
  503. package/dist/components/layout/popover/Popover2.mjs.map +1 -0
  504. package/dist/components/layout/popover/PopoverClose.cjs +6 -0
  505. package/dist/components/layout/popover/PopoverClose.cjs.map +1 -0
  506. package/dist/components/layout/popover/PopoverClose.mjs +7 -0
  507. package/dist/components/layout/popover/PopoverClose.mjs.map +1 -0
  508. package/dist/components/layout/popover/PopoverClose.vue_vue_type_script_setup_true_lang.cjs +66 -0
  509. package/dist/components/layout/popover/PopoverClose.vue_vue_type_script_setup_true_lang.cjs.map +1 -0
  510. package/dist/components/layout/popover/PopoverClose.vue_vue_type_script_setup_true_lang.mjs +65 -0
  511. package/dist/components/layout/popover/PopoverClose.vue_vue_type_script_setup_true_lang.mjs.map +1 -0
  512. package/dist/components/layout/popover/PopoverContent.cjs +6 -0
  513. package/dist/components/layout/popover/PopoverContent.cjs.map +1 -0
  514. package/dist/components/layout/popover/PopoverContent.mjs +7 -0
  515. package/dist/components/layout/popover/PopoverContent.mjs.map +1 -0
  516. package/dist/components/layout/popover/PopoverContent.vue_vue_type_script_setup_true_lang.cjs +186 -0
  517. package/dist/components/layout/popover/PopoverContent.vue_vue_type_script_setup_true_lang.cjs.map +1 -0
  518. package/dist/components/layout/popover/PopoverContent.vue_vue_type_script_setup_true_lang.mjs +185 -0
  519. package/dist/components/layout/popover/PopoverContent.vue_vue_type_script_setup_true_lang.mjs.map +1 -0
  520. package/dist/components/layout/popover/PopoverContext.cjs +14 -0
  521. package/dist/components/layout/popover/PopoverContext.cjs.map +1 -0
  522. package/dist/components/layout/popover/PopoverContext.mjs +12 -0
  523. package/dist/components/layout/popover/PopoverContext.mjs.map +1 -0
  524. package/dist/components/layout/popover/PopoverTrigger.cjs +6 -0
  525. package/dist/components/layout/popover/PopoverTrigger.cjs.map +1 -0
  526. package/dist/components/layout/popover/PopoverTrigger.mjs +7 -0
  527. package/dist/components/layout/popover/PopoverTrigger.mjs.map +1 -0
  528. package/dist/components/layout/popover/PopoverTrigger.vue_vue_type_script_setup_true_lang.cjs +126 -0
  529. package/dist/components/layout/popover/PopoverTrigger.vue_vue_type_script_setup_true_lang.cjs.map +1 -0
  530. package/dist/components/layout/popover/PopoverTrigger.vue_vue_type_script_setup_true_lang.mjs +125 -0
  531. package/dist/components/layout/popover/PopoverTrigger.vue_vue_type_script_setup_true_lang.mjs.map +1 -0
  532. package/dist/components/layout/popover/index.cjs +14 -0
  533. package/dist/components/layout/popover/index.cjs.map +1 -0
  534. package/dist/components/layout/popover/index.mjs +14 -0
  535. package/dist/components/layout/popover/index.mjs.map +1 -0
  536. package/dist/components/navigation/menu/ContextMenu.cjs +6 -0
  537. package/dist/components/navigation/menu/ContextMenu.cjs.map +1 -0
  538. package/dist/components/navigation/menu/ContextMenu.mjs +7 -0
  539. package/dist/components/navigation/menu/ContextMenu.mjs.map +1 -0
  540. package/dist/components/navigation/menu/ContextMenu.vue_vue_type_script_setup_true_lang.cjs +111 -0
  541. package/dist/components/navigation/menu/ContextMenu.vue_vue_type_script_setup_true_lang.cjs.map +1 -0
  542. package/dist/components/navigation/menu/ContextMenu.vue_vue_type_script_setup_true_lang.mjs +110 -0
  543. package/dist/components/navigation/menu/ContextMenu.vue_vue_type_script_setup_true_lang.mjs.map +1 -0
  544. package/dist/components/navigation/menu/ContextMenuTrigger.cjs +6 -0
  545. package/dist/components/navigation/menu/ContextMenuTrigger.cjs.map +1 -0
  546. package/dist/components/navigation/menu/ContextMenuTrigger.mjs +7 -0
  547. package/dist/components/navigation/menu/ContextMenuTrigger.mjs.map +1 -0
  548. package/dist/components/navigation/menu/ContextMenuTrigger.vue_vue_type_script_setup_true_lang.cjs +65 -0
  549. package/dist/components/navigation/menu/ContextMenuTrigger.vue_vue_type_script_setup_true_lang.cjs.map +1 -0
  550. package/dist/components/navigation/menu/ContextMenuTrigger.vue_vue_type_script_setup_true_lang.mjs +64 -0
  551. package/dist/components/navigation/menu/ContextMenuTrigger.vue_vue_type_script_setup_true_lang.mjs.map +1 -0
  552. package/dist/components/navigation/menu/Menu.vue_vue_type_script_setup_true_lang.cjs +92 -0
  553. package/dist/components/navigation/menu/Menu.vue_vue_type_script_setup_true_lang.cjs.map +1 -0
  554. package/dist/components/navigation/menu/Menu.vue_vue_type_script_setup_true_lang.mjs +91 -0
  555. package/dist/components/navigation/menu/Menu.vue_vue_type_script_setup_true_lang.mjs.map +1 -0
  556. package/dist/components/navigation/menu/Menu2.cjs +6 -0
  557. package/dist/components/navigation/menu/Menu2.cjs.map +1 -0
  558. package/dist/components/navigation/menu/Menu2.mjs +7 -0
  559. package/dist/components/navigation/menu/Menu2.mjs.map +1 -0
  560. package/dist/components/navigation/menu/MenuContent.cjs +6 -0
  561. package/dist/components/navigation/menu/MenuContent.cjs.map +1 -0
  562. package/dist/components/navigation/menu/MenuContent.mjs +7 -0
  563. package/dist/components/navigation/menu/MenuContent.mjs.map +1 -0
  564. package/dist/components/navigation/menu/MenuContent.vue_vue_type_script_setup_true_lang.cjs +227 -0
  565. package/dist/components/navigation/menu/MenuContent.vue_vue_type_script_setup_true_lang.cjs.map +1 -0
  566. package/dist/components/navigation/menu/MenuContent.vue_vue_type_script_setup_true_lang.mjs +226 -0
  567. package/dist/components/navigation/menu/MenuContent.vue_vue_type_script_setup_true_lang.mjs.map +1 -0
  568. package/dist/components/navigation/menu/MenuContext.cjs +22 -0
  569. package/dist/components/navigation/menu/MenuContext.cjs.map +1 -0
  570. package/dist/components/navigation/menu/MenuContext.mjs +18 -0
  571. package/dist/components/navigation/menu/MenuContext.mjs.map +1 -0
  572. package/dist/components/navigation/menu/MenuItem.cjs +6 -0
  573. package/dist/components/navigation/menu/MenuItem.cjs.map +1 -0
  574. package/dist/components/navigation/menu/MenuItem.mjs +7 -0
  575. package/dist/components/navigation/menu/MenuItem.mjs.map +1 -0
  576. package/dist/components/navigation/menu/MenuItem.vue_vue_type_script_setup_true_lang.cjs +69 -0
  577. package/dist/components/navigation/menu/MenuItem.vue_vue_type_script_setup_true_lang.cjs.map +1 -0
  578. package/dist/components/navigation/menu/MenuItem.vue_vue_type_script_setup_true_lang.mjs +68 -0
  579. package/dist/components/navigation/menu/MenuItem.vue_vue_type_script_setup_true_lang.mjs.map +1 -0
  580. package/dist/components/navigation/menu/MenuLabel.cjs +6 -0
  581. package/dist/components/navigation/menu/MenuLabel.cjs.map +1 -0
  582. package/dist/components/navigation/menu/MenuLabel.mjs +7 -0
  583. package/dist/components/navigation/menu/MenuLabel.mjs.map +1 -0
  584. package/dist/components/navigation/menu/MenuLabel.vue_vue_type_script_setup_true_lang.cjs +21 -0
  585. package/dist/components/navigation/menu/MenuLabel.vue_vue_type_script_setup_true_lang.cjs.map +1 -0
  586. package/dist/components/navigation/menu/MenuLabel.vue_vue_type_script_setup_true_lang.mjs +20 -0
  587. package/dist/components/navigation/menu/MenuLabel.vue_vue_type_script_setup_true_lang.mjs.map +1 -0
  588. package/dist/components/navigation/menu/MenuSeparator.cjs +6 -0
  589. package/dist/components/navigation/menu/MenuSeparator.cjs.map +1 -0
  590. package/dist/components/navigation/menu/MenuSeparator.mjs +7 -0
  591. package/dist/components/navigation/menu/MenuSeparator.mjs.map +1 -0
  592. package/dist/components/navigation/menu/MenuSeparator.vue_vue_type_script_setup_true_lang.cjs +22 -0
  593. package/dist/components/navigation/menu/MenuSeparator.vue_vue_type_script_setup_true_lang.cjs.map +1 -0
  594. package/dist/components/navigation/menu/MenuSeparator.vue_vue_type_script_setup_true_lang.mjs +21 -0
  595. package/dist/components/navigation/menu/MenuSeparator.vue_vue_type_script_setup_true_lang.mjs.map +1 -0
  596. package/dist/components/navigation/menu/MenuTrigger.cjs +6 -0
  597. package/dist/components/navigation/menu/MenuTrigger.cjs.map +1 -0
  598. package/dist/components/navigation/menu/MenuTrigger.mjs +7 -0
  599. package/dist/components/navigation/menu/MenuTrigger.mjs.map +1 -0
  600. package/dist/components/navigation/menu/MenuTrigger.vue_vue_type_script_setup_true_lang.cjs +135 -0
  601. package/dist/components/navigation/menu/MenuTrigger.vue_vue_type_script_setup_true_lang.cjs.map +1 -0
  602. package/dist/components/navigation/menu/MenuTrigger.vue_vue_type_script_setup_true_lang.mjs +134 -0
  603. package/dist/components/navigation/menu/MenuTrigger.vue_vue_type_script_setup_true_lang.mjs.map +1 -0
  604. package/dist/components/navigation/menu/index.cjs +28 -0
  605. package/dist/components/navigation/menu/index.cjs.map +1 -0
  606. package/dist/components/navigation/menu/index.mjs +27 -0
  607. package/dist/components/navigation/menu/index.mjs.map +1 -0
  608. package/dist/composables/useTeleportedModoTheme.cjs +103 -0
  609. package/dist/composables/useTeleportedModoTheme.cjs.map +1 -0
  610. package/dist/composables/useTeleportedModoTheme.mjs +102 -0
  611. package/dist/composables/useTeleportedModoTheme.mjs.map +1 -0
  612. package/dist/config/ModoLocale.cjs +10 -1
  613. package/dist/config/ModoLocale.cjs.map +1 -1
  614. package/dist/config/ModoLocale.mjs +10 -1
  615. package/dist/config/ModoLocale.mjs.map +1 -1
  616. package/dist/config/locales/es.cjs +10 -1
  617. package/dist/config/locales/es.cjs.map +1 -1
  618. package/dist/config/locales/es.mjs +10 -1
  619. package/dist/config/locales/es.mjs.map +1 -1
  620. package/dist/config/palettes.cjs +1 -1
  621. package/dist/config/palettes.cjs.map +1 -1
  622. package/dist/config/palettes.mjs +1 -1
  623. package/dist/config/palettes.mjs.map +1 -1
  624. package/dist/index.cjs +106 -0
  625. package/dist/index.mjs +52 -1
  626. package/dist/mood-ui.css +3439 -266
  627. package/dist/types/components/data-display/Typography.vue.d.ts +1 -1
  628. package/dist/types/components/data-display/avatar/AvatarGroup.vue.d.ts +2 -1
  629. package/dist/types/components/data-display/calendar/CalendarHeader.vue.d.ts +2 -2
  630. package/dist/types/components/data-display/chart/Sparkline.vue.d.ts +1 -1
  631. package/dist/types/components/data-display/surface-card/SurfaceCard.vue.d.ts +23 -0
  632. package/dist/types/components/data-display/surface-card/SurfaceCardBody.vue.d.ts +17 -0
  633. package/dist/types/components/data-display/surface-card/SurfaceCardFooter.vue.d.ts +18 -0
  634. package/dist/types/components/data-display/surface-card/SurfaceCardHeader.vue.d.ts +17 -0
  635. package/dist/types/components/data-display/surface-card/SurfaceCardMedia.vue.d.ts +17 -0
  636. package/dist/types/components/data-display/surface-card/SurfaceCardSeparator.vue.d.ts +6 -0
  637. package/dist/types/components/data-display/surface-card/SurfaceCardSubtitle.vue.d.ts +16 -0
  638. package/dist/types/components/data-display/surface-card/SurfaceCardTitle.vue.d.ts +19 -0
  639. package/dist/types/components/data-display/surface-card/index.d.ts +20 -0
  640. package/dist/types/components/data-display/surface-card/surfaceCardMotion.d.ts +10 -0
  641. package/dist/types/components/data-display/table/TablePagination.vue.d.ts +1 -0
  642. package/dist/types/components/feedback/Badge.vue.d.ts +1 -1
  643. package/dist/types/components/feedback/Chip.vue.d.ts +1 -1
  644. package/dist/types/components/feedback/Drawer.vue.d.ts +7 -6
  645. package/dist/types/components/feedback/Modal.vue.d.ts +1 -1
  646. package/dist/types/components/feedback/Tooltip.vue.d.ts +4 -4
  647. package/dist/types/components/feedback/dialog/Dialog.vue.d.ts +32 -0
  648. package/dist/types/components/feedback/dialog/DialogBody.vue.d.ts +13 -0
  649. package/dist/types/components/feedback/dialog/DialogClose.vue.d.ts +23 -0
  650. package/dist/types/components/feedback/dialog/DialogContent.vue.d.ts +22 -0
  651. package/dist/types/components/feedback/dialog/DialogContext.d.ts +15 -0
  652. package/dist/types/components/feedback/dialog/DialogDescription.vue.d.ts +13 -0
  653. package/dist/types/components/feedback/dialog/DialogFooter.vue.d.ts +13 -0
  654. package/dist/types/components/feedback/dialog/DialogHeader.vue.d.ts +13 -0
  655. package/dist/types/components/feedback/dialog/DialogIcon.vue.d.ts +14 -0
  656. package/dist/types/components/feedback/dialog/DialogTitle.vue.d.ts +13 -0
  657. package/dist/types/components/feedback/dialog/DialogTrigger.vue.d.ts +22 -0
  658. package/dist/types/components/feedback/dialog/index.d.ts +24 -0
  659. package/dist/types/components/feedback/dialog/overlayScope.d.ts +16 -0
  660. package/dist/types/components/feedback/liquid-toast/LiquidToast.vue.d.ts +24 -0
  661. package/dist/types/components/feedback/liquid-toast/LiquidToastShape.vue.d.ts +23 -0
  662. package/dist/types/components/feedback/liquid-toast/LiquidToaster.vue.d.ts +10 -0
  663. package/dist/types/components/feedback/liquid-toast/liquidToast.d.ts +29 -0
  664. package/dist/types/components/feedback/morph-tooltip/MorphTooltip.vue.d.ts +33 -0
  665. package/dist/types/components/feedback/morph-tooltip/MorphTooltipContent.vue.d.ts +21 -0
  666. package/dist/types/components/feedback/morph-tooltip/MorphTooltipContext.d.ts +23 -0
  667. package/dist/types/components/feedback/morph-tooltip/MorphTooltipTrigger.d.ts +15 -0
  668. package/dist/types/components/feedback/morph-tooltip/index.d.ts +128 -0
  669. package/dist/types/components/feedback/morph-tooltip/tooltipPlacement.d.ts +22 -0
  670. package/dist/types/components/feedback/sheet/Sheet.vue.d.ts +32 -0
  671. package/dist/types/components/feedback/sheet/SheetBody.vue.d.ts +13 -0
  672. package/dist/types/components/feedback/sheet/SheetClose.vue.d.ts +23 -0
  673. package/dist/types/components/feedback/sheet/SheetContent.vue.d.ts +18 -0
  674. package/dist/types/components/feedback/sheet/SheetContext.d.ts +15 -0
  675. package/dist/types/components/feedback/sheet/SheetDescription.vue.d.ts +13 -0
  676. package/dist/types/components/feedback/sheet/SheetFooter.vue.d.ts +13 -0
  677. package/dist/types/components/feedback/sheet/SheetHeader.vue.d.ts +13 -0
  678. package/dist/types/components/feedback/sheet/SheetTitle.vue.d.ts +13 -0
  679. package/dist/types/components/feedback/sheet/SheetTrigger.vue.d.ts +22 -0
  680. package/dist/types/components/feedback/sheet/index.d.ts +22 -0
  681. package/dist/types/components/forms/FileInput.vue.d.ts +2 -2
  682. package/dist/types/components/forms/ModeOrb.vue.d.ts +7 -0
  683. package/dist/types/components/forms/PressButton.vue.d.ts +41 -0
  684. package/dist/types/components/forms/PressButtonGroup.vue.d.ts +19 -0
  685. package/dist/types/components/forms/glass-switch/GlassSwitch.vue.d.ts +23 -0
  686. package/dist/types/components/forms/morph-select/MorphSelect.vue.d.ts +34 -0
  687. package/dist/types/components/forms/morph-select/MorphSelectContent.vue.d.ts +20 -0
  688. package/dist/types/components/forms/morph-select/MorphSelectContext.d.ts +36 -0
  689. package/dist/types/components/forms/morph-select/MorphSelectTrigger.vue.d.ts +18 -0
  690. package/dist/types/components/forms/morph-select/index.d.ts +125 -0
  691. package/dist/types/components/forms/morph-select/useMorphSelectKeyboard.d.ts +2 -0
  692. package/dist/types/components/forms/pressButtonGroupGeometry.d.ts +16 -0
  693. package/dist/types/components/forms/pressButtonMotion.d.ts +18 -0
  694. package/dist/types/components/layout/Canvas.vue.d.ts +1 -1
  695. package/dist/types/components/layout/PageHeader.vue.d.ts +2 -2
  696. package/dist/types/components/layout/Sidebar.vue.d.ts +3 -3
  697. package/dist/types/components/layout/SidebarRow.vue.d.ts +2 -2
  698. package/dist/types/components/layout/Stack.vue.d.ts +2 -2
  699. package/dist/types/components/layout/Topbar.vue.d.ts +2 -2
  700. package/dist/types/components/layout/popover/Popover.vue.d.ts +35 -0
  701. package/dist/types/components/layout/popover/PopoverClose.vue.d.ts +23 -0
  702. package/dist/types/components/layout/popover/PopoverContent.vue.d.ts +19 -0
  703. package/dist/types/components/layout/popover/PopoverContext.d.ts +19 -0
  704. package/dist/types/components/layout/popover/PopoverTrigger.vue.d.ts +24 -0
  705. package/dist/types/components/layout/popover/index.d.ts +12 -0
  706. package/dist/types/components/navigation/menu/ContextMenu.vue.d.ts +34 -0
  707. package/dist/types/components/navigation/menu/ContextMenuTrigger.vue.d.ts +13 -0
  708. package/dist/types/components/navigation/menu/Menu.vue.d.ts +35 -0
  709. package/dist/types/components/navigation/menu/MenuContent.vue.d.ts +18 -0
  710. package/dist/types/components/navigation/menu/MenuContext.d.ts +36 -0
  711. package/dist/types/components/navigation/menu/MenuItem.vue.d.ts +29 -0
  712. package/dist/types/components/navigation/menu/MenuLabel.vue.d.ts +13 -0
  713. package/dist/types/components/navigation/menu/MenuSeparator.vue.d.ts +3 -0
  714. package/dist/types/components/navigation/menu/MenuTrigger.vue.d.ts +24 -0
  715. package/dist/types/components/navigation/menu/index.d.ts +26 -0
  716. package/dist/types/composables/useTableSelection.d.ts +1 -1
  717. package/dist/types/composables/useTeleportedModoTheme.d.ts +17 -0
  718. package/dist/types/config/ModoLocale.d.ts +21 -0
  719. package/dist/types/index.d.ts +26 -0
  720. package/dist/types/interfaces/data-display/SurfaceCard.interface.d.ts +131 -0
  721. package/dist/types/interfaces/data-display/table/TablePagination.interface.d.ts +9 -1
  722. package/dist/types/interfaces/feedback/Dialog.interface.d.ts +132 -0
  723. package/dist/types/interfaces/feedback/Drawer.interface.d.ts +10 -5
  724. package/dist/types/interfaces/feedback/LiquidToast.interface.d.ts +75 -0
  725. package/dist/types/interfaces/feedback/Modal.interface.d.ts +1 -1
  726. package/dist/types/interfaces/feedback/MorphTooltip.interface.d.ts +43 -0
  727. package/dist/types/interfaces/feedback/Sheet.interface.d.ts +65 -0
  728. package/dist/types/interfaces/forms/GlassSwitch.interface.d.ts +44 -0
  729. package/dist/types/interfaces/forms/ModeOrb.interface.d.ts +30 -0
  730. package/dist/types/interfaces/forms/MorphSelect.interface.d.ts +65 -0
  731. package/dist/types/interfaces/forms/PressButton.interface.d.ts +92 -0
  732. package/dist/types/interfaces/forms/PressButtonGroup.interface.d.ts +23 -0
  733. package/dist/types/interfaces/layout/Popover.interface.d.ts +98 -0
  734. package/dist/types/interfaces/navigation/Menu.interface.d.ts +118 -0
  735. package/dist/types/utils/RenderContent.d.ts +6 -0
  736. package/dist/types/utils/calendarTooltip.d.ts +13 -0
  737. package/dist/types/utils/morph/morphEngine.d.ts +96 -0
  738. package/dist/types/utils/morph/morphHelpers.d.ts +68 -0
  739. package/dist/utils/RenderContent.cjs +9 -0
  740. package/dist/utils/RenderContent.cjs.map +1 -0
  741. package/dist/utils/RenderContent.mjs +8 -0
  742. package/dist/utils/RenderContent.mjs.map +1 -0
  743. package/dist/utils/calendarTooltip.cjs +18 -0
  744. package/dist/utils/calendarTooltip.cjs.map +1 -0
  745. package/dist/utils/calendarTooltip.mjs +18 -0
  746. package/dist/utils/calendarTooltip.mjs.map +1 -0
  747. package/dist/utils/morph/morphEngine.cjs +485 -0
  748. package/dist/utils/morph/morphEngine.cjs.map +1 -0
  749. package/dist/utils/morph/morphEngine.mjs +477 -0
  750. package/dist/utils/morph/morphEngine.mjs.map +1 -0
  751. package/dist/utils/morph/morphHelpers.cjs +624 -0
  752. package/dist/utils/morph/morphHelpers.cjs.map +1 -0
  753. package/dist/utils/morph/morphHelpers.mjs +614 -0
  754. package/dist/utils/morph/morphHelpers.mjs.map +1 -0
  755. package/package.json +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"AgendaView.vue_vue_type_script_setup_true_lang.cjs","names":[],"sources":["../../../../src/components/data-display/calendar/AgendaView.vue"],"sourcesContent":["<template> \n <div \n ref=\"rootRef\" \n tabindex=\"-1\" \n :class=\"['relative flex flex-col bg-card overflow-hidden focus:outline-none', containerRadiusClass, bordered ? 'border border-border' : '']\" \n :style=\"{ maxHeight: toCssLength(maxHeight) }\"\n @keydown=\"handleKeydown\" \n > \n <slot name=\"header\" :label=\"headerLabel\" :goToToday=\"handleToday\" :prev=\"handlePrev\" :next=\"handleNext\" :prevYear=\"handlePrevYear\" :nextYear=\"handleNextYear\"> \n <CalendarHeader \n :label=\"headerLabel\" \n :showHeader=\"showHeader\" \n :showYearJump=\"showYearNavigation\" \n :showTodayButton=\"showTodayButton\" \n :showMonthYearSelects=\"showMonthYearSelects\" \n :monthOptions=\"monthOptions\" \n :yearOptions=\"yearOptions\" \n v-model:selectedMonth=\"selectedMonth\" \n v-model:selectedYear=\"selectedYear\" \n :color=\"resolvedColor\" \n :focusRingColorClass=\"focusRingColorClass\" \n :todayTextClass=\"todayTextClass\" \n :todayRadiusClass=\"pillRadiusClass\" \n :dayNameCaseClass=\"dayNameCaseClass\" \n @prev=\"handlePrev\" \n @next=\"handleNext\" \n @prevYear=\"handlePrevYear\" \n @nextYear=\"handleNextYear\" \n @today=\"handleToday\" \n /> \n </slot> \n \n <div ref=\"scrollRef\" class=\"flex-1 overflow-y-auto\" @scroll=\"onScroll\"> \n <div v-if=\"!groups.length\" class=\"flex-1 flex items-center justify-center py-12 text-sm text-muted-foreground\"> \n <slot name=\"empty\">{{ emptyText ?? loc.agenda.empty }}</slot> \n </div> \n \n <template v-for=\"(g, gi) in groups\" :key=\"g.key\"> \n <div \n v-if=\"showMonthSeparator && g.showMonthHeader\" \n class=\"sticky top-0 z-20 bg-card/95 backdrop-blur px-4 py-2 text-[11px] font-semibold uppercase tracking-wider text-muted-foreground border-b border-border\" \n > \n {{ g.monthLabel }} \n </div> \n \n <div \n :data-dkey=\"g.key\" \n :class=\"[ \n 'grid border-b border-border transition-colors', \n g.isToday ? 'bg-muted/40' : '', \n g.disabled ? 'opacity-60' : '', \n ]\" \n style=\"grid-template-columns: 5rem 1fr;\" \n > \n <div class=\"flex flex-col items-center justify-start py-4 border-r border-border\"> \n <slot name=\"day-header\" :date=\"g.date\" :isToday=\"g.isToday\" :events=\"g.events\"> \n <span :class=\"['text-[10px] font-medium tracking-wider text-muted-foreground', dayNameCaseClass]\">{{ g.weekdayLabel }}</span> \n <span \n :class=\"[ \n 'mt-1 inline-flex items-center justify-center text-base font-semibold w-9 h-9', \n pillRadiusClass, \n g.isToday ? [todayBgClass] : 'text-foreground', \n ]\" \n >{{ g.day }}</span> \n <span v-if=\"isHighlightedDate(g.date)\" :class=\"['mt-1 w-1 h-1 rounded-full', highlightDotClass]\"></span> \n </slot> \n </div> \n \n <div class=\"py-2 px-3\"> \n <div v-if=\"!g.events.length\" class=\"py-2 text-xs text-muted-foreground/60 italic\"> \n No events \n </div> \n <div v-else class=\"flex flex-col\"> \n <button \n v-for=\"ev in g.events\" \n :key=\"`${g.key}-${ev.id}`\" \n :data-eid=\"ev.id\" \n type=\"button\" \n @click=\"handleEventClick(ev, $event)\" \n @mouseenter=\"onEventEnter(ev, !!ev.allDay, $event)\" \n @mousemove=\"onEventMove\" \n @mouseleave=\"onEventLeave\" \n :class=\"['group flex items-start gap-3 py-2 px-2 -mx-2 cursor-pointer transition-colors hover:bg-muted/70 text-left focus:outline-none focus-visible:ring-2 focus-visible:ring-ring', eventRadiusClass]\" \n > \n <span class=\"shrink-0 w-16 pt-0.5 text-[11px] font-medium text-muted-foreground tabular-nums\"> \n <template v-if=\"ev.allDay\">All day</template> \n <template v-else>{{ formatEventTime(ev.start) }}</template> \n </span> \n <span \n class=\"shrink-0 mt-1.5 w-2 h-2\" \n :style=\"ev.colorHex ? { backgroundColor: ev.colorHex } : undefined\" \n :class=\"[pillRadiusClass, !ev.colorHex ? dotColorClass(ev.color) : '']\" \n ></span> \n <span class=\"flex-1 min-w-0\"> \n <slot name=\"event\" :event=\"ev\"> \n <span class=\"block text-sm font-medium text-foreground truncate\">{{ ev.title }}</span> \n <span v-if=\"!ev.allDay && ev.end\" class=\"block text-[11px] text-muted-foreground\"> \n {{ formatEventTime(ev.start) }} – {{ formatEventTime(ev.end) }} \n </span> \n <span v-if=\"ev.description\" class=\"block text-xs text-muted-foreground truncate mt-0.5\">{{ ev.description }}</span> \n </slot> \n </span> \n <span v-if=\"ev.readonly\" class=\"shrink-0 mt-0.5 text-[9px] uppercase tracking-wider text-muted-foreground border border-border px-1 rounded\">Locked</span> \n </button> \n </div> \n </div> \n </div> \n <div v-if=\"gi === groups.length - 1\" class=\"h-1\"></div> \n </template> \n </div> \n \n <CalendarEventTooltip :state=\"hoverState\" :style=\"tooltipStyle\" :formatTime=\"formatEventTime\"> \n <template #default=\"{ event, allDay }\"> \n <slot name=\"event-tooltip\" :event=\"event\" :allDay=\"allDay\" /> \n </template> \n </CalendarEventTooltip> \n </div> \n</template> \n \n<script setup lang=\"ts\"> \nimport { ref, computed, watch, nextTick, onMounted } from 'vue'; \nimport gsap from 'gsap'; \nimport { isSameDay, startOfDay } from '../../../composables/useCalendar'; \nimport { useCalendarTheme } from '../../../composables/useCalendarTheme'; \nimport { useModoLocale } from '../../../composables/useModoConfig'; \n \nconst loc = useModoLocale(); \nimport { useEventHover } from '../../../composables/useEventHover'; \nimport CalendarEventTooltip from './CalendarEventTooltip.vue'; \nimport CalendarHeader from './CalendarHeader.vue'; \nimport type { AgendaView } from '../../../interfaces/data-display/calendar/AgendaView.interface'; \nimport type { CalendarEvent } from '../../../interfaces/data-display/calendar/MonthView.interface'; \n \nimport { toCssLength } from '../../../utils/cssLength';\n\nconst props = withDefaults(defineProps<AgendaView>(), { \n modelValue: () => new Date(), \n events: () => [], \n locale: 'default', \n color: 'default', \n bordered: true, \n daysToShow: 30, \n daysBefore: 0, \n showEmptyDays: false, \n showHeader: true, \n showMonthSeparator: true, \n showYearNavigation: false, \n showMonthYearSelects: false, \n showTodayButton: true, \n dayNameFormat: 'short', \n dayNameCase: 'upper', \n format: '24h', \n readonly: false, \n highlightedDates: () => [], \n disabledDates: () => [], \n disabledWeekdays: () => [], \n // emptyText resolves against locale when not provided. \n loadMoreChunk: 30, \n enableKeyboardNavigation: true, \n}); \n \nconst emit = defineEmits<{ \n 'update:modelValue': [date: Date]; \n 'event-click': [event: CalendarEvent, nativeEvent: MouseEvent]; \n 'day-click': [date: Date, events: CalendarEvent[], nativeEvent: MouseEvent]; \n 'create-event': [date: Date, allDay: boolean, nativeEvent: MouseEvent | KeyboardEvent]; \n 'load-more': [direction: 'forward' | 'backward']; \n}>(); \n \nconst firstOfMonth = (d: Date) => new Date(d.getFullYear(), d.getMonth(), 1); \nconst daysInMonth = (d: Date) => new Date(d.getFullYear(), d.getMonth() + 1, 0).getDate(); \n \nconst anchorDate = ref(firstOfMonth(new Date(props.modelValue))); \nconst daysForwardShown = ref(Math.max(props.daysToShow, daysInMonth(anchorDate.value))); \n \nwatch(() => props.modelValue, (v) => { \n if (!v) return; \n const f = firstOfMonth(new Date(v)); \n if (f.getTime() === anchorDate.value.getTime()) return; \n anchorDate.value = f; \n daysForwardShown.value = Math.max(props.daysToShow, daysInMonth(f)); \n}); \nwatch(() => props.daysToShow, (n) => { daysForwardShown.value = Math.max(n, daysInMonth(anchorDate.value)); }); \n \nconst rootRef = ref<HTMLElement | null>(null); \nconst scrollRef = ref<HTMLElement | null>(null); \nconst today = new Date(); \n \nconst { hoverState, onEventEnter, onEventMove, onEventLeave, tooltipStyle } = useEventHover<CalendarEvent>(); \n \nconst formatEventTime = (d: Date) => { \n const locale = props.locale === 'default' ? undefined : props.locale; \n return d.toLocaleTimeString(locale, { hour: '2-digit', minute: '2-digit', hour12: props.format === '12h' }); \n}; \n \nconst isHighlightedDate = (d: Date) => props.highlightedDates.some(h => isSameDay(h, d)); \nconst isDisabledDate = (d: Date) => props.disabledDates.some(x => isSameDay(x, d)); \nconst isDisabledWeekday = (d: Date) => props.disabledWeekdays.includes(d.getDay()); \nconst isDayDisabled = (d: Date) => { \n if (props.minDate && startOfDay(d) < startOfDay(props.minDate)) return true; \n if (props.maxDate && startOfDay(d) > startOfDay(props.maxDate)) return true; \n return isDisabledDate(d) || isDisabledWeekday(d); \n}; \n \ninterface DayGroup { \n key: string; \n date: Date; \n day: number; \n weekdayLabel: string; \n monthLabel: string; \n showMonthHeader: boolean; \n isToday: boolean; \n disabled: boolean; \n events: CalendarEvent[]; \n} \n \nconst rangeDates = computed<Date[]>(() => { \n const anchor = anchorDate.value; \n const list: Date[] = []; \n for (let i = 0; i < daysForwardShown.value; i++) { \n const d = new Date(anchor); \n d.setDate(d.getDate() + i); \n const sod = startOfDay(d); \n if (props.minDate && sod < startOfDay(props.minDate)) continue; \n if (props.maxDate && sod > startOfDay(props.maxDate)) continue; \n list.push(sod); \n } \n return list; \n}); \n \nconst eventsByDay = computed<Map<string, CalendarEvent[]>>(() => { \n const map = new Map<string, CalendarEvent[]>(); \n for (const ev of props.events) { \n const s = startOfDay(ev.start); \n const e = startOfDay(ev.end ?? ev.start); \n const d = new Date(s); \n while (d.getTime() <= e.getTime()) { \n const k = d.toDateString(); \n if (!map.has(k)) map.set(k, []); \n map.get(k)!.push(ev); \n d.setDate(d.getDate() + 1); \n } \n } \n for (const list of map.values()) { \n list.sort((a, b) => { \n if (a.allDay && !b.allDay) return -1; \n if (!a.allDay && b.allDay) return 1; \n return a.start.getTime() - b.start.getTime(); \n }); \n } \n return map; \n}); \n \nconst isoKey = (d: Date) => `${d.getFullYear()}-${String(d.getMonth() + 1).padStart(2, '0')}-${String(d.getDate()).padStart(2, '0')}`; \nconst parseIsoKey = (s: string): Date | null => { \n const m = s.match(/^(\\d{4})-(\\d{2})-(\\d{2})$/); \n if (!m) return null; \n return new Date(parseInt(m[1]), parseInt(m[2]) - 1, parseInt(m[3])); \n}; \n \nconst groups = computed<DayGroup[]>(() => { \n const locale = props.locale === 'default' ? undefined : props.locale; \n const result: DayGroup[] = []; \n let lastMonthKey = ''; \n for (const date of rangeDates.value) { \n const key = isoKey(date); \n const evts = eventsByDay.value.get(date.toDateString()) ?? []; \n if (!props.showEmptyDays && !evts.length) continue; \n const monthKey = `${date.getFullYear()}-${date.getMonth()}`; \n const showMonthHeader = monthKey !== lastMonthKey; \n lastMonthKey = monthKey; \n result.push({ \n key, \n date, \n day: date.getDate(), \n weekdayLabel: date.toLocaleDateString(locale, { weekday: props.dayNameFormat }), \n monthLabel: date.toLocaleDateString(locale, { month: 'long', year: 'numeric' }), \n showMonthHeader, \n isToday: isSameDay(date, today), \n disabled: isDayDisabled(date), \n events: evts, \n }); \n } \n return result; \n}); \n \nconst headerLabel = computed(() => { \n const locale = props.locale === 'default' ? undefined : props.locale; \n const d = visibleDate.value ?? anchorDate.value; \n return d.toLocaleDateString(locale, { month: 'long', year: 'numeric' }); \n}); \n \nconst handleEventClick = (ev: CalendarEvent, e: MouseEvent) => { \n emit('event-click', ev, e); \n}; \n \nconst afterNavigate = (scrollTarget?: Date, animateScroll = false) => { \n nextTick(() => { \n if (!scrollRef.value || !rootRef.value) { animateIn(); return; } \n const scEl = scrollRef.value; \n let target = 0; \n if (scrollTarget) { \n const key = isoKey(startOfDay(scrollTarget)); \n const el = rootRef.value.querySelector<HTMLElement>(`[data-dkey=\"${key}\"]`); \n if (el) { \n const scRect = scEl.getBoundingClientRect(); \n const elRect = el.getBoundingClientRect(); \n target = scEl.scrollTop + (elRect.top - scRect.top) - 12; \n } \n } \n if (animateScroll && target > 0) { \n scEl.scrollTop = 0; \n animateIn(); \n gsap.to(scEl, { scrollTop: target, duration: 0.7, ease: 'power3.inOut', delay: 0.15 }); \n } else { \n scEl.scrollTop = target; \n animateIn(); \n } \n visibleDate.value = anchorDate.value; \n }); \n}; \nconst handlePrev = () => { \n const d = new Date(anchorDate.value); \n d.setMonth(d.getMonth() - 1); \n anchorDate.value = firstOfMonth(d); \n daysForwardShown.value = Math.max(props.daysToShow, daysInMonth(anchorDate.value)); \n emit('update:modelValue', anchorDate.value); \n afterNavigate(); \n}; \nconst handleNext = () => { \n const d = new Date(anchorDate.value); \n d.setMonth(d.getMonth() + 1); \n anchorDate.value = firstOfMonth(d); \n daysForwardShown.value = Math.max(props.daysToShow, daysInMonth(anchorDate.value)); \n emit('update:modelValue', anchorDate.value); \n afterNavigate(); \n}; \nconst handleToday = () => { \n const n = new Date(); \n const wasCurrentMonth = firstOfMonth(n).getTime() === anchorDate.value.getTime(); \n anchorDate.value = firstOfMonth(n); \n daysForwardShown.value = Math.max(props.daysToShow, daysInMonth(anchorDate.value)); \n emit('update:modelValue', anchorDate.value); \n afterNavigate(n, !wasCurrentMonth); \n if (wasCurrentMonth && scrollRef.value && rootRef.value) { \n nextTick(() => { \n const key = isoKey(startOfDay(n)); \n const el = rootRef.value!.querySelector<HTMLElement>(`[data-dkey=\"${key}\"]`); \n if (!el) return; \n const scRect = scrollRef.value!.getBoundingClientRect(); \n const elRect = el.getBoundingClientRect(); \n const target = scrollRef.value!.scrollTop + (elRect.top - scRect.top) - 12; \n gsap.to(scrollRef.value!, { scrollTop: target, duration: 0.6, ease: 'power3.inOut' }); \n }); \n } \n}; \nconst handlePrevYear = () => { \n const d = new Date(anchorDate.value); \n d.setFullYear(d.getFullYear() - 1); \n anchorDate.value = firstOfMonth(d); \n daysForwardShown.value = Math.max(props.daysToShow, daysInMonth(anchorDate.value)); \n emit('update:modelValue', anchorDate.value); \n afterNavigate(); \n}; \nconst handleNextYear = () => { \n const d = new Date(anchorDate.value); \n d.setFullYear(d.getFullYear() + 1); \n anchorDate.value = firstOfMonth(d); \n daysForwardShown.value = Math.max(props.daysToShow, daysInMonth(anchorDate.value)); \n emit('update:modelValue', anchorDate.value); \n afterNavigate(); \n}; \n \nconst animateIn = () => { \n if (!rootRef.value) return; \n const els = rootRef.value.querySelectorAll<HTMLElement>('[data-dkey]'); \n if (!els.length) return; \n gsap.fromTo( \n els, \n { opacity: 0, y: 8 }, \n { opacity: 1, y: 0, duration: 0.35, ease: 'power2.out', stagger: { amount: 0.2 } } \n ); \n}; \n \nlet loadingMore = false; \nconst visibleDate = ref<Date | null>(null); \nconst canExtend = () => { \n if (!props.maxDate) return true; \n const last = rangeDates.value[rangeDates.value.length - 1]; \n return !(last && startOfDay(last) >= startOfDay(props.maxDate)); \n}; \nconst onScroll = () => { \n if (!scrollRef.value) return; \n const el = scrollRef.value; \n if (rootRef.value) { \n const scRect = el.getBoundingClientRect(); \n const headers = rootRef.value.querySelectorAll<HTMLElement>('[data-dkey]'); \n let pick: Date | null = null; \n for (const h of headers) { \n const r = h.getBoundingClientRect(); \n if (r.bottom > scRect.top + 8) { \n const k = h.getAttribute('data-dkey'); \n if (k) pick = parseIsoKey(k); \n break; \n } \n } \n if (pick) visibleDate.value = pick; \n } \n if (loadingMore) return; \n const remaining = el.scrollHeight - (el.scrollTop + el.clientHeight); \n if (remaining < 120) { \n if (!canExtend()) return; \n loadingMore = true; \n daysForwardShown.value += props.loadMoreChunk; \n emit('load-more', 'forward'); \n setTimeout(() => { loadingMore = false; }, 120); \n } \n}; \n \nconst handleKeydown = (e: KeyboardEvent) => { \n if (!props.enableKeyboardNavigation) return; \n const target = e.target as HTMLElement; \n if (target.tagName === 'SELECT' || target.tagName === 'INPUT') return; \n if (e.key === 'ArrowLeft' || e.key === 'PageUp') { e.preventDefault(); handlePrev(); } \n else if (e.key === 'ArrowRight' || e.key === 'PageDown') { e.preventDefault(); handleNext(); } \n else if (e.key.toLowerCase() === 't') { e.preventDefault(); handleToday(); } \n}; \n \nonMounted(() => { \n nextTick(() => { \n visibleDate.value = anchorDate.value; \n animateIn(); \n if (scrollRef.value && rootRef.value) { \n const todayMonth = firstOfMonth(today); \n if (todayMonth.getTime() === anchorDate.value.getTime()) { \n const key = isoKey(startOfDay(today)); \n const el = rootRef.value.querySelector<HTMLElement>(`[data-dkey=\"${key}\"]`); \n if (el) { \n const scEl = scrollRef.value; \n const scRect = scEl.getBoundingClientRect(); \n const elRect = el.getBoundingClientRect(); \n const target = scEl.scrollTop + (elRect.top - scRect.top) - 12; \n if (target > 0) { \n gsap.to(scEl, { scrollTop: target, duration: 0.9, ease: 'power3.inOut', delay: 0.25 }); \n } \n } \n } \n } \n }); \n}); \n \ndefineExpose({ \n scrollToDate(date: Date) { \n nextTick(() => { \n if (!scrollRef.value || !rootRef.value) return; \n const key = isoKey(startOfDay(date)); \n const el = rootRef.value.querySelector<HTMLElement>(`[data-dkey=\"${key}\"]`); \n if (!el) return; \n const scRect = scrollRef.value.getBoundingClientRect(); \n const elRect = el.getBoundingClientRect(); \n const target = scrollRef.value.scrollTop + (elRect.top - scRect.top) - 12; \n gsap.to(scrollRef.value, { scrollTop: target, duration: 0.45, ease: 'power3.inOut' }); \n }); \n }, \n}); \n \nconst { todayTextClass, dayNameCaseClass, focusRingColorClass, highlightDotClass, containerRadiusClass, eventRadiusClass, pillRadiusClass, todayBgClass, resolvedColor } = useCalendarTheme({ \n color: () => props.color, \n radius: () => props.radius, \n dayNameCase: () => props.dayNameCase, \n}); \n \nconst DOT_THEMED: Record<string, string> = { \n default: 'bg-muted-foreground', \n primary: 'bg-primary', \n danger: 'bg-destructive', \n success: 'bg-success', \n warning: 'bg-warning', \n}; \nconst DOT_SEMANTIC: Record<string, string> = { \n info: 'bg-info', \n purple: 'bg-purple', \n pink: 'bg-pink', \n}; \nconst dotColorClass = (c?: CalendarEvent['color']) => { \n if (!c) return DOT_THEMED.default; \n return DOT_THEMED[c] ?? DOT_SEMANTIC[c] ?? DOT_THEMED.default; \n}; \n \nconst localeValue = computed(() => (props.locale === 'default' ? undefined : props.locale)); \n \nconst monthOptions = computed(() => { \n const base = new Date(2024, 0, 1); \n return Array.from({ length: 12 }, (_, i) => { \n const d = new Date(base); \n d.setMonth(i); \n return d.toLocaleString(localeValue.value, { month: 'long' }); \n }); \n}); \n \nconst yearOptions = computed(() => { \n const min = props.minDate?.getFullYear() ?? anchorDate.value.getFullYear() - 10; \n const max = props.maxDate?.getFullYear() ?? anchorDate.value.getFullYear() + 10; \n const list: number[] = []; \n for (let y = min; y <= max; y++) list.push(y); \n return list; \n}); \n \nconst selectedMonth = computed({ \n get: () => anchorDate.value.getMonth(), \n set: (mm: number) => { \n const d = new Date(anchorDate.value); \n d.setDate(1); \n d.setMonth(mm); \n anchorDate.value = firstOfMonth(d); \n daysForwardShown.value = Math.max(props.daysToShow, daysInMonth(anchorDate.value)); \n emit('update:modelValue', anchorDate.value); \n afterNavigate(); \n }, \n}); \n \nconst selectedYear = computed({ \n get: () => anchorDate.value.getFullYear(), \n set: (yy: number) => { \n const d = new Date(anchorDate.value); \n d.setFullYear(yy); \n anchorDate.value = firstOfMonth(d); \n daysForwardShown.value = Math.max(props.daysToShow, daysInMonth(anchorDate.value)); \n emit('update:modelValue', anchorDate.value); \n afterNavigate(); \n }, \n}); \n</script>\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;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A,GAAA,IAAA,YADI,KAAA,QAAA,SAAA,EANa,OAAO,IAAE,QAMtB;qCALmF,QAAtF,cAAA,GAAA,IAAA,iBAAoE,GAAG,MAAK,EAAA,EAAA;UAC/D,GAAG,UAAU,GAAG,QAAA,GAAA,IAAA,YAAA,GAAA,GAAA,IAAA,oBAEtB,QAFP,cAAA,GAAA,IAAA,iBACO,gBAAgB,GAAG,MAAK,CAAA,GAAI,SAAA,GAAA,IAAA,iBAAM,gBAAgB,GAAG,IAAG,CAAA,EAAA,EAAA,KAAA,GAAA,IAAA,oBAAA,IAAA,KAAA;SAEnD,GAAG,gBAAA,GAAA,IAAA,YAAA,GAAA,GAAA,IAAA,oBAAoG,QAAnH,cAAA,GAAA,IAAA,iBAA2F,GAAG,YAAW,EAAA,EAAA,KAAA,GAAA,IAAA,oBAAA,IAAA,KAAA;;QAGrG,GAAG,aAAA,GAAA,IAAA,YAAA,GAAA,GAAA,IAAA,oBAA2I,QAA1J,aAA6I,SAAM,KAAA,GAAA,IAAA,oBAAA,IAAA,KAAA;;;MAKxJ,OAAO,OAAA,MAAO,SAAM,MAAA,GAAA,IAAA,YAAA,GAAA,GAAA,IAAA,oBAAwB,OAAvD,YAAuD,KAAA,GAAA,IAAA,oBAAA,IAAA,KAAA;;;yBAQxC,6BAAA,SAAA;KAJA,QAAA,GAAA,IAAA,OAAO,WAAU;KAAG,QAAA,GAAA,IAAA,iBAAA,GAAA,IAAA,OAAO,aAAY,CAAA;KAAG,YAAY;;KAC9D,UAAA,GAAA,IAAA,UACsD,EAD3C,OAAO,aAAM,EAAA,GAAA,IAAA,YAC8B,KAAA,QAAA,iBAAA;MAA1B;MAAgB"}
1
+ {"version":3,"file":"AgendaView.vue_vue_type_script_setup_true_lang.cjs","names":["$slots"],"sources":["../../../../src/components/data-display/calendar/AgendaView.vue"],"sourcesContent":["<template> \n <div \n ref=\"rootRef\" \n tabindex=\"-1\" \n :class=\"['relative flex flex-col bg-card overflow-hidden focus:outline-none', containerRadiusClass, bordered ? 'border border-border' : '']\" \n :style=\"{ maxHeight: toCssLength(maxHeight) }\"\n @keydown=\"handleKeydown\" \n > \n <slot name=\"header\" :label=\"headerLabel\" :goToToday=\"handleToday\" :prev=\"handlePrev\" :next=\"handleNext\" :prevYear=\"handlePrevYear\" :nextYear=\"handleNextYear\"> \n <CalendarHeader \n :label=\"headerLabel\" \n :showHeader=\"showHeader\" \n :showYearJump=\"showYearNavigation\" \n :showTodayButton=\"showTodayButton\" \n :showMonthYearSelects=\"showMonthYearSelects\" \n :monthOptions=\"monthOptions\" \n :yearOptions=\"yearOptions\" \n v-model:selectedMonth=\"selectedMonth\" \n v-model:selectedYear=\"selectedYear\" \n :color=\"resolvedColor\" \n :focusRingColorClass=\"focusRingColorClass\" \n :todayTextClass=\"todayTextClass\" \n :todayRadiusClass=\"pillRadiusClass\" \n :dayNameCaseClass=\"dayNameCaseClass\" \n @prev=\"handlePrev\" \n @next=\"handleNext\" \n @prevYear=\"handlePrevYear\" \n @nextYear=\"handleNextYear\" \n @today=\"handleToday\" \n /> \n </slot> \n \n <div ref=\"scrollRef\" class=\"flex-1 overflow-y-auto\" @scroll=\"onScroll\"> \n <div v-if=\"!groups.length\" class=\"flex-1 flex items-center justify-center py-12 text-sm text-muted-foreground\"> \n <slot name=\"empty\">{{ emptyText ?? loc.agenda.empty }}</slot> \n </div> \n \n <template v-for=\"(g, gi) in groups\" :key=\"g.key\"> \n <div \n v-if=\"showMonthSeparator && g.showMonthHeader\" \n class=\"sticky top-0 z-20 bg-card/95 backdrop-blur px-4 py-2 text-[11px] font-semibold uppercase tracking-wider text-muted-foreground border-b border-border\" \n > \n {{ g.monthLabel }} \n </div> \n \n <div \n :data-dkey=\"g.key\" \n :class=\"[ \n 'grid border-b border-border transition-colors', \n g.isToday ? 'bg-muted/40' : '', \n g.disabled ? 'opacity-60' : '', \n ]\" \n style=\"grid-template-columns: 5rem 1fr;\" \n > \n <div class=\"flex flex-col items-center justify-start py-4 border-r border-border\"> \n <slot name=\"day-header\" :date=\"g.date\" :isToday=\"g.isToday\" :events=\"g.events\"> \n <span :class=\"['text-[10px] font-medium tracking-wider text-muted-foreground', dayNameCaseClass]\">{{ g.weekdayLabel }}</span> \n <span \n :class=\"[ \n 'mt-1 inline-flex items-center justify-center text-base font-semibold w-9 h-9', \n pillRadiusClass, \n g.isToday ? [todayBgClass] : 'text-foreground', \n ]\" \n >{{ g.day }}</span> \n <span v-if=\"isHighlightedDate(g.date)\" :class=\"['mt-1 w-1 h-1 rounded-full', highlightDotClass]\"></span> \n </slot> \n </div> \n \n <div class=\"py-2 px-3\"> \n <div v-if=\"!g.events.length\" class=\"py-2 text-xs text-muted-foreground/60 italic\"> \n No events \n </div> \n <div v-else class=\"flex flex-col\"> \n <button \n v-for=\"ev in g.events\" \n :key=\"`${g.key}-${ev.id}`\" \n :data-eid=\"ev.id\" \n type=\"button\" \n @click=\"handleEventClick(ev, $event)\" \n @mouseenter=\"onEventEnter(ev, !!ev.allDay, $event)\" \n @mousemove=\"onEventMove\" \n @mouseleave=\"onEventLeave\" \n :class=\"['group flex items-start gap-3 py-2 px-2 -mx-2 cursor-pointer transition-colors hover:bg-muted/70 text-left focus:outline-none focus-visible:ring-2 focus-visible:ring-ring', eventRadiusClass]\" \n > \n <span class=\"shrink-0 w-16 pt-0.5 text-[11px] font-medium text-muted-foreground tabular-nums\"> \n <template v-if=\"ev.allDay\">All day</template> \n <template v-else>{{ formatEventTime(ev.start) }}</template> \n </span> \n <span \n class=\"shrink-0 mt-1.5 w-2 h-2\" \n :style=\"ev.colorHex ? { backgroundColor: ev.colorHex } : undefined\" \n :class=\"[pillRadiusClass, !ev.colorHex ? dotColorClass(ev.color) : '']\" \n ></span> \n <span class=\"flex-1 min-w-0\"> \n <slot name=\"event\" :event=\"ev\"> \n <span class=\"block text-sm font-medium text-foreground truncate\">{{ ev.title }}</span> \n <span v-if=\"!ev.allDay && ev.end\" class=\"block text-[11px] text-muted-foreground\"> \n {{ formatEventTime(ev.start) }} – {{ formatEventTime(ev.end) }} \n </span> \n <span v-if=\"ev.description\" class=\"block text-xs text-muted-foreground truncate mt-0.5\">{{ ev.description }}</span> \n </slot> \n </span> \n <span v-if=\"ev.readonly\" class=\"shrink-0 mt-0.5 text-[9px] uppercase tracking-wider text-muted-foreground border border-border px-1 rounded\">Locked</span> \n </button> \n </div> \n </div> \n </div> \n <div v-if=\"gi === groups.length - 1\" class=\"h-1\"></div> \n </template> \n </div> \n \n <CalendarEventTooltip :state=\"hoverState\" :style=\"tooltipStyle\" :formatTime=\"formatEventTime\"> \n <!--\n A provided slot replaces the built-in card, so it gets the surface\n here; with no slot the fallback content keeps rendering its own.\n -->\n <template v-if=\"$slots['event-tooltip']\" #default=\"{ event, allDay }\">\n <div :class=\"CALENDAR_TOOLTIP_SURFACE\">\n <slot name=\"event-tooltip\" :event=\"event\" :allDay=\"allDay\" />\n </div>\n </template>\n </CalendarEventTooltip> \n </div> \n</template> \n \n<script setup lang=\"ts\"> \nimport { ref, computed, watch, nextTick, onMounted } from 'vue'; \nimport gsap from 'gsap'; \nimport { isSameDay, startOfDay } from '../../../composables/useCalendar'; \nimport { useCalendarTheme } from '../../../composables/useCalendarTheme'; \nimport { useModoLocale } from '../../../composables/useModoConfig'; \n \nconst loc = useModoLocale(); \nimport { useEventHover } from '../../../composables/useEventHover'; \nimport CalendarEventTooltip from './CalendarEventTooltip.vue'; \nimport CalendarHeader from './CalendarHeader.vue'; \nimport type { AgendaView } from '../../../interfaces/data-display/calendar/AgendaView.interface'; \nimport type { CalendarEvent } from '../../../interfaces/data-display/calendar/MonthView.interface'; \n \nimport { toCssLength } from '../../../utils/cssLength';\n\nimport { CALENDAR_TOOLTIP_SURFACE } from '../../../utils/calendarTooltip';\n\nconst props = withDefaults(defineProps<AgendaView>(), { \n modelValue: () => new Date(), \n events: () => [], \n locale: 'default', \n color: 'default', \n bordered: true, \n daysToShow: 30, \n daysBefore: 0, \n showEmptyDays: false, \n showHeader: true, \n showMonthSeparator: true, \n showYearNavigation: false, \n showMonthYearSelects: false, \n showTodayButton: true, \n dayNameFormat: 'short', \n dayNameCase: 'upper', \n format: '24h', \n readonly: false, \n highlightedDates: () => [], \n disabledDates: () => [], \n disabledWeekdays: () => [], \n // emptyText resolves against locale when not provided. \n loadMoreChunk: 30, \n enableKeyboardNavigation: true, \n}); \n \nconst emit = defineEmits<{ \n 'update:modelValue': [date: Date]; \n 'event-click': [event: CalendarEvent, nativeEvent: MouseEvent]; \n 'day-click': [date: Date, events: CalendarEvent[], nativeEvent: MouseEvent]; \n 'create-event': [date: Date, allDay: boolean, nativeEvent: MouseEvent | KeyboardEvent]; \n 'load-more': [direction: 'forward' | 'backward']; \n}>(); \n \nconst firstOfMonth = (d: Date) => new Date(d.getFullYear(), d.getMonth(), 1); \nconst daysInMonth = (d: Date) => new Date(d.getFullYear(), d.getMonth() + 1, 0).getDate(); \n \nconst anchorDate = ref(firstOfMonth(new Date(props.modelValue))); \nconst daysForwardShown = ref(Math.max(props.daysToShow, daysInMonth(anchorDate.value))); \n \nwatch(() => props.modelValue, (v) => { \n if (!v) return; \n const f = firstOfMonth(new Date(v)); \n if (f.getTime() === anchorDate.value.getTime()) return; \n anchorDate.value = f; \n daysForwardShown.value = Math.max(props.daysToShow, daysInMonth(f)); \n}); \nwatch(() => props.daysToShow, (n) => { daysForwardShown.value = Math.max(n, daysInMonth(anchorDate.value)); }); \n \nconst rootRef = ref<HTMLElement | null>(null); \nconst scrollRef = ref<HTMLElement | null>(null); \nconst today = new Date(); \n \nconst { hoverState, onEventEnter, onEventMove, onEventLeave, tooltipStyle } = useEventHover<CalendarEvent>(); \n \nconst formatEventTime = (d: Date) => { \n const locale = props.locale === 'default' ? undefined : props.locale; \n return d.toLocaleTimeString(locale, { hour: '2-digit', minute: '2-digit', hour12: props.format === '12h' }); \n}; \n \nconst isHighlightedDate = (d: Date) => props.highlightedDates.some(h => isSameDay(h, d)); \nconst isDisabledDate = (d: Date) => props.disabledDates.some(x => isSameDay(x, d)); \nconst isDisabledWeekday = (d: Date) => props.disabledWeekdays.includes(d.getDay()); \nconst isDayDisabled = (d: Date) => { \n if (props.minDate && startOfDay(d) < startOfDay(props.minDate)) return true; \n if (props.maxDate && startOfDay(d) > startOfDay(props.maxDate)) return true; \n return isDisabledDate(d) || isDisabledWeekday(d); \n}; \n \ninterface DayGroup { \n key: string; \n date: Date; \n day: number; \n weekdayLabel: string; \n monthLabel: string; \n showMonthHeader: boolean; \n isToday: boolean; \n disabled: boolean; \n events: CalendarEvent[]; \n} \n \nconst rangeDates = computed<Date[]>(() => { \n const anchor = anchorDate.value; \n const list: Date[] = []; \n for (let i = 0; i < daysForwardShown.value; i++) { \n const d = new Date(anchor); \n d.setDate(d.getDate() + i); \n const sod = startOfDay(d); \n if (props.minDate && sod < startOfDay(props.minDate)) continue; \n if (props.maxDate && sod > startOfDay(props.maxDate)) continue; \n list.push(sod); \n } \n return list; \n}); \n \nconst eventsByDay = computed<Map<string, CalendarEvent[]>>(() => { \n const map = new Map<string, CalendarEvent[]>(); \n for (const ev of props.events) { \n const s = startOfDay(ev.start); \n const e = startOfDay(ev.end ?? ev.start); \n const d = new Date(s); \n while (d.getTime() <= e.getTime()) { \n const k = d.toDateString(); \n if (!map.has(k)) map.set(k, []); \n map.get(k)!.push(ev); \n d.setDate(d.getDate() + 1); \n } \n } \n for (const list of map.values()) { \n list.sort((a, b) => { \n if (a.allDay && !b.allDay) return -1; \n if (!a.allDay && b.allDay) return 1; \n return a.start.getTime() - b.start.getTime(); \n }); \n } \n return map; \n}); \n \nconst isoKey = (d: Date) => `${d.getFullYear()}-${String(d.getMonth() + 1).padStart(2, '0')}-${String(d.getDate()).padStart(2, '0')}`; \nconst parseIsoKey = (s: string): Date | null => { \n const m = s.match(/^(\\d{4})-(\\d{2})-(\\d{2})$/); \n if (!m) return null; \n return new Date(parseInt(m[1]), parseInt(m[2]) - 1, parseInt(m[3])); \n}; \n \nconst groups = computed<DayGroup[]>(() => { \n const locale = props.locale === 'default' ? undefined : props.locale; \n const result: DayGroup[] = []; \n let lastMonthKey = ''; \n for (const date of rangeDates.value) { \n const key = isoKey(date); \n const evts = eventsByDay.value.get(date.toDateString()) ?? []; \n if (!props.showEmptyDays && !evts.length) continue; \n const monthKey = `${date.getFullYear()}-${date.getMonth()}`; \n const showMonthHeader = monthKey !== lastMonthKey; \n lastMonthKey = monthKey; \n result.push({ \n key, \n date, \n day: date.getDate(), \n weekdayLabel: date.toLocaleDateString(locale, { weekday: props.dayNameFormat }), \n monthLabel: date.toLocaleDateString(locale, { month: 'long', year: 'numeric' }), \n showMonthHeader, \n isToday: isSameDay(date, today), \n disabled: isDayDisabled(date), \n events: evts, \n }); \n } \n return result; \n}); \n \nconst headerLabel = computed(() => { \n const locale = props.locale === 'default' ? undefined : props.locale; \n const d = visibleDate.value ?? anchorDate.value; \n return d.toLocaleDateString(locale, { month: 'long', year: 'numeric' }); \n}); \n \nconst handleEventClick = (ev: CalendarEvent, e: MouseEvent) => { \n emit('event-click', ev, e); \n}; \n \nconst afterNavigate = (scrollTarget?: Date, animateScroll = false) => { \n nextTick(() => { \n if (!scrollRef.value || !rootRef.value) { animateIn(); return; } \n const scEl = scrollRef.value; \n let target = 0; \n if (scrollTarget) { \n const key = isoKey(startOfDay(scrollTarget)); \n const el = rootRef.value.querySelector<HTMLElement>(`[data-dkey=\"${key}\"]`); \n if (el) { \n const scRect = scEl.getBoundingClientRect(); \n const elRect = el.getBoundingClientRect(); \n target = scEl.scrollTop + (elRect.top - scRect.top) - 12; \n } \n } \n if (animateScroll && target > 0) { \n scEl.scrollTop = 0; \n animateIn(); \n gsap.to(scEl, { scrollTop: target, duration: 0.7, ease: 'power3.inOut', delay: 0.15 }); \n } else { \n scEl.scrollTop = target; \n animateIn(); \n } \n visibleDate.value = anchorDate.value; \n }); \n}; \nconst handlePrev = () => { \n const d = new Date(anchorDate.value); \n d.setMonth(d.getMonth() - 1); \n anchorDate.value = firstOfMonth(d); \n daysForwardShown.value = Math.max(props.daysToShow, daysInMonth(anchorDate.value)); \n emit('update:modelValue', anchorDate.value); \n afterNavigate(); \n}; \nconst handleNext = () => { \n const d = new Date(anchorDate.value); \n d.setMonth(d.getMonth() + 1); \n anchorDate.value = firstOfMonth(d); \n daysForwardShown.value = Math.max(props.daysToShow, daysInMonth(anchorDate.value)); \n emit('update:modelValue', anchorDate.value); \n afterNavigate(); \n}; \nconst handleToday = () => { \n const n = new Date(); \n const wasCurrentMonth = firstOfMonth(n).getTime() === anchorDate.value.getTime(); \n anchorDate.value = firstOfMonth(n); \n daysForwardShown.value = Math.max(props.daysToShow, daysInMonth(anchorDate.value)); \n emit('update:modelValue', anchorDate.value); \n afterNavigate(n, !wasCurrentMonth); \n if (wasCurrentMonth && scrollRef.value && rootRef.value) { \n nextTick(() => { \n const key = isoKey(startOfDay(n)); \n const el = rootRef.value!.querySelector<HTMLElement>(`[data-dkey=\"${key}\"]`); \n if (!el) return; \n const scRect = scrollRef.value!.getBoundingClientRect(); \n const elRect = el.getBoundingClientRect(); \n const target = scrollRef.value!.scrollTop + (elRect.top - scRect.top) - 12; \n gsap.to(scrollRef.value!, { scrollTop: target, duration: 0.6, ease: 'power3.inOut' }); \n }); \n } \n}; \nconst handlePrevYear = () => { \n const d = new Date(anchorDate.value); \n d.setFullYear(d.getFullYear() - 1); \n anchorDate.value = firstOfMonth(d); \n daysForwardShown.value = Math.max(props.daysToShow, daysInMonth(anchorDate.value)); \n emit('update:modelValue', anchorDate.value); \n afterNavigate(); \n}; \nconst handleNextYear = () => { \n const d = new Date(anchorDate.value); \n d.setFullYear(d.getFullYear() + 1); \n anchorDate.value = firstOfMonth(d); \n daysForwardShown.value = Math.max(props.daysToShow, daysInMonth(anchorDate.value)); \n emit('update:modelValue', anchorDate.value); \n afterNavigate(); \n}; \n \nconst animateIn = () => { \n if (!rootRef.value) return; \n const els = rootRef.value.querySelectorAll<HTMLElement>('[data-dkey]'); \n if (!els.length) return; \n gsap.fromTo( \n els, \n { opacity: 0, y: 8 }, \n { opacity: 1, y: 0, duration: 0.35, ease: 'power2.out', stagger: { amount: 0.2 } } \n ); \n}; \n \nlet loadingMore = false; \nconst visibleDate = ref<Date | null>(null); \nconst canExtend = () => { \n if (!props.maxDate) return true; \n const last = rangeDates.value[rangeDates.value.length - 1]; \n return !(last && startOfDay(last) >= startOfDay(props.maxDate)); \n}; \nconst onScroll = () => { \n if (!scrollRef.value) return; \n const el = scrollRef.value; \n if (rootRef.value) { \n const scRect = el.getBoundingClientRect(); \n const headers = rootRef.value.querySelectorAll<HTMLElement>('[data-dkey]'); \n let pick: Date | null = null; \n for (const h of headers) { \n const r = h.getBoundingClientRect(); \n if (r.bottom > scRect.top + 8) { \n const k = h.getAttribute('data-dkey'); \n if (k) pick = parseIsoKey(k); \n break; \n } \n } \n if (pick) visibleDate.value = pick; \n } \n if (loadingMore) return; \n const remaining = el.scrollHeight - (el.scrollTop + el.clientHeight); \n if (remaining < 120) { \n if (!canExtend()) return; \n loadingMore = true; \n daysForwardShown.value += props.loadMoreChunk; \n emit('load-more', 'forward'); \n setTimeout(() => { loadingMore = false; }, 120); \n } \n}; \n \nconst handleKeydown = (e: KeyboardEvent) => { \n if (!props.enableKeyboardNavigation) return; \n const target = e.target as HTMLElement; \n if (target.tagName === 'SELECT' || target.tagName === 'INPUT') return; \n if (e.key === 'ArrowLeft' || e.key === 'PageUp') { e.preventDefault(); handlePrev(); } \n else if (e.key === 'ArrowRight' || e.key === 'PageDown') { e.preventDefault(); handleNext(); } \n else if (e.key.toLowerCase() === 't') { e.preventDefault(); handleToday(); } \n}; \n \nonMounted(() => { \n nextTick(() => { \n visibleDate.value = anchorDate.value; \n animateIn(); \n if (scrollRef.value && rootRef.value) { \n const todayMonth = firstOfMonth(today); \n if (todayMonth.getTime() === anchorDate.value.getTime()) { \n const key = isoKey(startOfDay(today)); \n const el = rootRef.value.querySelector<HTMLElement>(`[data-dkey=\"${key}\"]`); \n if (el) { \n const scEl = scrollRef.value; \n const scRect = scEl.getBoundingClientRect(); \n const elRect = el.getBoundingClientRect(); \n const target = scEl.scrollTop + (elRect.top - scRect.top) - 12; \n if (target > 0) { \n gsap.to(scEl, { scrollTop: target, duration: 0.9, ease: 'power3.inOut', delay: 0.25 }); \n } \n } \n } \n } \n }); \n}); \n \ndefineExpose({ \n scrollToDate(date: Date) { \n nextTick(() => { \n if (!scrollRef.value || !rootRef.value) return; \n const key = isoKey(startOfDay(date)); \n const el = rootRef.value.querySelector<HTMLElement>(`[data-dkey=\"${key}\"]`); \n if (!el) return; \n const scRect = scrollRef.value.getBoundingClientRect(); \n const elRect = el.getBoundingClientRect(); \n const target = scrollRef.value.scrollTop + (elRect.top - scRect.top) - 12; \n gsap.to(scrollRef.value, { scrollTop: target, duration: 0.45, ease: 'power3.inOut' }); \n }); \n }, \n}); \n \nconst { todayTextClass, dayNameCaseClass, focusRingColorClass, highlightDotClass, containerRadiusClass, eventRadiusClass, pillRadiusClass, todayBgClass, resolvedColor } = useCalendarTheme({ \n color: () => props.color, \n radius: () => props.radius, \n dayNameCase: () => props.dayNameCase, \n}); \n \nconst DOT_THEMED: Record<string, string> = { \n default: 'bg-muted-foreground', \n primary: 'bg-primary', \n danger: 'bg-destructive', \n success: 'bg-success', \n warning: 'bg-warning', \n}; \nconst DOT_SEMANTIC: Record<string, string> = { \n info: 'bg-info', \n purple: 'bg-purple', \n pink: 'bg-pink', \n}; \nconst dotColorClass = (c?: CalendarEvent['color']) => { \n if (!c) return DOT_THEMED.default; \n return DOT_THEMED[c] ?? DOT_SEMANTIC[c] ?? DOT_THEMED.default; \n}; \n \nconst localeValue = computed(() => (props.locale === 'default' ? undefined : props.locale)); \n \nconst monthOptions = computed(() => { \n const base = new Date(2024, 0, 1); \n return Array.from({ length: 12 }, (_, i) => { \n const d = new Date(base); \n d.setMonth(i); \n return d.toLocaleString(localeValue.value, { month: 'long' }); \n }); \n}); \n \nconst yearOptions = computed(() => { \n const min = props.minDate?.getFullYear() ?? anchorDate.value.getFullYear() - 10; \n const max = props.maxDate?.getFullYear() ?? anchorDate.value.getFullYear() + 10; \n const list: number[] = []; \n for (let y = min; y <= max; y++) list.push(y); \n return list; \n}); \n \nconst selectedMonth = computed({ \n get: () => anchorDate.value.getMonth(), \n set: (mm: number) => { \n const d = new Date(anchorDate.value); \n d.setDate(1); \n d.setMonth(mm); \n anchorDate.value = firstOfMonth(d); \n daysForwardShown.value = Math.max(props.daysToShow, daysInMonth(anchorDate.value)); \n emit('update:modelValue', anchorDate.value); \n afterNavigate(); \n }, \n}); \n \nconst selectedYear = computed({ \n get: () => anchorDate.value.getFullYear(), \n set: (yy: number) => { \n const d = new Date(anchorDate.value); \n d.setFullYear(yy); \n anchorDate.value = firstOfMonth(d); \n daysForwardShown.value = Math.max(props.daysToShow, daysInMonth(anchorDate.value)); \n emit('update:modelValue', anchorDate.value); \n afterNavigate(); \n }, \n}); \n</script>\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAoIA,MAAM,MAAM,sBAAA,eAAe;EAW3B,MAAM,QAAQ;EA0Bd,MAAM,OAAO;EAQb,MAAM,gBAAgB,MAAY,IAAI,KAAK,EAAE,aAAa,EAAE,EAAE,UAAU,EAAE,EAAE;EAC5E,MAAM,eAAe,MAAY,IAAI,KAAK,EAAE,aAAa,EAAE,EAAE,UAAU,GAAG,GAAG,EAAE,CAAC,SAAS;EAEzF,MAAM,cAAA,GAAA,IAAA,KAAiB,aAAa,IAAI,KAAK,MAAM,WAAW,CAAC,CAAC;EAChE,MAAM,oBAAA,GAAA,IAAA,KAAuB,KAAK,IAAI,MAAM,YAAY,YAAY,WAAW,MAAM,CAAC,CAAC;EAEvF,CAAA,GAAA,IAAA,aAAY,MAAM,aAAa,MAAM;GACjC,IAAI,CAAC,GAAG;GACR,MAAM,IAAI,aAAa,IAAI,KAAK,EAAE,CAAC;GACnC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MAAO,SAAM,MAAA,GAAA,IAAA,YAAA,GAAA,GAAA,IAAA,oBAAwB,OAAvD,YAAuD,KAAA,GAAA,IAAA,oBAAA,IAAA,KAAA;;;yBAcxC,6BAAA,SAAA;KAVA,QAAA,GAAA,IAAA,OAAO,WAAU;KAAG,QAAA,GAAA,IAAA,iBAAA,GAAA,IAAA,OAAO,aAAY,CAAA;KAAG,YAAY;uCAKzDA,KAAAA,OAAM,mBAAA;WAAoB;2BAGhC,EAH2C,OAAO,aAAM,EAAA,GAAA,IAAA,oBAGxD,OAAA,EAFA,QAAA,GAAA,IAAA,iBAAA,GAAA,IAAA,OAAO,wBAAA,yBAAwB,CAAA,EAAA,EAAA,EAAA,GAAA,IAAA,YAC4B,KAAA,QAAA,iBAAA;MAA1B;MAAgB"}
@@ -5,7 +5,8 @@ import { useEventHover } from "../../../composables/useEventHover.mjs";
5
5
  import CalendarEventTooltip_default from "./CalendarEventTooltip.mjs";
6
6
  import CalendarHeader_default from "./CalendarHeader.mjs";
7
7
  import { toCssLength } from "../../../utils/cssLength.mjs";
8
- import { Fragment, computed, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, nextTick, normalizeClass, normalizeStyle, onMounted, openBlock, ref, renderList, renderSlot, toDisplayString, unref, watch, withCtx } from "vue";
8
+ import { CALENDAR_TOOLTIP_SURFACE } from "../../../utils/calendarTooltip.mjs";
9
+ import { Fragment, computed, createCommentVNode, createElementBlock, createElementVNode, createSlots, createTextVNode, createVNode, defineComponent, nextTick, normalizeClass, normalizeStyle, onMounted, openBlock, ref, renderList, renderSlot, toDisplayString, unref, watch, withCtx } from "vue";
9
10
  import gsap from "gsap";
10
11
  //#region src/components/data-display/calendar/AgendaView.vue?vue&type=script&setup=true&lang.ts
11
12
  var _hoisted_1 = {
@@ -599,13 +600,14 @@ var AgendaView_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ def
599
600
  state: unref(hoverState),
600
601
  style: normalizeStyle(unref(tooltipStyle)),
601
602
  formatTime: formatEventTime
602
- }, {
603
- default: withCtx(({ event, allDay }) => [renderSlot(_ctx.$slots, "event-tooltip", {
603
+ }, createSlots({ _: 2 }, [_ctx.$slots["event-tooltip"] ? {
604
+ name: "default",
605
+ fn: withCtx(({ event, allDay }) => [createElementVNode("div", { class: normalizeClass(unref(CALENDAR_TOOLTIP_SURFACE)) }, [renderSlot(_ctx.$slots, "event-tooltip", {
604
606
  event,
605
607
  allDay
606
- })]),
607
- _: 3
608
- }, 8, ["state", "style"])
608
+ })], 2)]),
609
+ key: "0"
610
+ } : void 0]), 1032, ["state", "style"])
609
611
  ], 38);
610
612
  };
611
613
  }
@@ -1 +1 @@
1
- {"version":3,"file":"AgendaView.vue_vue_type_script_setup_true_lang.mjs","names":[],"sources":["../../../../src/components/data-display/calendar/AgendaView.vue"],"sourcesContent":["<template> \n <div \n ref=\"rootRef\" \n tabindex=\"-1\" \n :class=\"['relative flex flex-col bg-card overflow-hidden focus:outline-none', containerRadiusClass, bordered ? 'border border-border' : '']\" \n :style=\"{ maxHeight: toCssLength(maxHeight) }\"\n @keydown=\"handleKeydown\" \n > \n <slot name=\"header\" :label=\"headerLabel\" :goToToday=\"handleToday\" :prev=\"handlePrev\" :next=\"handleNext\" :prevYear=\"handlePrevYear\" :nextYear=\"handleNextYear\"> \n <CalendarHeader \n :label=\"headerLabel\" \n :showHeader=\"showHeader\" \n :showYearJump=\"showYearNavigation\" \n :showTodayButton=\"showTodayButton\" \n :showMonthYearSelects=\"showMonthYearSelects\" \n :monthOptions=\"monthOptions\" \n :yearOptions=\"yearOptions\" \n v-model:selectedMonth=\"selectedMonth\" \n v-model:selectedYear=\"selectedYear\" \n :color=\"resolvedColor\" \n :focusRingColorClass=\"focusRingColorClass\" \n :todayTextClass=\"todayTextClass\" \n :todayRadiusClass=\"pillRadiusClass\" \n :dayNameCaseClass=\"dayNameCaseClass\" \n @prev=\"handlePrev\" \n @next=\"handleNext\" \n @prevYear=\"handlePrevYear\" \n @nextYear=\"handleNextYear\" \n @today=\"handleToday\" \n /> \n </slot> \n \n <div ref=\"scrollRef\" class=\"flex-1 overflow-y-auto\" @scroll=\"onScroll\"> \n <div v-if=\"!groups.length\" class=\"flex-1 flex items-center justify-center py-12 text-sm text-muted-foreground\"> \n <slot name=\"empty\">{{ emptyText ?? loc.agenda.empty }}</slot> \n </div> \n \n <template v-for=\"(g, gi) in groups\" :key=\"g.key\"> \n <div \n v-if=\"showMonthSeparator && g.showMonthHeader\" \n class=\"sticky top-0 z-20 bg-card/95 backdrop-blur px-4 py-2 text-[11px] font-semibold uppercase tracking-wider text-muted-foreground border-b border-border\" \n > \n {{ g.monthLabel }} \n </div> \n \n <div \n :data-dkey=\"g.key\" \n :class=\"[ \n 'grid border-b border-border transition-colors', \n g.isToday ? 'bg-muted/40' : '', \n g.disabled ? 'opacity-60' : '', \n ]\" \n style=\"grid-template-columns: 5rem 1fr;\" \n > \n <div class=\"flex flex-col items-center justify-start py-4 border-r border-border\"> \n <slot name=\"day-header\" :date=\"g.date\" :isToday=\"g.isToday\" :events=\"g.events\"> \n <span :class=\"['text-[10px] font-medium tracking-wider text-muted-foreground', dayNameCaseClass]\">{{ g.weekdayLabel }}</span> \n <span \n :class=\"[ \n 'mt-1 inline-flex items-center justify-center text-base font-semibold w-9 h-9', \n pillRadiusClass, \n g.isToday ? [todayBgClass] : 'text-foreground', \n ]\" \n >{{ g.day }}</span> \n <span v-if=\"isHighlightedDate(g.date)\" :class=\"['mt-1 w-1 h-1 rounded-full', highlightDotClass]\"></span> \n </slot> \n </div> \n \n <div class=\"py-2 px-3\"> \n <div v-if=\"!g.events.length\" class=\"py-2 text-xs text-muted-foreground/60 italic\"> \n No events \n </div> \n <div v-else class=\"flex flex-col\"> \n <button \n v-for=\"ev in g.events\" \n :key=\"`${g.key}-${ev.id}`\" \n :data-eid=\"ev.id\" \n type=\"button\" \n @click=\"handleEventClick(ev, $event)\" \n @mouseenter=\"onEventEnter(ev, !!ev.allDay, $event)\" \n @mousemove=\"onEventMove\" \n @mouseleave=\"onEventLeave\" \n :class=\"['group flex items-start gap-3 py-2 px-2 -mx-2 cursor-pointer transition-colors hover:bg-muted/70 text-left focus:outline-none focus-visible:ring-2 focus-visible:ring-ring', eventRadiusClass]\" \n > \n <span class=\"shrink-0 w-16 pt-0.5 text-[11px] font-medium text-muted-foreground tabular-nums\"> \n <template v-if=\"ev.allDay\">All day</template> \n <template v-else>{{ formatEventTime(ev.start) }}</template> \n </span> \n <span \n class=\"shrink-0 mt-1.5 w-2 h-2\" \n :style=\"ev.colorHex ? { backgroundColor: ev.colorHex } : undefined\" \n :class=\"[pillRadiusClass, !ev.colorHex ? dotColorClass(ev.color) : '']\" \n ></span> \n <span class=\"flex-1 min-w-0\"> \n <slot name=\"event\" :event=\"ev\"> \n <span class=\"block text-sm font-medium text-foreground truncate\">{{ ev.title }}</span> \n <span v-if=\"!ev.allDay && ev.end\" class=\"block text-[11px] text-muted-foreground\"> \n {{ formatEventTime(ev.start) }} – {{ formatEventTime(ev.end) }} \n </span> \n <span v-if=\"ev.description\" class=\"block text-xs text-muted-foreground truncate mt-0.5\">{{ ev.description }}</span> \n </slot> \n </span> \n <span v-if=\"ev.readonly\" class=\"shrink-0 mt-0.5 text-[9px] uppercase tracking-wider text-muted-foreground border border-border px-1 rounded\">Locked</span> \n </button> \n </div> \n </div> \n </div> \n <div v-if=\"gi === groups.length - 1\" class=\"h-1\"></div> \n </template> \n </div> \n \n <CalendarEventTooltip :state=\"hoverState\" :style=\"tooltipStyle\" :formatTime=\"formatEventTime\"> \n <template #default=\"{ event, allDay }\"> \n <slot name=\"event-tooltip\" :event=\"event\" :allDay=\"allDay\" /> \n </template> \n </CalendarEventTooltip> \n </div> \n</template> \n \n<script setup lang=\"ts\"> \nimport { ref, computed, watch, nextTick, onMounted } from 'vue'; \nimport gsap from 'gsap'; \nimport { isSameDay, startOfDay } from '../../../composables/useCalendar'; \nimport { useCalendarTheme } from '../../../composables/useCalendarTheme'; \nimport { useModoLocale } from '../../../composables/useModoConfig'; \n \nconst loc = useModoLocale(); \nimport { useEventHover } from '../../../composables/useEventHover'; \nimport CalendarEventTooltip from './CalendarEventTooltip.vue'; \nimport CalendarHeader from './CalendarHeader.vue'; \nimport type { AgendaView } from '../../../interfaces/data-display/calendar/AgendaView.interface'; \nimport type { CalendarEvent } from '../../../interfaces/data-display/calendar/MonthView.interface'; \n \nimport { toCssLength } from '../../../utils/cssLength';\n\nconst props = withDefaults(defineProps<AgendaView>(), { \n modelValue: () => new Date(), \n events: () => [], \n locale: 'default', \n color: 'default', \n bordered: true, \n daysToShow: 30, \n daysBefore: 0, \n showEmptyDays: false, \n showHeader: true, \n showMonthSeparator: true, \n showYearNavigation: false, \n showMonthYearSelects: false, \n showTodayButton: true, \n dayNameFormat: 'short', \n dayNameCase: 'upper', \n format: '24h', \n readonly: false, \n highlightedDates: () => [], \n disabledDates: () => [], \n disabledWeekdays: () => [], \n // emptyText resolves against locale when not provided. \n loadMoreChunk: 30, \n enableKeyboardNavigation: true, \n}); \n \nconst emit = defineEmits<{ \n 'update:modelValue': [date: Date]; \n 'event-click': [event: CalendarEvent, nativeEvent: MouseEvent]; \n 'day-click': [date: Date, events: CalendarEvent[], nativeEvent: MouseEvent]; \n 'create-event': [date: Date, allDay: boolean, nativeEvent: MouseEvent | KeyboardEvent]; \n 'load-more': [direction: 'forward' | 'backward']; \n}>(); \n \nconst firstOfMonth = (d: Date) => new Date(d.getFullYear(), d.getMonth(), 1); \nconst daysInMonth = (d: Date) => new Date(d.getFullYear(), d.getMonth() + 1, 0).getDate(); \n \nconst anchorDate = ref(firstOfMonth(new Date(props.modelValue))); \nconst daysForwardShown = ref(Math.max(props.daysToShow, daysInMonth(anchorDate.value))); \n \nwatch(() => props.modelValue, (v) => { \n if (!v) return; \n const f = firstOfMonth(new Date(v)); \n if (f.getTime() === anchorDate.value.getTime()) return; \n anchorDate.value = f; \n daysForwardShown.value = Math.max(props.daysToShow, daysInMonth(f)); \n}); \nwatch(() => props.daysToShow, (n) => { daysForwardShown.value = Math.max(n, daysInMonth(anchorDate.value)); }); \n \nconst rootRef = ref<HTMLElement | null>(null); \nconst scrollRef = ref<HTMLElement | null>(null); \nconst today = new Date(); \n \nconst { hoverState, onEventEnter, onEventMove, onEventLeave, tooltipStyle } = useEventHover<CalendarEvent>(); \n \nconst formatEventTime = (d: Date) => { \n const locale = props.locale === 'default' ? undefined : props.locale; \n return d.toLocaleTimeString(locale, { hour: '2-digit', minute: '2-digit', hour12: props.format === '12h' }); \n}; \n \nconst isHighlightedDate = (d: Date) => props.highlightedDates.some(h => isSameDay(h, d)); \nconst isDisabledDate = (d: Date) => props.disabledDates.some(x => isSameDay(x, d)); \nconst isDisabledWeekday = (d: Date) => props.disabledWeekdays.includes(d.getDay()); \nconst isDayDisabled = (d: Date) => { \n if (props.minDate && startOfDay(d) < startOfDay(props.minDate)) return true; \n if (props.maxDate && startOfDay(d) > startOfDay(props.maxDate)) return true; \n return isDisabledDate(d) || isDisabledWeekday(d); \n}; \n \ninterface DayGroup { \n key: string; \n date: Date; \n day: number; \n weekdayLabel: string; \n monthLabel: string; \n showMonthHeader: boolean; \n isToday: boolean; \n disabled: boolean; \n events: CalendarEvent[]; \n} \n \nconst rangeDates = computed<Date[]>(() => { \n const anchor = anchorDate.value; \n const list: Date[] = []; \n for (let i = 0; i < daysForwardShown.value; i++) { \n const d = new Date(anchor); \n d.setDate(d.getDate() + i); \n const sod = startOfDay(d); \n if (props.minDate && sod < startOfDay(props.minDate)) continue; \n if (props.maxDate && sod > startOfDay(props.maxDate)) continue; \n list.push(sod); \n } \n return list; \n}); \n \nconst eventsByDay = computed<Map<string, CalendarEvent[]>>(() => { \n const map = new Map<string, CalendarEvent[]>(); \n for (const ev of props.events) { \n const s = startOfDay(ev.start); \n const e = startOfDay(ev.end ?? ev.start); \n const d = new Date(s); \n while (d.getTime() <= e.getTime()) { \n const k = d.toDateString(); \n if (!map.has(k)) map.set(k, []); \n map.get(k)!.push(ev); \n d.setDate(d.getDate() + 1); \n } \n } \n for (const list of map.values()) { \n list.sort((a, b) => { \n if (a.allDay && !b.allDay) return -1; \n if (!a.allDay && b.allDay) return 1; \n return a.start.getTime() - b.start.getTime(); \n }); \n } \n return map; \n}); \n \nconst isoKey = (d: Date) => `${d.getFullYear()}-${String(d.getMonth() + 1).padStart(2, '0')}-${String(d.getDate()).padStart(2, '0')}`; \nconst parseIsoKey = (s: string): Date | null => { \n const m = s.match(/^(\\d{4})-(\\d{2})-(\\d{2})$/); \n if (!m) return null; \n return new Date(parseInt(m[1]), parseInt(m[2]) - 1, parseInt(m[3])); \n}; \n \nconst groups = computed<DayGroup[]>(() => { \n const locale = props.locale === 'default' ? undefined : props.locale; \n const result: DayGroup[] = []; \n let lastMonthKey = ''; \n for (const date of rangeDates.value) { \n const key = isoKey(date); \n const evts = eventsByDay.value.get(date.toDateString()) ?? []; \n if (!props.showEmptyDays && !evts.length) continue; \n const monthKey = `${date.getFullYear()}-${date.getMonth()}`; \n const showMonthHeader = monthKey !== lastMonthKey; \n lastMonthKey = monthKey; \n result.push({ \n key, \n date, \n day: date.getDate(), \n weekdayLabel: date.toLocaleDateString(locale, { weekday: props.dayNameFormat }), \n monthLabel: date.toLocaleDateString(locale, { month: 'long', year: 'numeric' }), \n showMonthHeader, \n isToday: isSameDay(date, today), \n disabled: isDayDisabled(date), \n events: evts, \n }); \n } \n return result; \n}); \n \nconst headerLabel = computed(() => { \n const locale = props.locale === 'default' ? undefined : props.locale; \n const d = visibleDate.value ?? anchorDate.value; \n return d.toLocaleDateString(locale, { month: 'long', year: 'numeric' }); \n}); \n \nconst handleEventClick = (ev: CalendarEvent, e: MouseEvent) => { \n emit('event-click', ev, e); \n}; \n \nconst afterNavigate = (scrollTarget?: Date, animateScroll = false) => { \n nextTick(() => { \n if (!scrollRef.value || !rootRef.value) { animateIn(); return; } \n const scEl = scrollRef.value; \n let target = 0; \n if (scrollTarget) { \n const key = isoKey(startOfDay(scrollTarget)); \n const el = rootRef.value.querySelector<HTMLElement>(`[data-dkey=\"${key}\"]`); \n if (el) { \n const scRect = scEl.getBoundingClientRect(); \n const elRect = el.getBoundingClientRect(); \n target = scEl.scrollTop + (elRect.top - scRect.top) - 12; \n } \n } \n if (animateScroll && target > 0) { \n scEl.scrollTop = 0; \n animateIn(); \n gsap.to(scEl, { scrollTop: target, duration: 0.7, ease: 'power3.inOut', delay: 0.15 }); \n } else { \n scEl.scrollTop = target; \n animateIn(); \n } \n visibleDate.value = anchorDate.value; \n }); \n}; \nconst handlePrev = () => { \n const d = new Date(anchorDate.value); \n d.setMonth(d.getMonth() - 1); \n anchorDate.value = firstOfMonth(d); \n daysForwardShown.value = Math.max(props.daysToShow, daysInMonth(anchorDate.value)); \n emit('update:modelValue', anchorDate.value); \n afterNavigate(); \n}; \nconst handleNext = () => { \n const d = new Date(anchorDate.value); \n d.setMonth(d.getMonth() + 1); \n anchorDate.value = firstOfMonth(d); \n daysForwardShown.value = Math.max(props.daysToShow, daysInMonth(anchorDate.value)); \n emit('update:modelValue', anchorDate.value); \n afterNavigate(); \n}; \nconst handleToday = () => { \n const n = new Date(); \n const wasCurrentMonth = firstOfMonth(n).getTime() === anchorDate.value.getTime(); \n anchorDate.value = firstOfMonth(n); \n daysForwardShown.value = Math.max(props.daysToShow, daysInMonth(anchorDate.value)); \n emit('update:modelValue', anchorDate.value); \n afterNavigate(n, !wasCurrentMonth); \n if (wasCurrentMonth && scrollRef.value && rootRef.value) { \n nextTick(() => { \n const key = isoKey(startOfDay(n)); \n const el = rootRef.value!.querySelector<HTMLElement>(`[data-dkey=\"${key}\"]`); \n if (!el) return; \n const scRect = scrollRef.value!.getBoundingClientRect(); \n const elRect = el.getBoundingClientRect(); \n const target = scrollRef.value!.scrollTop + (elRect.top - scRect.top) - 12; \n gsap.to(scrollRef.value!, { scrollTop: target, duration: 0.6, ease: 'power3.inOut' }); \n }); \n } \n}; \nconst handlePrevYear = () => { \n const d = new Date(anchorDate.value); \n d.setFullYear(d.getFullYear() - 1); \n anchorDate.value = firstOfMonth(d); \n daysForwardShown.value = Math.max(props.daysToShow, daysInMonth(anchorDate.value)); \n emit('update:modelValue', anchorDate.value); \n afterNavigate(); \n}; \nconst handleNextYear = () => { \n const d = new Date(anchorDate.value); \n d.setFullYear(d.getFullYear() + 1); \n anchorDate.value = firstOfMonth(d); \n daysForwardShown.value = Math.max(props.daysToShow, daysInMonth(anchorDate.value)); \n emit('update:modelValue', anchorDate.value); \n afterNavigate(); \n}; \n \nconst animateIn = () => { \n if (!rootRef.value) return; \n const els = rootRef.value.querySelectorAll<HTMLElement>('[data-dkey]'); \n if (!els.length) return; \n gsap.fromTo( \n els, \n { opacity: 0, y: 8 }, \n { opacity: 1, y: 0, duration: 0.35, ease: 'power2.out', stagger: { amount: 0.2 } } \n ); \n}; \n \nlet loadingMore = false; \nconst visibleDate = ref<Date | null>(null); \nconst canExtend = () => { \n if (!props.maxDate) return true; \n const last = rangeDates.value[rangeDates.value.length - 1]; \n return !(last && startOfDay(last) >= startOfDay(props.maxDate)); \n}; \nconst onScroll = () => { \n if (!scrollRef.value) return; \n const el = scrollRef.value; \n if (rootRef.value) { \n const scRect = el.getBoundingClientRect(); \n const headers = rootRef.value.querySelectorAll<HTMLElement>('[data-dkey]'); \n let pick: Date | null = null; \n for (const h of headers) { \n const r = h.getBoundingClientRect(); \n if (r.bottom > scRect.top + 8) { \n const k = h.getAttribute('data-dkey'); \n if (k) pick = parseIsoKey(k); \n break; \n } \n } \n if (pick) visibleDate.value = pick; \n } \n if (loadingMore) return; \n const remaining = el.scrollHeight - (el.scrollTop + el.clientHeight); \n if (remaining < 120) { \n if (!canExtend()) return; \n loadingMore = true; \n daysForwardShown.value += props.loadMoreChunk; \n emit('load-more', 'forward'); \n setTimeout(() => { loadingMore = false; }, 120); \n } \n}; \n \nconst handleKeydown = (e: KeyboardEvent) => { \n if (!props.enableKeyboardNavigation) return; \n const target = e.target as HTMLElement; \n if (target.tagName === 'SELECT' || target.tagName === 'INPUT') return; \n if (e.key === 'ArrowLeft' || e.key === 'PageUp') { e.preventDefault(); handlePrev(); } \n else if (e.key === 'ArrowRight' || e.key === 'PageDown') { e.preventDefault(); handleNext(); } \n else if (e.key.toLowerCase() === 't') { e.preventDefault(); handleToday(); } \n}; \n \nonMounted(() => { \n nextTick(() => { \n visibleDate.value = anchorDate.value; \n animateIn(); \n if (scrollRef.value && rootRef.value) { \n const todayMonth = firstOfMonth(today); \n if (todayMonth.getTime() === anchorDate.value.getTime()) { \n const key = isoKey(startOfDay(today)); \n const el = rootRef.value.querySelector<HTMLElement>(`[data-dkey=\"${key}\"]`); \n if (el) { \n const scEl = scrollRef.value; \n const scRect = scEl.getBoundingClientRect(); \n const elRect = el.getBoundingClientRect(); \n const target = scEl.scrollTop + (elRect.top - scRect.top) - 12; \n if (target > 0) { \n gsap.to(scEl, { scrollTop: target, duration: 0.9, ease: 'power3.inOut', delay: 0.25 }); \n } \n } \n } \n } \n }); \n}); \n \ndefineExpose({ \n scrollToDate(date: Date) { \n nextTick(() => { \n if (!scrollRef.value || !rootRef.value) return; \n const key = isoKey(startOfDay(date)); \n const el = rootRef.value.querySelector<HTMLElement>(`[data-dkey=\"${key}\"]`); \n if (!el) return; \n const scRect = scrollRef.value.getBoundingClientRect(); \n const elRect = el.getBoundingClientRect(); \n const target = scrollRef.value.scrollTop + (elRect.top - scRect.top) - 12; \n gsap.to(scrollRef.value, { scrollTop: target, duration: 0.45, ease: 'power3.inOut' }); \n }); \n }, \n}); \n \nconst { todayTextClass, dayNameCaseClass, focusRingColorClass, highlightDotClass, containerRadiusClass, eventRadiusClass, pillRadiusClass, todayBgClass, resolvedColor } = useCalendarTheme({ \n color: () => props.color, \n radius: () => props.radius, \n dayNameCase: () => props.dayNameCase, \n}); \n \nconst DOT_THEMED: Record<string, string> = { \n default: 'bg-muted-foreground', \n primary: 'bg-primary', \n danger: 'bg-destructive', \n success: 'bg-success', \n warning: 'bg-warning', \n}; \nconst DOT_SEMANTIC: Record<string, string> = { \n info: 'bg-info', \n purple: 'bg-purple', \n pink: 'bg-pink', \n}; \nconst dotColorClass = (c?: CalendarEvent['color']) => { \n if (!c) return DOT_THEMED.default; \n return DOT_THEMED[c] ?? DOT_SEMANTIC[c] ?? DOT_THEMED.default; \n}; \n \nconst localeValue = computed(() => (props.locale === 'default' ? undefined : props.locale)); \n \nconst monthOptions = computed(() => { \n const base = new Date(2024, 0, 1); \n return Array.from({ length: 12 }, (_, i) => { \n const d = new Date(base); \n d.setMonth(i); \n return d.toLocaleString(localeValue.value, { month: 'long' }); \n }); \n}); \n \nconst yearOptions = computed(() => { \n const min = props.minDate?.getFullYear() ?? anchorDate.value.getFullYear() - 10; \n const max = props.maxDate?.getFullYear() ?? anchorDate.value.getFullYear() + 10; \n const list: number[] = []; \n for (let y = min; y <= max; y++) list.push(y); \n return list; \n}); \n \nconst selectedMonth = computed({ \n get: () => anchorDate.value.getMonth(), \n set: (mm: number) => { \n const d = new Date(anchorDate.value); \n d.setDate(1); \n d.setMonth(mm); \n anchorDate.value = firstOfMonth(d); \n daysForwardShown.value = Math.max(props.daysToShow, daysInMonth(anchorDate.value)); \n emit('update:modelValue', anchorDate.value); \n afterNavigate(); \n }, \n}); \n \nconst selectedYear = computed({ \n get: () => anchorDate.value.getFullYear(), \n set: (yy: number) => { \n const d = new Date(anchorDate.value); \n d.setFullYear(yy); \n anchorDate.value = firstOfMonth(d); \n daysForwardShown.value = Math.max(props.daysToShow, daysInMonth(anchorDate.value)); \n emit('update:modelValue', anchorDate.value); \n afterNavigate(); \n }, \n}); \n</script>\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA8HA,MAAM,MAAM,eAAe;EAS3B,MAAM,QAAQ;EA0Bd,MAAM,OAAO;EAQb,MAAM,gBAAgB,MAAY,IAAI,KAAK,EAAE,aAAa,EAAE,E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,aAEO,gBADA,gBAAgB,GAAG,MAAK,CAAA,GAAI,QAAG,gBAAG,gBAAgB,GAAG,IAAG,CAAA,EAAA,EAAA,IAAA,mBAAA,IAAA,KAAA;SAEnD,GAAG,eAAA,WAAA,EAAf,mBAAmH,QAAnH,aAAmH,gBAAxB,GAAG,YAAW,EAAA,EAAA,IAAA,mBAAA,IAAA,KAAA;;QAGrG,GAAG,YAAA,WAAA,EAAf,mBAA0J,QAA1J,aAA6I,SAAM,IAAA,mBAAA,IAAA,KAAA;;;MAKxJ,OAAO,OAAA,MAAO,SAAM,KAAA,WAAA,EAA/B,mBAAuD,OAAvD,YAAuD,IAAA,mBAAA,IAAA,KAAA;;;IAI/D,YAIuB,8BAAA;KAJA,OAAO,MAAA,WAAU;KAAG,OAAK,eAAE,MAAA,aAAY,CAAA;KAAG,YAAY;;KAC9D,SAAO,SAC+C,EAD3C,OAAO,aAAM,CAC/B,WAA6D,KAAA,QAAA,iBAAA;MAA1B;MAAgB"}
1
+ {"version":3,"file":"AgendaView.vue_vue_type_script_setup_true_lang.mjs","names":["$slots"],"sources":["../../../../src/components/data-display/calendar/AgendaView.vue"],"sourcesContent":["<template> \n <div \n ref=\"rootRef\" \n tabindex=\"-1\" \n :class=\"['relative flex flex-col bg-card overflow-hidden focus:outline-none', containerRadiusClass, bordered ? 'border border-border' : '']\" \n :style=\"{ maxHeight: toCssLength(maxHeight) }\"\n @keydown=\"handleKeydown\" \n > \n <slot name=\"header\" :label=\"headerLabel\" :goToToday=\"handleToday\" :prev=\"handlePrev\" :next=\"handleNext\" :prevYear=\"handlePrevYear\" :nextYear=\"handleNextYear\"> \n <CalendarHeader \n :label=\"headerLabel\" \n :showHeader=\"showHeader\" \n :showYearJump=\"showYearNavigation\" \n :showTodayButton=\"showTodayButton\" \n :showMonthYearSelects=\"showMonthYearSelects\" \n :monthOptions=\"monthOptions\" \n :yearOptions=\"yearOptions\" \n v-model:selectedMonth=\"selectedMonth\" \n v-model:selectedYear=\"selectedYear\" \n :color=\"resolvedColor\" \n :focusRingColorClass=\"focusRingColorClass\" \n :todayTextClass=\"todayTextClass\" \n :todayRadiusClass=\"pillRadiusClass\" \n :dayNameCaseClass=\"dayNameCaseClass\" \n @prev=\"handlePrev\" \n @next=\"handleNext\" \n @prevYear=\"handlePrevYear\" \n @nextYear=\"handleNextYear\" \n @today=\"handleToday\" \n /> \n </slot> \n \n <div ref=\"scrollRef\" class=\"flex-1 overflow-y-auto\" @scroll=\"onScroll\"> \n <div v-if=\"!groups.length\" class=\"flex-1 flex items-center justify-center py-12 text-sm text-muted-foreground\"> \n <slot name=\"empty\">{{ emptyText ?? loc.agenda.empty }}</slot> \n </div> \n \n <template v-for=\"(g, gi) in groups\" :key=\"g.key\"> \n <div \n v-if=\"showMonthSeparator && g.showMonthHeader\" \n class=\"sticky top-0 z-20 bg-card/95 backdrop-blur px-4 py-2 text-[11px] font-semibold uppercase tracking-wider text-muted-foreground border-b border-border\" \n > \n {{ g.monthLabel }} \n </div> \n \n <div \n :data-dkey=\"g.key\" \n :class=\"[ \n 'grid border-b border-border transition-colors', \n g.isToday ? 'bg-muted/40' : '', \n g.disabled ? 'opacity-60' : '', \n ]\" \n style=\"grid-template-columns: 5rem 1fr;\" \n > \n <div class=\"flex flex-col items-center justify-start py-4 border-r border-border\"> \n <slot name=\"day-header\" :date=\"g.date\" :isToday=\"g.isToday\" :events=\"g.events\"> \n <span :class=\"['text-[10px] font-medium tracking-wider text-muted-foreground', dayNameCaseClass]\">{{ g.weekdayLabel }}</span> \n <span \n :class=\"[ \n 'mt-1 inline-flex items-center justify-center text-base font-semibold w-9 h-9', \n pillRadiusClass, \n g.isToday ? [todayBgClass] : 'text-foreground', \n ]\" \n >{{ g.day }}</span> \n <span v-if=\"isHighlightedDate(g.date)\" :class=\"['mt-1 w-1 h-1 rounded-full', highlightDotClass]\"></span> \n </slot> \n </div> \n \n <div class=\"py-2 px-3\"> \n <div v-if=\"!g.events.length\" class=\"py-2 text-xs text-muted-foreground/60 italic\"> \n No events \n </div> \n <div v-else class=\"flex flex-col\"> \n <button \n v-for=\"ev in g.events\" \n :key=\"`${g.key}-${ev.id}`\" \n :data-eid=\"ev.id\" \n type=\"button\" \n @click=\"handleEventClick(ev, $event)\" \n @mouseenter=\"onEventEnter(ev, !!ev.allDay, $event)\" \n @mousemove=\"onEventMove\" \n @mouseleave=\"onEventLeave\" \n :class=\"['group flex items-start gap-3 py-2 px-2 -mx-2 cursor-pointer transition-colors hover:bg-muted/70 text-left focus:outline-none focus-visible:ring-2 focus-visible:ring-ring', eventRadiusClass]\" \n > \n <span class=\"shrink-0 w-16 pt-0.5 text-[11px] font-medium text-muted-foreground tabular-nums\"> \n <template v-if=\"ev.allDay\">All day</template> \n <template v-else>{{ formatEventTime(ev.start) }}</template> \n </span> \n <span \n class=\"shrink-0 mt-1.5 w-2 h-2\" \n :style=\"ev.colorHex ? { backgroundColor: ev.colorHex } : undefined\" \n :class=\"[pillRadiusClass, !ev.colorHex ? dotColorClass(ev.color) : '']\" \n ></span> \n <span class=\"flex-1 min-w-0\"> \n <slot name=\"event\" :event=\"ev\"> \n <span class=\"block text-sm font-medium text-foreground truncate\">{{ ev.title }}</span> \n <span v-if=\"!ev.allDay && ev.end\" class=\"block text-[11px] text-muted-foreground\"> \n {{ formatEventTime(ev.start) }} – {{ formatEventTime(ev.end) }} \n </span> \n <span v-if=\"ev.description\" class=\"block text-xs text-muted-foreground truncate mt-0.5\">{{ ev.description }}</span> \n </slot> \n </span> \n <span v-if=\"ev.readonly\" class=\"shrink-0 mt-0.5 text-[9px] uppercase tracking-wider text-muted-foreground border border-border px-1 rounded\">Locked</span> \n </button> \n </div> \n </div> \n </div> \n <div v-if=\"gi === groups.length - 1\" class=\"h-1\"></div> \n </template> \n </div> \n \n <CalendarEventTooltip :state=\"hoverState\" :style=\"tooltipStyle\" :formatTime=\"formatEventTime\"> \n <!--\n A provided slot replaces the built-in card, so it gets the surface\n here; with no slot the fallback content keeps rendering its own.\n -->\n <template v-if=\"$slots['event-tooltip']\" #default=\"{ event, allDay }\">\n <div :class=\"CALENDAR_TOOLTIP_SURFACE\">\n <slot name=\"event-tooltip\" :event=\"event\" :allDay=\"allDay\" />\n </div>\n </template>\n </CalendarEventTooltip> \n </div> \n</template> \n \n<script setup lang=\"ts\"> \nimport { ref, computed, watch, nextTick, onMounted } from 'vue'; \nimport gsap from 'gsap'; \nimport { isSameDay, startOfDay } from '../../../composables/useCalendar'; \nimport { useCalendarTheme } from '../../../composables/useCalendarTheme'; \nimport { useModoLocale } from '../../../composables/useModoConfig'; \n \nconst loc = useModoLocale(); \nimport { useEventHover } from '../../../composables/useEventHover'; \nimport CalendarEventTooltip from './CalendarEventTooltip.vue'; \nimport CalendarHeader from './CalendarHeader.vue'; \nimport type { AgendaView } from '../../../interfaces/data-display/calendar/AgendaView.interface'; \nimport type { CalendarEvent } from '../../../interfaces/data-display/calendar/MonthView.interface'; \n \nimport { toCssLength } from '../../../utils/cssLength';\n\nimport { CALENDAR_TOOLTIP_SURFACE } from '../../../utils/calendarTooltip';\n\nconst props = withDefaults(defineProps<AgendaView>(), { \n modelValue: () => new Date(), \n events: () => [], \n locale: 'default', \n color: 'default', \n bordered: true, \n daysToShow: 30, \n daysBefore: 0, \n showEmptyDays: false, \n showHeader: true, \n showMonthSeparator: true, \n showYearNavigation: false, \n showMonthYearSelects: false, \n showTodayButton: true, \n dayNameFormat: 'short', \n dayNameCase: 'upper', \n format: '24h', \n readonly: false, \n highlightedDates: () => [], \n disabledDates: () => [], \n disabledWeekdays: () => [], \n // emptyText resolves against locale when not provided. \n loadMoreChunk: 30, \n enableKeyboardNavigation: true, \n}); \n \nconst emit = defineEmits<{ \n 'update:modelValue': [date: Date]; \n 'event-click': [event: CalendarEvent, nativeEvent: MouseEvent]; \n 'day-click': [date: Date, events: CalendarEvent[], nativeEvent: MouseEvent]; \n 'create-event': [date: Date, allDay: boolean, nativeEvent: MouseEvent | KeyboardEvent]; \n 'load-more': [direction: 'forward' | 'backward']; \n}>(); \n \nconst firstOfMonth = (d: Date) => new Date(d.getFullYear(), d.getMonth(), 1); \nconst daysInMonth = (d: Date) => new Date(d.getFullYear(), d.getMonth() + 1, 0).getDate(); \n \nconst anchorDate = ref(firstOfMonth(new Date(props.modelValue))); \nconst daysForwardShown = ref(Math.max(props.daysToShow, daysInMonth(anchorDate.value))); \n \nwatch(() => props.modelValue, (v) => { \n if (!v) return; \n const f = firstOfMonth(new Date(v)); \n if (f.getTime() === anchorDate.value.getTime()) return; \n anchorDate.value = f; \n daysForwardShown.value = Math.max(props.daysToShow, daysInMonth(f)); \n}); \nwatch(() => props.daysToShow, (n) => { daysForwardShown.value = Math.max(n, daysInMonth(anchorDate.value)); }); \n \nconst rootRef = ref<HTMLElement | null>(null); \nconst scrollRef = ref<HTMLElement | null>(null); \nconst today = new Date(); \n \nconst { hoverState, onEventEnter, onEventMove, onEventLeave, tooltipStyle } = useEventHover<CalendarEvent>(); \n \nconst formatEventTime = (d: Date) => { \n const locale = props.locale === 'default' ? undefined : props.locale; \n return d.toLocaleTimeString(locale, { hour: '2-digit', minute: '2-digit', hour12: props.format === '12h' }); \n}; \n \nconst isHighlightedDate = (d: Date) => props.highlightedDates.some(h => isSameDay(h, d)); \nconst isDisabledDate = (d: Date) => props.disabledDates.some(x => isSameDay(x, d)); \nconst isDisabledWeekday = (d: Date) => props.disabledWeekdays.includes(d.getDay()); \nconst isDayDisabled = (d: Date) => { \n if (props.minDate && startOfDay(d) < startOfDay(props.minDate)) return true; \n if (props.maxDate && startOfDay(d) > startOfDay(props.maxDate)) return true; \n return isDisabledDate(d) || isDisabledWeekday(d); \n}; \n \ninterface DayGroup { \n key: string; \n date: Date; \n day: number; \n weekdayLabel: string; \n monthLabel: string; \n showMonthHeader: boolean; \n isToday: boolean; \n disabled: boolean; \n events: CalendarEvent[]; \n} \n \nconst rangeDates = computed<Date[]>(() => { \n const anchor = anchorDate.value; \n const list: Date[] = []; \n for (let i = 0; i < daysForwardShown.value; i++) { \n const d = new Date(anchor); \n d.setDate(d.getDate() + i); \n const sod = startOfDay(d); \n if (props.minDate && sod < startOfDay(props.minDate)) continue; \n if (props.maxDate && sod > startOfDay(props.maxDate)) continue; \n list.push(sod); \n } \n return list; \n}); \n \nconst eventsByDay = computed<Map<string, CalendarEvent[]>>(() => { \n const map = new Map<string, CalendarEvent[]>(); \n for (const ev of props.events) { \n const s = startOfDay(ev.start); \n const e = startOfDay(ev.end ?? ev.start); \n const d = new Date(s); \n while (d.getTime() <= e.getTime()) { \n const k = d.toDateString(); \n if (!map.has(k)) map.set(k, []); \n map.get(k)!.push(ev); \n d.setDate(d.getDate() + 1); \n } \n } \n for (const list of map.values()) { \n list.sort((a, b) => { \n if (a.allDay && !b.allDay) return -1; \n if (!a.allDay && b.allDay) return 1; \n return a.start.getTime() - b.start.getTime(); \n }); \n } \n return map; \n}); \n \nconst isoKey = (d: Date) => `${d.getFullYear()}-${String(d.getMonth() + 1).padStart(2, '0')}-${String(d.getDate()).padStart(2, '0')}`; \nconst parseIsoKey = (s: string): Date | null => { \n const m = s.match(/^(\\d{4})-(\\d{2})-(\\d{2})$/); \n if (!m) return null; \n return new Date(parseInt(m[1]), parseInt(m[2]) - 1, parseInt(m[3])); \n}; \n \nconst groups = computed<DayGroup[]>(() => { \n const locale = props.locale === 'default' ? undefined : props.locale; \n const result: DayGroup[] = []; \n let lastMonthKey = ''; \n for (const date of rangeDates.value) { \n const key = isoKey(date); \n const evts = eventsByDay.value.get(date.toDateString()) ?? []; \n if (!props.showEmptyDays && !evts.length) continue; \n const monthKey = `${date.getFullYear()}-${date.getMonth()}`; \n const showMonthHeader = monthKey !== lastMonthKey; \n lastMonthKey = monthKey; \n result.push({ \n key, \n date, \n day: date.getDate(), \n weekdayLabel: date.toLocaleDateString(locale, { weekday: props.dayNameFormat }), \n monthLabel: date.toLocaleDateString(locale, { month: 'long', year: 'numeric' }), \n showMonthHeader, \n isToday: isSameDay(date, today), \n disabled: isDayDisabled(date), \n events: evts, \n }); \n } \n return result; \n}); \n \nconst headerLabel = computed(() => { \n const locale = props.locale === 'default' ? undefined : props.locale; \n const d = visibleDate.value ?? anchorDate.value; \n return d.toLocaleDateString(locale, { month: 'long', year: 'numeric' }); \n}); \n \nconst handleEventClick = (ev: CalendarEvent, e: MouseEvent) => { \n emit('event-click', ev, e); \n}; \n \nconst afterNavigate = (scrollTarget?: Date, animateScroll = false) => { \n nextTick(() => { \n if (!scrollRef.value || !rootRef.value) { animateIn(); return; } \n const scEl = scrollRef.value; \n let target = 0; \n if (scrollTarget) { \n const key = isoKey(startOfDay(scrollTarget)); \n const el = rootRef.value.querySelector<HTMLElement>(`[data-dkey=\"${key}\"]`); \n if (el) { \n const scRect = scEl.getBoundingClientRect(); \n const elRect = el.getBoundingClientRect(); \n target = scEl.scrollTop + (elRect.top - scRect.top) - 12; \n } \n } \n if (animateScroll && target > 0) { \n scEl.scrollTop = 0; \n animateIn(); \n gsap.to(scEl, { scrollTop: target, duration: 0.7, ease: 'power3.inOut', delay: 0.15 }); \n } else { \n scEl.scrollTop = target; \n animateIn(); \n } \n visibleDate.value = anchorDate.value; \n }); \n}; \nconst handlePrev = () => { \n const d = new Date(anchorDate.value); \n d.setMonth(d.getMonth() - 1); \n anchorDate.value = firstOfMonth(d); \n daysForwardShown.value = Math.max(props.daysToShow, daysInMonth(anchorDate.value)); \n emit('update:modelValue', anchorDate.value); \n afterNavigate(); \n}; \nconst handleNext = () => { \n const d = new Date(anchorDate.value); \n d.setMonth(d.getMonth() + 1); \n anchorDate.value = firstOfMonth(d); \n daysForwardShown.value = Math.max(props.daysToShow, daysInMonth(anchorDate.value)); \n emit('update:modelValue', anchorDate.value); \n afterNavigate(); \n}; \nconst handleToday = () => { \n const n = new Date(); \n const wasCurrentMonth = firstOfMonth(n).getTime() === anchorDate.value.getTime(); \n anchorDate.value = firstOfMonth(n); \n daysForwardShown.value = Math.max(props.daysToShow, daysInMonth(anchorDate.value)); \n emit('update:modelValue', anchorDate.value); \n afterNavigate(n, !wasCurrentMonth); \n if (wasCurrentMonth && scrollRef.value && rootRef.value) { \n nextTick(() => { \n const key = isoKey(startOfDay(n)); \n const el = rootRef.value!.querySelector<HTMLElement>(`[data-dkey=\"${key}\"]`); \n if (!el) return; \n const scRect = scrollRef.value!.getBoundingClientRect(); \n const elRect = el.getBoundingClientRect(); \n const target = scrollRef.value!.scrollTop + (elRect.top - scRect.top) - 12; \n gsap.to(scrollRef.value!, { scrollTop: target, duration: 0.6, ease: 'power3.inOut' }); \n }); \n } \n}; \nconst handlePrevYear = () => { \n const d = new Date(anchorDate.value); \n d.setFullYear(d.getFullYear() - 1); \n anchorDate.value = firstOfMonth(d); \n daysForwardShown.value = Math.max(props.daysToShow, daysInMonth(anchorDate.value)); \n emit('update:modelValue', anchorDate.value); \n afterNavigate(); \n}; \nconst handleNextYear = () => { \n const d = new Date(anchorDate.value); \n d.setFullYear(d.getFullYear() + 1); \n anchorDate.value = firstOfMonth(d); \n daysForwardShown.value = Math.max(props.daysToShow, daysInMonth(anchorDate.value)); \n emit('update:modelValue', anchorDate.value); \n afterNavigate(); \n}; \n \nconst animateIn = () => { \n if (!rootRef.value) return; \n const els = rootRef.value.querySelectorAll<HTMLElement>('[data-dkey]'); \n if (!els.length) return; \n gsap.fromTo( \n els, \n { opacity: 0, y: 8 }, \n { opacity: 1, y: 0, duration: 0.35, ease: 'power2.out', stagger: { amount: 0.2 } } \n ); \n}; \n \nlet loadingMore = false; \nconst visibleDate = ref<Date | null>(null); \nconst canExtend = () => { \n if (!props.maxDate) return true; \n const last = rangeDates.value[rangeDates.value.length - 1]; \n return !(last && startOfDay(last) >= startOfDay(props.maxDate)); \n}; \nconst onScroll = () => { \n if (!scrollRef.value) return; \n const el = scrollRef.value; \n if (rootRef.value) { \n const scRect = el.getBoundingClientRect(); \n const headers = rootRef.value.querySelectorAll<HTMLElement>('[data-dkey]'); \n let pick: Date | null = null; \n for (const h of headers) { \n const r = h.getBoundingClientRect(); \n if (r.bottom > scRect.top + 8) { \n const k = h.getAttribute('data-dkey'); \n if (k) pick = parseIsoKey(k); \n break; \n } \n } \n if (pick) visibleDate.value = pick; \n } \n if (loadingMore) return; \n const remaining = el.scrollHeight - (el.scrollTop + el.clientHeight); \n if (remaining < 120) { \n if (!canExtend()) return; \n loadingMore = true; \n daysForwardShown.value += props.loadMoreChunk; \n emit('load-more', 'forward'); \n setTimeout(() => { loadingMore = false; }, 120); \n } \n}; \n \nconst handleKeydown = (e: KeyboardEvent) => { \n if (!props.enableKeyboardNavigation) return; \n const target = e.target as HTMLElement; \n if (target.tagName === 'SELECT' || target.tagName === 'INPUT') return; \n if (e.key === 'ArrowLeft' || e.key === 'PageUp') { e.preventDefault(); handlePrev(); } \n else if (e.key === 'ArrowRight' || e.key === 'PageDown') { e.preventDefault(); handleNext(); } \n else if (e.key.toLowerCase() === 't') { e.preventDefault(); handleToday(); } \n}; \n \nonMounted(() => { \n nextTick(() => { \n visibleDate.value = anchorDate.value; \n animateIn(); \n if (scrollRef.value && rootRef.value) { \n const todayMonth = firstOfMonth(today); \n if (todayMonth.getTime() === anchorDate.value.getTime()) { \n const key = isoKey(startOfDay(today)); \n const el = rootRef.value.querySelector<HTMLElement>(`[data-dkey=\"${key}\"]`); \n if (el) { \n const scEl = scrollRef.value; \n const scRect = scEl.getBoundingClientRect(); \n const elRect = el.getBoundingClientRect(); \n const target = scEl.scrollTop + (elRect.top - scRect.top) - 12; \n if (target > 0) { \n gsap.to(scEl, { scrollTop: target, duration: 0.9, ease: 'power3.inOut', delay: 0.25 }); \n } \n } \n } \n } \n }); \n}); \n \ndefineExpose({ \n scrollToDate(date: Date) { \n nextTick(() => { \n if (!scrollRef.value || !rootRef.value) return; \n const key = isoKey(startOfDay(date)); \n const el = rootRef.value.querySelector<HTMLElement>(`[data-dkey=\"${key}\"]`); \n if (!el) return; \n const scRect = scrollRef.value.getBoundingClientRect(); \n const elRect = el.getBoundingClientRect(); \n const target = scrollRef.value.scrollTop + (elRect.top - scRect.top) - 12; \n gsap.to(scrollRef.value, { scrollTop: target, duration: 0.45, ease: 'power3.inOut' }); \n }); \n }, \n}); \n \nconst { todayTextClass, dayNameCaseClass, focusRingColorClass, highlightDotClass, containerRadiusClass, eventRadiusClass, pillRadiusClass, todayBgClass, resolvedColor } = useCalendarTheme({ \n color: () => props.color, \n radius: () => props.radius, \n dayNameCase: () => props.dayNameCase, \n}); \n \nconst DOT_THEMED: Record<string, string> = { \n default: 'bg-muted-foreground', \n primary: 'bg-primary', \n danger: 'bg-destructive', \n success: 'bg-success', \n warning: 'bg-warning', \n}; \nconst DOT_SEMANTIC: Record<string, string> = { \n info: 'bg-info', \n purple: 'bg-purple', \n pink: 'bg-pink', \n}; \nconst dotColorClass = (c?: CalendarEvent['color']) => { \n if (!c) return DOT_THEMED.default; \n return DOT_THEMED[c] ?? DOT_SEMANTIC[c] ?? DOT_THEMED.default; \n}; \n \nconst localeValue = computed(() => (props.locale === 'default' ? undefined : props.locale)); \n \nconst monthOptions = computed(() => { \n const base = new Date(2024, 0, 1); \n return Array.from({ length: 12 }, (_, i) => { \n const d = new Date(base); \n d.setMonth(i); \n return d.toLocaleString(localeValue.value, { month: 'long' }); \n }); \n}); \n \nconst yearOptions = computed(() => { \n const min = props.minDate?.getFullYear() ?? anchorDate.value.getFullYear() - 10; \n const max = props.maxDate?.getFullYear() ?? anchorDate.value.getFullYear() + 10; \n const list: number[] = []; \n for (let y = min; y <= max; y++) list.push(y); \n return list; \n}); \n \nconst selectedMonth = computed({ \n get: () => anchorDate.value.getMonth(), \n set: (mm: number) => { \n const d = new Date(anchorDate.value); \n d.setDate(1); \n d.setMonth(mm); \n anchorDate.value = firstOfMonth(d); \n daysForwardShown.value = Math.max(props.daysToShow, daysInMonth(anchorDate.value)); \n emit('update:modelValue', anchorDate.value); \n afterNavigate(); \n }, \n}); \n \nconst selectedYear = computed({ \n get: () => anchorDate.value.getFullYear(), \n set: (yy: number) => { \n const d = new Date(anchorDate.value); \n d.setFullYear(yy); \n anchorDate.value = firstOfMonth(d); \n daysForwardShown.value = Math.max(props.daysToShow, daysInMonth(anchorDate.value)); \n emit('update:modelValue', anchorDate.value); \n afterNavigate(); \n }, \n}); \n</script>\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAoIA,MAAM,MAAM,eAAe;EAW3B,MAAM,QAAQ;EA0Bd,MAAM,OAAO;EAQb,MAAM,gBAAgB,MAAY,IAAI,KAAK,EAAE,aAAa,EAAE,EAAE,UAAU,EAAE,EAAE;EAC5E,MAAM,eAAe,MAAY,IAAI,KAAK,EAAE,aAAa,EAAE,EAAE,UAAU,GAAG,GAAG,EAAE,CAAC,SAAS;EAEzF,MAAM,aAAa,IAAI,aAAa,IAAI,KAAK,MAAM,WAAW,CAAC,CAAC;EAChE,MAAM,mBAAmB,IAAI,KAAK,IAAI,MAAM,YAAY,YAAY,WAAW,MAAM,CAAC,CAAC;EAEvF,YAAY,MAAM,aAAa,MAAM;GACjC,IAAI,CAAC,GAAG;GACR,MAAM,IAAI,aAAa,IAAI,KAAK,EAAE,CAAC;GACnC,IAAI,EAAE,SAAS,KAAK,WAAW,MAAM,SAAS,EAAE;GAChD,WAAW,QAAQ;GACnB,iBAAiB,QAAQ,KAAK,IAAI,MAAM,YAAY,YAAY,EAAE,CAAC;IACrE;EACF,YAAY,MAAM,aAAa,MAAM;GAAE,iBAAiB,QAAQ,KAAK,IAAI,GAAG,YAAY,WAAW,MAAM,CAAC;IAAI;EAE9G,MAAM,UAAU,IAAwB,KAAK;EAC7C,MAAM,YAAY,IAAwB,KAAK;EAC/C,MAAM,wBAAQ,IAAI,MAAM;EAExB,MAAM,EAAE,YAAY,cAAc,aAAa,cAAc,iBAAiB,eAA8B;EAE5G,MAAM,mBAAmB,MAAY;GACjC,MAAM,SAAS,MAAM,WAAW,YAAY,KAAA,IAAY,MAAM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