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.
- package/README.md +5 -5
- package/dist/components/data-display/Card.cjs +4 -1
- package/dist/components/data-display/Card.cjs.map +1 -1
- package/dist/components/data-display/Card.mjs +3 -1
- package/dist/components/data-display/Card.mjs.map +1 -1
- package/dist/components/data-display/Card.vue_vue_type_script_setup_true_lang.cjs +16 -16
- package/dist/components/data-display/Card.vue_vue_type_script_setup_true_lang.cjs.map +1 -1
- package/dist/components/data-display/Card.vue_vue_type_script_setup_true_lang.mjs +16 -16
- package/dist/components/data-display/Card.vue_vue_type_script_setup_true_lang.mjs.map +1 -1
- package/dist/components/data-display/avatar/Avatar.cjs.map +1 -1
- package/dist/components/data-display/avatar/Avatar.mjs.map +1 -1
- package/dist/components/data-display/avatar/Avatar.vue_vue_type_script_setup_true_lang.cjs +1 -1
- package/dist/components/data-display/avatar/Avatar.vue_vue_type_script_setup_true_lang.cjs.map +1 -1
- package/dist/components/data-display/avatar/Avatar.vue_vue_type_script_setup_true_lang.mjs +1 -1
- package/dist/components/data-display/avatar/Avatar.vue_vue_type_script_setup_true_lang.mjs.map +1 -1
- package/dist/components/data-display/avatar/AvatarGroup.cjs.map +1 -1
- package/dist/components/data-display/avatar/AvatarGroup.mjs.map +1 -1
- package/dist/components/data-display/avatar/AvatarGroup.vue_vue_type_script_setup_true_lang.cjs +3 -7
- package/dist/components/data-display/avatar/AvatarGroup.vue_vue_type_script_setup_true_lang.cjs.map +1 -1
- package/dist/components/data-display/avatar/AvatarGroup.vue_vue_type_script_setup_true_lang.mjs +4 -8
- package/dist/components/data-display/avatar/AvatarGroup.vue_vue_type_script_setup_true_lang.mjs.map +1 -1
- package/dist/components/data-display/calendar/AgendaView.cjs.map +1 -1
- package/dist/components/data-display/calendar/AgendaView.mjs.map +1 -1
- package/dist/components/data-display/calendar/AgendaView.vue_vue_type_script_setup_true_lang.cjs +7 -5
- package/dist/components/data-display/calendar/AgendaView.vue_vue_type_script_setup_true_lang.cjs.map +1 -1
- package/dist/components/data-display/calendar/AgendaView.vue_vue_type_script_setup_true_lang.mjs +8 -6
- package/dist/components/data-display/calendar/AgendaView.vue_vue_type_script_setup_true_lang.mjs.map +1 -1
- package/dist/components/data-display/calendar/DayView.cjs.map +1 -1
- package/dist/components/data-display/calendar/DayView.mjs.map +1 -1
- package/dist/components/data-display/calendar/DayView.vue_vue_type_script_setup_true_lang.cjs +7 -5
- package/dist/components/data-display/calendar/DayView.vue_vue_type_script_setup_true_lang.cjs.map +1 -1
- package/dist/components/data-display/calendar/DayView.vue_vue_type_script_setup_true_lang.mjs +8 -6
- package/dist/components/data-display/calendar/DayView.vue_vue_type_script_setup_true_lang.mjs.map +1 -1
- package/dist/components/data-display/calendar/MonthView.cjs +1 -1
- package/dist/components/data-display/calendar/MonthView.cjs.map +1 -1
- package/dist/components/data-display/calendar/MonthView.mjs +1 -1
- package/dist/components/data-display/calendar/MonthView.mjs.map +1 -1
- package/dist/components/data-display/calendar/MonthView.vue_vue_type_script_setup_true_lang.cjs +7 -5
- package/dist/components/data-display/calendar/MonthView.vue_vue_type_script_setup_true_lang.cjs.map +1 -1
- package/dist/components/data-display/calendar/MonthView.vue_vue_type_script_setup_true_lang.mjs +8 -6
- package/dist/components/data-display/calendar/MonthView.vue_vue_type_script_setup_true_lang.mjs.map +1 -1
- package/dist/components/data-display/calendar/Scheduler.cjs.map +1 -1
- package/dist/components/data-display/calendar/Scheduler.mjs.map +1 -1
- package/dist/components/data-display/calendar/Scheduler.vue_vue_type_script_setup_true_lang.cjs +7 -5
- package/dist/components/data-display/calendar/Scheduler.vue_vue_type_script_setup_true_lang.cjs.map +1 -1
- package/dist/components/data-display/calendar/Scheduler.vue_vue_type_script_setup_true_lang.mjs +8 -6
- package/dist/components/data-display/calendar/Scheduler.vue_vue_type_script_setup_true_lang.mjs.map +1 -1
- package/dist/components/data-display/calendar/WeekView.cjs.map +1 -1
- package/dist/components/data-display/calendar/WeekView.mjs.map +1 -1
- package/dist/components/data-display/calendar/WeekView.vue_vue_type_script_setup_true_lang.cjs +7 -5
- package/dist/components/data-display/calendar/WeekView.vue_vue_type_script_setup_true_lang.cjs.map +1 -1
- package/dist/components/data-display/calendar/WeekView.vue_vue_type_script_setup_true_lang.mjs +8 -6
- package/dist/components/data-display/calendar/WeekView.vue_vue_type_script_setup_true_lang.mjs.map +1 -1
- package/dist/components/data-display/surface-card/SurfaceCard.cjs +9 -0
- package/dist/components/data-display/surface-card/SurfaceCard.cjs.map +1 -0
- package/dist/components/data-display/surface-card/SurfaceCard.mjs +9 -0
- package/dist/components/data-display/surface-card/SurfaceCard.mjs.map +1 -0
- package/dist/components/data-display/surface-card/SurfaceCard.vue_vue_type_script_setup_true_lang.cjs +234 -0
- package/dist/components/data-display/surface-card/SurfaceCard.vue_vue_type_script_setup_true_lang.cjs.map +1 -0
- package/dist/components/data-display/surface-card/SurfaceCard.vue_vue_type_script_setup_true_lang.mjs +233 -0
- package/dist/components/data-display/surface-card/SurfaceCard.vue_vue_type_script_setup_true_lang.mjs.map +1 -0
- package/dist/components/data-display/surface-card/SurfaceCardBody.cjs +6 -0
- package/dist/components/data-display/surface-card/SurfaceCardBody.cjs.map +1 -0
- package/dist/components/data-display/surface-card/SurfaceCardBody.mjs +7 -0
- package/dist/components/data-display/surface-card/SurfaceCardBody.mjs.map +1 -0
- package/dist/components/data-display/surface-card/SurfaceCardBody.vue_vue_type_script_setup_true_lang.cjs +28 -0
- package/dist/components/data-display/surface-card/SurfaceCardBody.vue_vue_type_script_setup_true_lang.cjs.map +1 -0
- package/dist/components/data-display/surface-card/SurfaceCardBody.vue_vue_type_script_setup_true_lang.mjs +27 -0
- package/dist/components/data-display/surface-card/SurfaceCardBody.vue_vue_type_script_setup_true_lang.mjs.map +1 -0
- package/dist/components/data-display/surface-card/SurfaceCardFooter.cjs +6 -0
- package/dist/components/data-display/surface-card/SurfaceCardFooter.cjs.map +1 -0
- package/dist/components/data-display/surface-card/SurfaceCardFooter.mjs +7 -0
- package/dist/components/data-display/surface-card/SurfaceCardFooter.mjs.map +1 -0
- package/dist/components/data-display/surface-card/SurfaceCardFooter.vue_vue_type_script_setup_true_lang.cjs +34 -0
- package/dist/components/data-display/surface-card/SurfaceCardFooter.vue_vue_type_script_setup_true_lang.cjs.map +1 -0
- package/dist/components/data-display/surface-card/SurfaceCardFooter.vue_vue_type_script_setup_true_lang.mjs +33 -0
- package/dist/components/data-display/surface-card/SurfaceCardFooter.vue_vue_type_script_setup_true_lang.mjs.map +1 -0
- package/dist/components/data-display/surface-card/SurfaceCardHeader.cjs +6 -0
- package/dist/components/data-display/surface-card/SurfaceCardHeader.cjs.map +1 -0
- package/dist/components/data-display/surface-card/SurfaceCardHeader.mjs +7 -0
- package/dist/components/data-display/surface-card/SurfaceCardHeader.mjs.map +1 -0
- package/dist/components/data-display/surface-card/SurfaceCardHeader.vue_vue_type_script_setup_true_lang.cjs +28 -0
- package/dist/components/data-display/surface-card/SurfaceCardHeader.vue_vue_type_script_setup_true_lang.cjs.map +1 -0
- package/dist/components/data-display/surface-card/SurfaceCardHeader.vue_vue_type_script_setup_true_lang.mjs +27 -0
- package/dist/components/data-display/surface-card/SurfaceCardHeader.vue_vue_type_script_setup_true_lang.mjs.map +1 -0
- package/dist/components/data-display/surface-card/SurfaceCardMedia.cjs +6 -0
- package/dist/components/data-display/surface-card/SurfaceCardMedia.cjs.map +1 -0
- package/dist/components/data-display/surface-card/SurfaceCardMedia.mjs +7 -0
- package/dist/components/data-display/surface-card/SurfaceCardMedia.mjs.map +1 -0
- package/dist/components/data-display/surface-card/SurfaceCardMedia.vue_vue_type_script_setup_true_lang.cjs +42 -0
- package/dist/components/data-display/surface-card/SurfaceCardMedia.vue_vue_type_script_setup_true_lang.cjs.map +1 -0
- package/dist/components/data-display/surface-card/SurfaceCardMedia.vue_vue_type_script_setup_true_lang.mjs +41 -0
- package/dist/components/data-display/surface-card/SurfaceCardMedia.vue_vue_type_script_setup_true_lang.mjs.map +1 -0
- package/dist/components/data-display/surface-card/SurfaceCardSeparator.cjs +6 -0
- package/dist/components/data-display/surface-card/SurfaceCardSeparator.cjs.map +1 -0
- package/dist/components/data-display/surface-card/SurfaceCardSeparator.mjs +7 -0
- package/dist/components/data-display/surface-card/SurfaceCardSeparator.mjs.map +1 -0
- package/dist/components/data-display/surface-card/SurfaceCardSeparator.vue_vue_type_script_setup_true_lang.cjs +21 -0
- package/dist/components/data-display/surface-card/SurfaceCardSeparator.vue_vue_type_script_setup_true_lang.cjs.map +1 -0
- package/dist/components/data-display/surface-card/SurfaceCardSeparator.vue_vue_type_script_setup_true_lang.mjs +20 -0
- package/dist/components/data-display/surface-card/SurfaceCardSeparator.vue_vue_type_script_setup_true_lang.mjs.map +1 -0
- package/dist/components/data-display/surface-card/SurfaceCardSubtitle.cjs +6 -0
- package/dist/components/data-display/surface-card/SurfaceCardSubtitle.cjs.map +1 -0
- package/dist/components/data-display/surface-card/SurfaceCardSubtitle.mjs +7 -0
- package/dist/components/data-display/surface-card/SurfaceCardSubtitle.mjs.map +1 -0
- package/dist/components/data-display/surface-card/SurfaceCardSubtitle.vue_vue_type_script_setup_true_lang.cjs +22 -0
- package/dist/components/data-display/surface-card/SurfaceCardSubtitle.vue_vue_type_script_setup_true_lang.cjs.map +1 -0
- package/dist/components/data-display/surface-card/SurfaceCardSubtitle.vue_vue_type_script_setup_true_lang.mjs +21 -0
- package/dist/components/data-display/surface-card/SurfaceCardSubtitle.vue_vue_type_script_setup_true_lang.mjs.map +1 -0
- package/dist/components/data-display/surface-card/SurfaceCardTitle.cjs +6 -0
- package/dist/components/data-display/surface-card/SurfaceCardTitle.cjs.map +1 -0
- package/dist/components/data-display/surface-card/SurfaceCardTitle.mjs +7 -0
- package/dist/components/data-display/surface-card/SurfaceCardTitle.mjs.map +1 -0
- package/dist/components/data-display/surface-card/SurfaceCardTitle.vue_vue_type_script_setup_true_lang.cjs +42 -0
- package/dist/components/data-display/surface-card/SurfaceCardTitle.vue_vue_type_script_setup_true_lang.cjs.map +1 -0
- package/dist/components/data-display/surface-card/SurfaceCardTitle.vue_vue_type_script_setup_true_lang.mjs +41 -0
- package/dist/components/data-display/surface-card/SurfaceCardTitle.vue_vue_type_script_setup_true_lang.mjs.map +1 -0
- package/dist/components/data-display/surface-card/index.cjs +22 -0
- package/dist/components/data-display/surface-card/index.cjs.map +1 -0
- package/dist/components/data-display/surface-card/index.mjs +22 -0
- package/dist/components/data-display/surface-card/index.mjs.map +1 -0
- package/dist/components/data-display/surface-card/surfaceCardMotion.cjs +108 -0
- package/dist/components/data-display/surface-card/surfaceCardMotion.cjs.map +1 -0
- package/dist/components/data-display/surface-card/surfaceCardMotion.mjs +104 -0
- package/dist/components/data-display/surface-card/surfaceCardMotion.mjs.map +1 -0
- package/dist/components/data-display/table/Table.cjs +1 -1
- package/dist/components/data-display/table/Table.cjs.map +1 -1
- package/dist/components/data-display/table/Table.mjs +1 -1
- package/dist/components/data-display/table/Table.mjs.map +1 -1
- package/dist/components/data-display/table/Table.vue_vue_type_script_setup_true_lang.cjs +434 -277
- package/dist/components/data-display/table/Table.vue_vue_type_script_setup_true_lang.cjs.map +1 -1
- package/dist/components/data-display/table/Table.vue_vue_type_script_setup_true_lang.mjs +438 -281
- package/dist/components/data-display/table/Table.vue_vue_type_script_setup_true_lang.mjs.map +1 -1
- package/dist/components/data-display/table/TablePagination.cjs.map +1 -1
- package/dist/components/data-display/table/TablePagination.mjs.map +1 -1
- package/dist/components/data-display/table/TablePagination.vue_vue_type_script_setup_true_lang.cjs +40 -22
- package/dist/components/data-display/table/TablePagination.vue_vue_type_script_setup_true_lang.cjs.map +1 -1
- package/dist/components/data-display/table/TablePagination.vue_vue_type_script_setup_true_lang.mjs +41 -23
- package/dist/components/data-display/table/TablePagination.vue_vue_type_script_setup_true_lang.mjs.map +1 -1
- package/dist/components/feedback/Drawer.cjs.map +1 -1
- package/dist/components/feedback/Drawer.mjs.map +1 -1
- package/dist/components/feedback/Drawer.vue_vue_type_script_setup_true_lang.cjs +113 -78
- package/dist/components/feedback/Drawer.vue_vue_type_script_setup_true_lang.cjs.map +1 -1
- package/dist/components/feedback/Drawer.vue_vue_type_script_setup_true_lang.mjs +115 -80
- package/dist/components/feedback/Drawer.vue_vue_type_script_setup_true_lang.mjs.map +1 -1
- package/dist/components/feedback/Modal.cjs.map +1 -1
- package/dist/components/feedback/Modal.mjs.map +1 -1
- package/dist/components/feedback/Modal.vue_vue_type_script_setup_true_lang.cjs +62 -65
- package/dist/components/feedback/Modal.vue_vue_type_script_setup_true_lang.cjs.map +1 -1
- package/dist/components/feedback/Modal.vue_vue_type_script_setup_true_lang.mjs +63 -66
- package/dist/components/feedback/Modal.vue_vue_type_script_setup_true_lang.mjs.map +1 -1
- package/dist/components/feedback/dialog/Dialog.vue_vue_type_script_setup_true_lang.cjs +77 -0
- package/dist/components/feedback/dialog/Dialog.vue_vue_type_script_setup_true_lang.cjs.map +1 -0
- package/dist/components/feedback/dialog/Dialog.vue_vue_type_script_setup_true_lang.mjs +76 -0
- package/dist/components/feedback/dialog/Dialog.vue_vue_type_script_setup_true_lang.mjs.map +1 -0
- package/dist/components/feedback/dialog/Dialog2.cjs +6 -0
- package/dist/components/feedback/dialog/Dialog2.cjs.map +1 -0
- package/dist/components/feedback/dialog/Dialog2.mjs +7 -0
- package/dist/components/feedback/dialog/Dialog2.mjs.map +1 -0
- package/dist/components/feedback/dialog/DialogBody.cjs +6 -0
- package/dist/components/feedback/dialog/DialogBody.cjs.map +1 -0
- package/dist/components/feedback/dialog/DialogBody.mjs +7 -0
- package/dist/components/feedback/dialog/DialogBody.mjs.map +1 -0
- package/dist/components/feedback/dialog/DialogBody.vue_vue_type_script_setup_true_lang.cjs +27 -0
- package/dist/components/feedback/dialog/DialogBody.vue_vue_type_script_setup_true_lang.cjs.map +1 -0
- package/dist/components/feedback/dialog/DialogBody.vue_vue_type_script_setup_true_lang.mjs +26 -0
- package/dist/components/feedback/dialog/DialogBody.vue_vue_type_script_setup_true_lang.mjs.map +1 -0
- package/dist/components/feedback/dialog/DialogClose.cjs +6 -0
- package/dist/components/feedback/dialog/DialogClose.cjs.map +1 -0
- package/dist/components/feedback/dialog/DialogClose.mjs +7 -0
- package/dist/components/feedback/dialog/DialogClose.mjs.map +1 -0
- package/dist/components/feedback/dialog/DialogClose.vue_vue_type_script_setup_true_lang.cjs +68 -0
- package/dist/components/feedback/dialog/DialogClose.vue_vue_type_script_setup_true_lang.cjs.map +1 -0
- package/dist/components/feedback/dialog/DialogClose.vue_vue_type_script_setup_true_lang.mjs +67 -0
- package/dist/components/feedback/dialog/DialogClose.vue_vue_type_script_setup_true_lang.mjs.map +1 -0
- package/dist/components/feedback/dialog/DialogContent.cjs +6 -0
- package/dist/components/feedback/dialog/DialogContent.cjs.map +1 -0
- package/dist/components/feedback/dialog/DialogContent.mjs +7 -0
- package/dist/components/feedback/dialog/DialogContent.mjs.map +1 -0
- package/dist/components/feedback/dialog/DialogContent.vue_vue_type_script_setup_true_lang.cjs +283 -0
- package/dist/components/feedback/dialog/DialogContent.vue_vue_type_script_setup_true_lang.cjs.map +1 -0
- package/dist/components/feedback/dialog/DialogContent.vue_vue_type_script_setup_true_lang.mjs +282 -0
- package/dist/components/feedback/dialog/DialogContent.vue_vue_type_script_setup_true_lang.mjs.map +1 -0
- package/dist/components/feedback/dialog/DialogContext.cjs +14 -0
- package/dist/components/feedback/dialog/DialogContext.cjs.map +1 -0
- package/dist/components/feedback/dialog/DialogContext.mjs +12 -0
- package/dist/components/feedback/dialog/DialogContext.mjs.map +1 -0
- package/dist/components/feedback/dialog/DialogDescription.cjs +6 -0
- package/dist/components/feedback/dialog/DialogDescription.cjs.map +1 -0
- package/dist/components/feedback/dialog/DialogDescription.mjs +7 -0
- package/dist/components/feedback/dialog/DialogDescription.mjs.map +1 -0
- package/dist/components/feedback/dialog/DialogDescription.vue_vue_type_script_setup_true_lang.cjs +28 -0
- package/dist/components/feedback/dialog/DialogDescription.vue_vue_type_script_setup_true_lang.cjs.map +1 -0
- package/dist/components/feedback/dialog/DialogDescription.vue_vue_type_script_setup_true_lang.mjs +27 -0
- package/dist/components/feedback/dialog/DialogDescription.vue_vue_type_script_setup_true_lang.mjs.map +1 -0
- package/dist/components/feedback/dialog/DialogFooter.cjs +6 -0
- package/dist/components/feedback/dialog/DialogFooter.cjs.map +1 -0
- package/dist/components/feedback/dialog/DialogFooter.mjs +7 -0
- package/dist/components/feedback/dialog/DialogFooter.mjs.map +1 -0
- package/dist/components/feedback/dialog/DialogFooter.vue_vue_type_script_setup_true_lang.cjs +17 -0
- package/dist/components/feedback/dialog/DialogFooter.vue_vue_type_script_setup_true_lang.cjs.map +1 -0
- package/dist/components/feedback/dialog/DialogFooter.vue_vue_type_script_setup_true_lang.mjs +16 -0
- package/dist/components/feedback/dialog/DialogFooter.vue_vue_type_script_setup_true_lang.mjs.map +1 -0
- package/dist/components/feedback/dialog/DialogHeader.cjs +6 -0
- package/dist/components/feedback/dialog/DialogHeader.cjs.map +1 -0
- package/dist/components/feedback/dialog/DialogHeader.mjs +7 -0
- package/dist/components/feedback/dialog/DialogHeader.mjs.map +1 -0
- package/dist/components/feedback/dialog/DialogHeader.vue_vue_type_script_setup_true_lang.cjs +17 -0
- package/dist/components/feedback/dialog/DialogHeader.vue_vue_type_script_setup_true_lang.cjs.map +1 -0
- package/dist/components/feedback/dialog/DialogHeader.vue_vue_type_script_setup_true_lang.mjs +16 -0
- package/dist/components/feedback/dialog/DialogHeader.vue_vue_type_script_setup_true_lang.mjs.map +1 -0
- package/dist/components/feedback/dialog/DialogIcon.cjs +6 -0
- package/dist/components/feedback/dialog/DialogIcon.cjs.map +1 -0
- package/dist/components/feedback/dialog/DialogIcon.mjs +7 -0
- package/dist/components/feedback/dialog/DialogIcon.mjs.map +1 -0
- package/dist/components/feedback/dialog/DialogIcon.vue_vue_type_script_setup_true_lang.cjs +59 -0
- package/dist/components/feedback/dialog/DialogIcon.vue_vue_type_script_setup_true_lang.cjs.map +1 -0
- package/dist/components/feedback/dialog/DialogIcon.vue_vue_type_script_setup_true_lang.mjs +58 -0
- package/dist/components/feedback/dialog/DialogIcon.vue_vue_type_script_setup_true_lang.mjs.map +1 -0
- package/dist/components/feedback/dialog/DialogTitle.cjs +6 -0
- package/dist/components/feedback/dialog/DialogTitle.cjs.map +1 -0
- package/dist/components/feedback/dialog/DialogTitle.mjs +7 -0
- package/dist/components/feedback/dialog/DialogTitle.mjs.map +1 -0
- package/dist/components/feedback/dialog/DialogTitle.vue_vue_type_script_setup_true_lang.cjs +29 -0
- package/dist/components/feedback/dialog/DialogTitle.vue_vue_type_script_setup_true_lang.cjs.map +1 -0
- package/dist/components/feedback/dialog/DialogTitle.vue_vue_type_script_setup_true_lang.mjs +28 -0
- package/dist/components/feedback/dialog/DialogTitle.vue_vue_type_script_setup_true_lang.mjs.map +1 -0
- package/dist/components/feedback/dialog/DialogTrigger.cjs +6 -0
- package/dist/components/feedback/dialog/DialogTrigger.cjs.map +1 -0
- package/dist/components/feedback/dialog/DialogTrigger.mjs +7 -0
- package/dist/components/feedback/dialog/DialogTrigger.mjs.map +1 -0
- package/dist/components/feedback/dialog/DialogTrigger.vue_vue_type_script_setup_true_lang.cjs +122 -0
- package/dist/components/feedback/dialog/DialogTrigger.vue_vue_type_script_setup_true_lang.cjs.map +1 -0
- package/dist/components/feedback/dialog/DialogTrigger.vue_vue_type_script_setup_true_lang.mjs +121 -0
- package/dist/components/feedback/dialog/DialogTrigger.vue_vue_type_script_setup_true_lang.mjs.map +1 -0
- package/dist/components/feedback/dialog/index.cjs +26 -0
- package/dist/components/feedback/dialog/index.cjs.map +1 -0
- package/dist/components/feedback/dialog/index.mjs +26 -0
- package/dist/components/feedback/dialog/index.mjs.map +1 -0
- package/dist/components/feedback/dialog/overlayScope.cjs +21 -0
- package/dist/components/feedback/dialog/overlayScope.cjs.map +1 -0
- package/dist/components/feedback/dialog/overlayScope.mjs +18 -0
- package/dist/components/feedback/dialog/overlayScope.mjs.map +1 -0
- package/dist/components/feedback/liquid-toast/LiquidToast.cjs +6 -0
- package/dist/components/feedback/liquid-toast/LiquidToast.cjs.map +1 -0
- package/dist/components/feedback/liquid-toast/LiquidToast.mjs +7 -0
- package/dist/components/feedback/liquid-toast/LiquidToast.mjs.map +1 -0
- package/dist/components/feedback/liquid-toast/LiquidToast.vue_vue_type_script_setup_true_lang.cjs +282 -0
- package/dist/components/feedback/liquid-toast/LiquidToast.vue_vue_type_script_setup_true_lang.cjs.map +1 -0
- package/dist/components/feedback/liquid-toast/LiquidToast.vue_vue_type_script_setup_true_lang.mjs +281 -0
- package/dist/components/feedback/liquid-toast/LiquidToast.vue_vue_type_script_setup_true_lang.mjs.map +1 -0
- package/dist/components/feedback/liquid-toast/LiquidToastShape.cjs +6 -0
- package/dist/components/feedback/liquid-toast/LiquidToastShape.cjs.map +1 -0
- package/dist/components/feedback/liquid-toast/LiquidToastShape.mjs +7 -0
- package/dist/components/feedback/liquid-toast/LiquidToastShape.mjs.map +1 -0
- package/dist/components/feedback/liquid-toast/LiquidToastShape.vue_vue_type_script_setup_true_lang.cjs +138 -0
- package/dist/components/feedback/liquid-toast/LiquidToastShape.vue_vue_type_script_setup_true_lang.cjs.map +1 -0
- package/dist/components/feedback/liquid-toast/LiquidToastShape.vue_vue_type_script_setup_true_lang.mjs +137 -0
- package/dist/components/feedback/liquid-toast/LiquidToastShape.vue_vue_type_script_setup_true_lang.mjs.map +1 -0
- package/dist/components/feedback/liquid-toast/LiquidToaster.cjs +6 -0
- package/dist/components/feedback/liquid-toast/LiquidToaster.cjs.map +1 -0
- package/dist/components/feedback/liquid-toast/LiquidToaster.mjs +7 -0
- package/dist/components/feedback/liquid-toast/LiquidToaster.mjs.map +1 -0
- package/dist/components/feedback/liquid-toast/LiquidToaster.vue_vue_type_script_setup_true_lang.cjs +163 -0
- package/dist/components/feedback/liquid-toast/LiquidToaster.vue_vue_type_script_setup_true_lang.cjs.map +1 -0
- package/dist/components/feedback/liquid-toast/LiquidToaster.vue_vue_type_script_setup_true_lang.mjs +162 -0
- package/dist/components/feedback/liquid-toast/LiquidToaster.vue_vue_type_script_setup_true_lang.mjs.map +1 -0
- package/dist/components/feedback/liquid-toast/liquidToast2.cjs +117 -0
- package/dist/components/feedback/liquid-toast/liquidToast2.cjs.map +1 -0
- package/dist/components/feedback/liquid-toast/liquidToast2.mjs +115 -0
- package/dist/components/feedback/liquid-toast/liquidToast2.mjs.map +1 -0
- package/dist/components/feedback/morph-tooltip/MorphTooltip.cjs +6 -0
- package/dist/components/feedback/morph-tooltip/MorphTooltip.cjs.map +1 -0
- package/dist/components/feedback/morph-tooltip/MorphTooltip.mjs +7 -0
- package/dist/components/feedback/morph-tooltip/MorphTooltip.mjs.map +1 -0
- package/dist/components/feedback/morph-tooltip/MorphTooltip.vue_vue_type_script_setup_true_lang.cjs +139 -0
- package/dist/components/feedback/morph-tooltip/MorphTooltip.vue_vue_type_script_setup_true_lang.cjs.map +1 -0
- package/dist/components/feedback/morph-tooltip/MorphTooltip.vue_vue_type_script_setup_true_lang.mjs +138 -0
- package/dist/components/feedback/morph-tooltip/MorphTooltip.vue_vue_type_script_setup_true_lang.mjs.map +1 -0
- package/dist/components/feedback/morph-tooltip/MorphTooltipContent.cjs +6 -0
- package/dist/components/feedback/morph-tooltip/MorphTooltipContent.cjs.map +1 -0
- package/dist/components/feedback/morph-tooltip/MorphTooltipContent.mjs +7 -0
- package/dist/components/feedback/morph-tooltip/MorphTooltipContent.mjs.map +1 -0
- package/dist/components/feedback/morph-tooltip/MorphTooltipContent.vue_vue_type_script_setup_true_lang.cjs +252 -0
- package/dist/components/feedback/morph-tooltip/MorphTooltipContent.vue_vue_type_script_setup_true_lang.cjs.map +1 -0
- package/dist/components/feedback/morph-tooltip/MorphTooltipContent.vue_vue_type_script_setup_true_lang.mjs +251 -0
- package/dist/components/feedback/morph-tooltip/MorphTooltipContent.vue_vue_type_script_setup_true_lang.mjs.map +1 -0
- package/dist/components/feedback/morph-tooltip/MorphTooltipContext.cjs +23 -0
- package/dist/components/feedback/morph-tooltip/MorphTooltipContext.cjs.map +1 -0
- package/dist/components/feedback/morph-tooltip/MorphTooltipContext.mjs +19 -0
- package/dist/components/feedback/morph-tooltip/MorphTooltipContext.mjs.map +1 -0
- package/dist/components/feedback/morph-tooltip/MorphTooltipTrigger.cjs +47 -0
- package/dist/components/feedback/morph-tooltip/MorphTooltipTrigger.cjs.map +1 -0
- package/dist/components/feedback/morph-tooltip/MorphTooltipTrigger.mjs +46 -0
- package/dist/components/feedback/morph-tooltip/MorphTooltipTrigger.mjs.map +1 -0
- package/dist/components/feedback/morph-tooltip/index.cjs +26 -0
- package/dist/components/feedback/morph-tooltip/index.cjs.map +1 -0
- package/dist/components/feedback/morph-tooltip/index.mjs +23 -0
- package/dist/components/feedback/morph-tooltip/index.mjs.map +1 -0
- package/dist/components/feedback/morph-tooltip/tooltipPlacement.cjs +38 -0
- package/dist/components/feedback/morph-tooltip/tooltipPlacement.cjs.map +1 -0
- package/dist/components/feedback/morph-tooltip/tooltipPlacement.mjs +38 -0
- package/dist/components/feedback/morph-tooltip/tooltipPlacement.mjs.map +1 -0
- package/dist/components/feedback/sheet/Sheet.cjs +6 -0
- package/dist/components/feedback/sheet/Sheet.cjs.map +1 -0
- package/dist/components/feedback/sheet/Sheet.mjs +7 -0
- package/dist/components/feedback/sheet/Sheet.mjs.map +1 -0
- package/dist/components/feedback/sheet/Sheet.vue_vue_type_script_setup_true_lang.cjs +77 -0
- package/dist/components/feedback/sheet/Sheet.vue_vue_type_script_setup_true_lang.cjs.map +1 -0
- package/dist/components/feedback/sheet/Sheet.vue_vue_type_script_setup_true_lang.mjs +76 -0
- package/dist/components/feedback/sheet/Sheet.vue_vue_type_script_setup_true_lang.mjs.map +1 -0
- package/dist/components/feedback/sheet/SheetBody.cjs +6 -0
- package/dist/components/feedback/sheet/SheetBody.cjs.map +1 -0
- package/dist/components/feedback/sheet/SheetBody.mjs +7 -0
- package/dist/components/feedback/sheet/SheetBody.mjs.map +1 -0
- package/dist/components/feedback/sheet/SheetBody.vue_vue_type_script_setup_true_lang.cjs +27 -0
- package/dist/components/feedback/sheet/SheetBody.vue_vue_type_script_setup_true_lang.cjs.map +1 -0
- package/dist/components/feedback/sheet/SheetBody.vue_vue_type_script_setup_true_lang.mjs +26 -0
- package/dist/components/feedback/sheet/SheetBody.vue_vue_type_script_setup_true_lang.mjs.map +1 -0
- package/dist/components/feedback/sheet/SheetClose.cjs +6 -0
- package/dist/components/feedback/sheet/SheetClose.cjs.map +1 -0
- package/dist/components/feedback/sheet/SheetClose.mjs +7 -0
- package/dist/components/feedback/sheet/SheetClose.mjs.map +1 -0
- package/dist/components/feedback/sheet/SheetClose.vue_vue_type_script_setup_true_lang.cjs +68 -0
- package/dist/components/feedback/sheet/SheetClose.vue_vue_type_script_setup_true_lang.cjs.map +1 -0
- package/dist/components/feedback/sheet/SheetClose.vue_vue_type_script_setup_true_lang.mjs +67 -0
- package/dist/components/feedback/sheet/SheetClose.vue_vue_type_script_setup_true_lang.mjs.map +1 -0
- package/dist/components/feedback/sheet/SheetContent.cjs +6 -0
- package/dist/components/feedback/sheet/SheetContent.cjs.map +1 -0
- package/dist/components/feedback/sheet/SheetContent.mjs +7 -0
- package/dist/components/feedback/sheet/SheetContent.mjs.map +1 -0
- package/dist/components/feedback/sheet/SheetContent.vue_vue_type_script_setup_true_lang.cjs +200 -0
- package/dist/components/feedback/sheet/SheetContent.vue_vue_type_script_setup_true_lang.cjs.map +1 -0
- package/dist/components/feedback/sheet/SheetContent.vue_vue_type_script_setup_true_lang.mjs +199 -0
- package/dist/components/feedback/sheet/SheetContent.vue_vue_type_script_setup_true_lang.mjs.map +1 -0
- package/dist/components/feedback/sheet/SheetContext.cjs +14 -0
- package/dist/components/feedback/sheet/SheetContext.cjs.map +1 -0
- package/dist/components/feedback/sheet/SheetContext.mjs +12 -0
- package/dist/components/feedback/sheet/SheetContext.mjs.map +1 -0
- package/dist/components/feedback/sheet/SheetDescription.cjs +6 -0
- package/dist/components/feedback/sheet/SheetDescription.cjs.map +1 -0
- package/dist/components/feedback/sheet/SheetDescription.mjs +7 -0
- package/dist/components/feedback/sheet/SheetDescription.mjs.map +1 -0
- package/dist/components/feedback/sheet/SheetDescription.vue_vue_type_script_setup_true_lang.cjs +28 -0
- package/dist/components/feedback/sheet/SheetDescription.vue_vue_type_script_setup_true_lang.cjs.map +1 -0
- package/dist/components/feedback/sheet/SheetDescription.vue_vue_type_script_setup_true_lang.mjs +27 -0
- package/dist/components/feedback/sheet/SheetDescription.vue_vue_type_script_setup_true_lang.mjs.map +1 -0
- package/dist/components/feedback/sheet/SheetFooter.cjs +6 -0
- package/dist/components/feedback/sheet/SheetFooter.cjs.map +1 -0
- package/dist/components/feedback/sheet/SheetFooter.mjs +7 -0
- package/dist/components/feedback/sheet/SheetFooter.mjs.map +1 -0
- package/dist/components/feedback/sheet/SheetFooter.vue_vue_type_script_setup_true_lang.cjs +17 -0
- package/dist/components/feedback/sheet/SheetFooter.vue_vue_type_script_setup_true_lang.cjs.map +1 -0
- package/dist/components/feedback/sheet/SheetFooter.vue_vue_type_script_setup_true_lang.mjs +16 -0
- package/dist/components/feedback/sheet/SheetFooter.vue_vue_type_script_setup_true_lang.mjs.map +1 -0
- package/dist/components/feedback/sheet/SheetHeader.cjs +6 -0
- package/dist/components/feedback/sheet/SheetHeader.cjs.map +1 -0
- package/dist/components/feedback/sheet/SheetHeader.mjs +7 -0
- package/dist/components/feedback/sheet/SheetHeader.mjs.map +1 -0
- package/dist/components/feedback/sheet/SheetHeader.vue_vue_type_script_setup_true_lang.cjs +17 -0
- package/dist/components/feedback/sheet/SheetHeader.vue_vue_type_script_setup_true_lang.cjs.map +1 -0
- package/dist/components/feedback/sheet/SheetHeader.vue_vue_type_script_setup_true_lang.mjs +16 -0
- package/dist/components/feedback/sheet/SheetHeader.vue_vue_type_script_setup_true_lang.mjs.map +1 -0
- package/dist/components/feedback/sheet/SheetTitle.cjs +6 -0
- package/dist/components/feedback/sheet/SheetTitle.cjs.map +1 -0
- package/dist/components/feedback/sheet/SheetTitle.mjs +7 -0
- package/dist/components/feedback/sheet/SheetTitle.mjs.map +1 -0
- package/dist/components/feedback/sheet/SheetTitle.vue_vue_type_script_setup_true_lang.cjs +29 -0
- package/dist/components/feedback/sheet/SheetTitle.vue_vue_type_script_setup_true_lang.cjs.map +1 -0
- package/dist/components/feedback/sheet/SheetTitle.vue_vue_type_script_setup_true_lang.mjs +28 -0
- package/dist/components/feedback/sheet/SheetTitle.vue_vue_type_script_setup_true_lang.mjs.map +1 -0
- package/dist/components/feedback/sheet/SheetTrigger.cjs +6 -0
- package/dist/components/feedback/sheet/SheetTrigger.cjs.map +1 -0
- package/dist/components/feedback/sheet/SheetTrigger.mjs +7 -0
- package/dist/components/feedback/sheet/SheetTrigger.mjs.map +1 -0
- package/dist/components/feedback/sheet/SheetTrigger.vue_vue_type_script_setup_true_lang.cjs +98 -0
- package/dist/components/feedback/sheet/SheetTrigger.vue_vue_type_script_setup_true_lang.cjs.map +1 -0
- package/dist/components/feedback/sheet/SheetTrigger.vue_vue_type_script_setup_true_lang.mjs +97 -0
- package/dist/components/feedback/sheet/SheetTrigger.vue_vue_type_script_setup_true_lang.mjs.map +1 -0
- package/dist/components/feedback/sheet/index.cjs +24 -0
- package/dist/components/feedback/sheet/index.cjs.map +1 -0
- package/dist/components/feedback/sheet/index.mjs +24 -0
- package/dist/components/feedback/sheet/index.mjs.map +1 -0
- package/dist/components/forms/ModeOrb.cjs +6 -0
- package/dist/components/forms/ModeOrb.cjs.map +1 -0
- package/dist/components/forms/ModeOrb.mjs +7 -0
- package/dist/components/forms/ModeOrb.mjs.map +1 -0
- package/dist/components/forms/ModeOrb.vue_vue_type_script_setup_true_lang.cjs +153 -0
- package/dist/components/forms/ModeOrb.vue_vue_type_script_setup_true_lang.cjs.map +1 -0
- package/dist/components/forms/ModeOrb.vue_vue_type_script_setup_true_lang.mjs +152 -0
- package/dist/components/forms/ModeOrb.vue_vue_type_script_setup_true_lang.mjs.map +1 -0
- package/dist/components/forms/PasswordInput.cjs.map +1 -1
- package/dist/components/forms/PasswordInput.mjs.map +1 -1
- package/dist/components/forms/PasswordInput.vue_vue_type_script_setup_true_lang.cjs +6 -5
- package/dist/components/forms/PasswordInput.vue_vue_type_script_setup_true_lang.cjs.map +1 -1
- package/dist/components/forms/PasswordInput.vue_vue_type_script_setup_true_lang.mjs +6 -5
- package/dist/components/forms/PasswordInput.vue_vue_type_script_setup_true_lang.mjs.map +1 -1
- package/dist/components/forms/PressButton.cjs +9 -0
- package/dist/components/forms/PressButton.cjs.map +1 -0
- package/dist/components/forms/PressButton.mjs +9 -0
- package/dist/components/forms/PressButton.mjs.map +1 -0
- package/dist/components/forms/PressButton.vue_vue_type_script_setup_true_lang.cjs +368 -0
- package/dist/components/forms/PressButton.vue_vue_type_script_setup_true_lang.cjs.map +1 -0
- package/dist/components/forms/PressButton.vue_vue_type_script_setup_true_lang.mjs +367 -0
- package/dist/components/forms/PressButton.vue_vue_type_script_setup_true_lang.mjs.map +1 -0
- package/dist/components/forms/PressButtonGroup.cjs +9 -0
- package/dist/components/forms/PressButtonGroup.cjs.map +1 -0
- package/dist/components/forms/PressButtonGroup.mjs +9 -0
- package/dist/components/forms/PressButtonGroup.mjs.map +1 -0
- package/dist/components/forms/PressButtonGroup.vue_vue_type_script_setup_true_lang.cjs +325 -0
- package/dist/components/forms/PressButtonGroup.vue_vue_type_script_setup_true_lang.cjs.map +1 -0
- package/dist/components/forms/PressButtonGroup.vue_vue_type_script_setup_true_lang.mjs +324 -0
- package/dist/components/forms/PressButtonGroup.vue_vue_type_script_setup_true_lang.mjs.map +1 -0
- package/dist/components/forms/glass-switch/GlassSwitch.cjs +6 -0
- package/dist/components/forms/glass-switch/GlassSwitch.cjs.map +1 -0
- package/dist/components/forms/glass-switch/GlassSwitch.mjs +7 -0
- package/dist/components/forms/glass-switch/GlassSwitch.mjs.map +1 -0
- package/dist/components/forms/glass-switch/GlassSwitch.vue_vue_type_script_setup_true_lang.cjs +294 -0
- package/dist/components/forms/glass-switch/GlassSwitch.vue_vue_type_script_setup_true_lang.cjs.map +1 -0
- package/dist/components/forms/glass-switch/GlassSwitch.vue_vue_type_script_setup_true_lang.mjs +293 -0
- package/dist/components/forms/glass-switch/GlassSwitch.vue_vue_type_script_setup_true_lang.mjs.map +1 -0
- package/dist/components/forms/morph-select/MorphSelect.cjs +6 -0
- package/dist/components/forms/morph-select/MorphSelect.cjs.map +1 -0
- package/dist/components/forms/morph-select/MorphSelect.mjs +7 -0
- package/dist/components/forms/morph-select/MorphSelect.mjs.map +1 -0
- package/dist/components/forms/morph-select/MorphSelect.vue_vue_type_script_setup_true_lang.cjs +145 -0
- package/dist/components/forms/morph-select/MorphSelect.vue_vue_type_script_setup_true_lang.cjs.map +1 -0
- package/dist/components/forms/morph-select/MorphSelect.vue_vue_type_script_setup_true_lang.mjs +144 -0
- package/dist/components/forms/morph-select/MorphSelect.vue_vue_type_script_setup_true_lang.mjs.map +1 -0
- package/dist/components/forms/morph-select/MorphSelectContent.cjs +6 -0
- package/dist/components/forms/morph-select/MorphSelectContent.cjs.map +1 -0
- package/dist/components/forms/morph-select/MorphSelectContent.mjs +7 -0
- package/dist/components/forms/morph-select/MorphSelectContent.mjs.map +1 -0
- package/dist/components/forms/morph-select/MorphSelectContent.vue_vue_type_script_setup_true_lang.cjs +238 -0
- package/dist/components/forms/morph-select/MorphSelectContent.vue_vue_type_script_setup_true_lang.cjs.map +1 -0
- package/dist/components/forms/morph-select/MorphSelectContent.vue_vue_type_script_setup_true_lang.mjs +237 -0
- package/dist/components/forms/morph-select/MorphSelectContent.vue_vue_type_script_setup_true_lang.mjs.map +1 -0
- package/dist/components/forms/morph-select/MorphSelectContext.cjs +14 -0
- package/dist/components/forms/morph-select/MorphSelectContext.cjs.map +1 -0
- package/dist/components/forms/morph-select/MorphSelectContext.mjs +12 -0
- package/dist/components/forms/morph-select/MorphSelectContext.mjs.map +1 -0
- package/dist/components/forms/morph-select/MorphSelectTrigger.cjs +6 -0
- package/dist/components/forms/morph-select/MorphSelectTrigger.cjs.map +1 -0
- package/dist/components/forms/morph-select/MorphSelectTrigger.mjs +7 -0
- package/dist/components/forms/morph-select/MorphSelectTrigger.mjs.map +1 -0
- package/dist/components/forms/morph-select/MorphSelectTrigger.vue_vue_type_script_setup_true_lang.cjs +156 -0
- package/dist/components/forms/morph-select/MorphSelectTrigger.vue_vue_type_script_setup_true_lang.cjs.map +1 -0
- package/dist/components/forms/morph-select/MorphSelectTrigger.vue_vue_type_script_setup_true_lang.mjs +155 -0
- package/dist/components/forms/morph-select/MorphSelectTrigger.vue_vue_type_script_setup_true_lang.mjs.map +1 -0
- package/dist/components/forms/morph-select/index.cjs +12 -0
- package/dist/components/forms/morph-select/index.cjs.map +1 -0
- package/dist/components/forms/morph-select/index.mjs +12 -0
- package/dist/components/forms/morph-select/index.mjs.map +1 -0
- package/dist/components/forms/morph-select/useMorphSelectKeyboard.cjs +40 -0
- package/dist/components/forms/morph-select/useMorphSelectKeyboard.cjs.map +1 -0
- package/dist/components/forms/morph-select/useMorphSelectKeyboard.mjs +40 -0
- package/dist/components/forms/morph-select/useMorphSelectKeyboard.mjs.map +1 -0
- package/dist/components/forms/pressButtonGroupGeometry.cjs +192 -0
- package/dist/components/forms/pressButtonGroupGeometry.cjs.map +1 -0
- package/dist/components/forms/pressButtonGroupGeometry.mjs +191 -0
- package/dist/components/forms/pressButtonGroupGeometry.mjs.map +1 -0
- package/dist/components/forms/pressButtonMotion.cjs +164 -0
- package/dist/components/forms/pressButtonMotion.cjs.map +1 -0
- package/dist/components/forms/pressButtonMotion.mjs +156 -0
- package/dist/components/forms/pressButtonMotion.mjs.map +1 -0
- package/dist/components/layout/AppShell.cjs.map +1 -1
- package/dist/components/layout/AppShell.mjs.map +1 -1
- package/dist/components/layout/AppShell.vue_vue_type_script_setup_true_lang.cjs +14 -5
- package/dist/components/layout/AppShell.vue_vue_type_script_setup_true_lang.cjs.map +1 -1
- package/dist/components/layout/AppShell.vue_vue_type_script_setup_true_lang.mjs +15 -6
- package/dist/components/layout/AppShell.vue_vue_type_script_setup_true_lang.mjs.map +1 -1
- package/dist/components/layout/Sidebar.cjs +4 -1
- package/dist/components/layout/Sidebar.cjs.map +1 -1
- package/dist/components/layout/Sidebar.mjs +3 -1
- package/dist/components/layout/Sidebar.mjs.map +1 -1
- package/dist/components/layout/Sidebar.vue_vue_type_script_setup_true_lang.cjs +31 -26
- package/dist/components/layout/Sidebar.vue_vue_type_script_setup_true_lang.cjs.map +1 -1
- package/dist/components/layout/Sidebar.vue_vue_type_script_setup_true_lang.mjs +32 -27
- package/dist/components/layout/Sidebar.vue_vue_type_script_setup_true_lang.mjs.map +1 -1
- package/dist/components/layout/SidebarRow.cjs +1 -1
- package/dist/components/layout/SidebarRow.cjs.map +1 -1
- package/dist/components/layout/SidebarRow.mjs +1 -1
- package/dist/components/layout/SidebarRow.mjs.map +1 -1
- package/dist/components/layout/SidebarRow.vue_vue_type_script_setup_true_lang.cjs +20 -59
- package/dist/components/layout/SidebarRow.vue_vue_type_script_setup_true_lang.cjs.map +1 -1
- package/dist/components/layout/SidebarRow.vue_vue_type_script_setup_true_lang.mjs +20 -59
- package/dist/components/layout/SidebarRow.vue_vue_type_script_setup_true_lang.mjs.map +1 -1
- package/dist/components/layout/SidebarRowContent.cjs +4 -1
- package/dist/components/layout/SidebarRowContent.cjs.map +1 -1
- package/dist/components/layout/SidebarRowContent.mjs +3 -1
- package/dist/components/layout/SidebarRowContent.mjs.map +1 -1
- package/dist/components/layout/SidebarRowContent.vue_vue_type_script_setup_true_lang.cjs +39 -35
- package/dist/components/layout/SidebarRowContent.vue_vue_type_script_setup_true_lang.cjs.map +1 -1
- package/dist/components/layout/SidebarRowContent.vue_vue_type_script_setup_true_lang.mjs +39 -35
- package/dist/components/layout/SidebarRowContent.vue_vue_type_script_setup_true_lang.mjs.map +1 -1
- package/dist/components/layout/popover/Popover.vue_vue_type_script_setup_true_lang.cjs +87 -0
- package/dist/components/layout/popover/Popover.vue_vue_type_script_setup_true_lang.cjs.map +1 -0
- package/dist/components/layout/popover/Popover.vue_vue_type_script_setup_true_lang.mjs +86 -0
- package/dist/components/layout/popover/Popover.vue_vue_type_script_setup_true_lang.mjs.map +1 -0
- package/dist/components/layout/popover/Popover2.cjs +6 -0
- package/dist/components/layout/popover/Popover2.cjs.map +1 -0
- package/dist/components/layout/popover/Popover2.mjs +7 -0
- package/dist/components/layout/popover/Popover2.mjs.map +1 -0
- package/dist/components/layout/popover/PopoverClose.cjs +6 -0
- package/dist/components/layout/popover/PopoverClose.cjs.map +1 -0
- package/dist/components/layout/popover/PopoverClose.mjs +7 -0
- package/dist/components/layout/popover/PopoverClose.mjs.map +1 -0
- package/dist/components/layout/popover/PopoverClose.vue_vue_type_script_setup_true_lang.cjs +66 -0
- package/dist/components/layout/popover/PopoverClose.vue_vue_type_script_setup_true_lang.cjs.map +1 -0
- package/dist/components/layout/popover/PopoverClose.vue_vue_type_script_setup_true_lang.mjs +65 -0
- package/dist/components/layout/popover/PopoverClose.vue_vue_type_script_setup_true_lang.mjs.map +1 -0
- package/dist/components/layout/popover/PopoverContent.cjs +6 -0
- package/dist/components/layout/popover/PopoverContent.cjs.map +1 -0
- package/dist/components/layout/popover/PopoverContent.mjs +7 -0
- package/dist/components/layout/popover/PopoverContent.mjs.map +1 -0
- package/dist/components/layout/popover/PopoverContent.vue_vue_type_script_setup_true_lang.cjs +186 -0
- package/dist/components/layout/popover/PopoverContent.vue_vue_type_script_setup_true_lang.cjs.map +1 -0
- package/dist/components/layout/popover/PopoverContent.vue_vue_type_script_setup_true_lang.mjs +185 -0
- package/dist/components/layout/popover/PopoverContent.vue_vue_type_script_setup_true_lang.mjs.map +1 -0
- package/dist/components/layout/popover/PopoverContext.cjs +14 -0
- package/dist/components/layout/popover/PopoverContext.cjs.map +1 -0
- package/dist/components/layout/popover/PopoverContext.mjs +12 -0
- package/dist/components/layout/popover/PopoverContext.mjs.map +1 -0
- package/dist/components/layout/popover/PopoverTrigger.cjs +6 -0
- package/dist/components/layout/popover/PopoverTrigger.cjs.map +1 -0
- package/dist/components/layout/popover/PopoverTrigger.mjs +7 -0
- package/dist/components/layout/popover/PopoverTrigger.mjs.map +1 -0
- package/dist/components/layout/popover/PopoverTrigger.vue_vue_type_script_setup_true_lang.cjs +126 -0
- package/dist/components/layout/popover/PopoverTrigger.vue_vue_type_script_setup_true_lang.cjs.map +1 -0
- package/dist/components/layout/popover/PopoverTrigger.vue_vue_type_script_setup_true_lang.mjs +125 -0
- package/dist/components/layout/popover/PopoverTrigger.vue_vue_type_script_setup_true_lang.mjs.map +1 -0
- package/dist/components/layout/popover/index.cjs +14 -0
- package/dist/components/layout/popover/index.cjs.map +1 -0
- package/dist/components/layout/popover/index.mjs +14 -0
- package/dist/components/layout/popover/index.mjs.map +1 -0
- package/dist/components/navigation/menu/ContextMenu.cjs +6 -0
- package/dist/components/navigation/menu/ContextMenu.cjs.map +1 -0
- package/dist/components/navigation/menu/ContextMenu.mjs +7 -0
- package/dist/components/navigation/menu/ContextMenu.mjs.map +1 -0
- package/dist/components/navigation/menu/ContextMenu.vue_vue_type_script_setup_true_lang.cjs +111 -0
- package/dist/components/navigation/menu/ContextMenu.vue_vue_type_script_setup_true_lang.cjs.map +1 -0
- package/dist/components/navigation/menu/ContextMenu.vue_vue_type_script_setup_true_lang.mjs +110 -0
- package/dist/components/navigation/menu/ContextMenu.vue_vue_type_script_setup_true_lang.mjs.map +1 -0
- package/dist/components/navigation/menu/ContextMenuTrigger.cjs +6 -0
- package/dist/components/navigation/menu/ContextMenuTrigger.cjs.map +1 -0
- package/dist/components/navigation/menu/ContextMenuTrigger.mjs +7 -0
- package/dist/components/navigation/menu/ContextMenuTrigger.mjs.map +1 -0
- package/dist/components/navigation/menu/ContextMenuTrigger.vue_vue_type_script_setup_true_lang.cjs +65 -0
- package/dist/components/navigation/menu/ContextMenuTrigger.vue_vue_type_script_setup_true_lang.cjs.map +1 -0
- package/dist/components/navigation/menu/ContextMenuTrigger.vue_vue_type_script_setup_true_lang.mjs +64 -0
- package/dist/components/navigation/menu/ContextMenuTrigger.vue_vue_type_script_setup_true_lang.mjs.map +1 -0
- package/dist/components/navigation/menu/Menu.vue_vue_type_script_setup_true_lang.cjs +92 -0
- package/dist/components/navigation/menu/Menu.vue_vue_type_script_setup_true_lang.cjs.map +1 -0
- package/dist/components/navigation/menu/Menu.vue_vue_type_script_setup_true_lang.mjs +91 -0
- package/dist/components/navigation/menu/Menu.vue_vue_type_script_setup_true_lang.mjs.map +1 -0
- package/dist/components/navigation/menu/Menu2.cjs +6 -0
- package/dist/components/navigation/menu/Menu2.cjs.map +1 -0
- package/dist/components/navigation/menu/Menu2.mjs +7 -0
- package/dist/components/navigation/menu/Menu2.mjs.map +1 -0
- package/dist/components/navigation/menu/MenuContent.cjs +6 -0
- package/dist/components/navigation/menu/MenuContent.cjs.map +1 -0
- package/dist/components/navigation/menu/MenuContent.mjs +7 -0
- package/dist/components/navigation/menu/MenuContent.mjs.map +1 -0
- package/dist/components/navigation/menu/MenuContent.vue_vue_type_script_setup_true_lang.cjs +227 -0
- package/dist/components/navigation/menu/MenuContent.vue_vue_type_script_setup_true_lang.cjs.map +1 -0
- package/dist/components/navigation/menu/MenuContent.vue_vue_type_script_setup_true_lang.mjs +226 -0
- package/dist/components/navigation/menu/MenuContent.vue_vue_type_script_setup_true_lang.mjs.map +1 -0
- package/dist/components/navigation/menu/MenuContext.cjs +22 -0
- package/dist/components/navigation/menu/MenuContext.cjs.map +1 -0
- package/dist/components/navigation/menu/MenuContext.mjs +18 -0
- package/dist/components/navigation/menu/MenuContext.mjs.map +1 -0
- package/dist/components/navigation/menu/MenuItem.cjs +6 -0
- package/dist/components/navigation/menu/MenuItem.cjs.map +1 -0
- package/dist/components/navigation/menu/MenuItem.mjs +7 -0
- package/dist/components/navigation/menu/MenuItem.mjs.map +1 -0
- package/dist/components/navigation/menu/MenuItem.vue_vue_type_script_setup_true_lang.cjs +69 -0
- package/dist/components/navigation/menu/MenuItem.vue_vue_type_script_setup_true_lang.cjs.map +1 -0
- package/dist/components/navigation/menu/MenuItem.vue_vue_type_script_setup_true_lang.mjs +68 -0
- package/dist/components/navigation/menu/MenuItem.vue_vue_type_script_setup_true_lang.mjs.map +1 -0
- package/dist/components/navigation/menu/MenuLabel.cjs +6 -0
- package/dist/components/navigation/menu/MenuLabel.cjs.map +1 -0
- package/dist/components/navigation/menu/MenuLabel.mjs +7 -0
- package/dist/components/navigation/menu/MenuLabel.mjs.map +1 -0
- package/dist/components/navigation/menu/MenuLabel.vue_vue_type_script_setup_true_lang.cjs +21 -0
- package/dist/components/navigation/menu/MenuLabel.vue_vue_type_script_setup_true_lang.cjs.map +1 -0
- package/dist/components/navigation/menu/MenuLabel.vue_vue_type_script_setup_true_lang.mjs +20 -0
- package/dist/components/navigation/menu/MenuLabel.vue_vue_type_script_setup_true_lang.mjs.map +1 -0
- package/dist/components/navigation/menu/MenuSeparator.cjs +6 -0
- package/dist/components/navigation/menu/MenuSeparator.cjs.map +1 -0
- package/dist/components/navigation/menu/MenuSeparator.mjs +7 -0
- package/dist/components/navigation/menu/MenuSeparator.mjs.map +1 -0
- package/dist/components/navigation/menu/MenuSeparator.vue_vue_type_script_setup_true_lang.cjs +22 -0
- package/dist/components/navigation/menu/MenuSeparator.vue_vue_type_script_setup_true_lang.cjs.map +1 -0
- package/dist/components/navigation/menu/MenuSeparator.vue_vue_type_script_setup_true_lang.mjs +21 -0
- package/dist/components/navigation/menu/MenuSeparator.vue_vue_type_script_setup_true_lang.mjs.map +1 -0
- package/dist/components/navigation/menu/MenuTrigger.cjs +6 -0
- package/dist/components/navigation/menu/MenuTrigger.cjs.map +1 -0
- package/dist/components/navigation/menu/MenuTrigger.mjs +7 -0
- package/dist/components/navigation/menu/MenuTrigger.mjs.map +1 -0
- package/dist/components/navigation/menu/MenuTrigger.vue_vue_type_script_setup_true_lang.cjs +135 -0
- package/dist/components/navigation/menu/MenuTrigger.vue_vue_type_script_setup_true_lang.cjs.map +1 -0
- package/dist/components/navigation/menu/MenuTrigger.vue_vue_type_script_setup_true_lang.mjs +134 -0
- package/dist/components/navigation/menu/MenuTrigger.vue_vue_type_script_setup_true_lang.mjs.map +1 -0
- package/dist/components/navigation/menu/index.cjs +28 -0
- package/dist/components/navigation/menu/index.cjs.map +1 -0
- package/dist/components/navigation/menu/index.mjs +27 -0
- package/dist/components/navigation/menu/index.mjs.map +1 -0
- package/dist/composables/useTeleportedModoTheme.cjs +103 -0
- package/dist/composables/useTeleportedModoTheme.cjs.map +1 -0
- package/dist/composables/useTeleportedModoTheme.mjs +102 -0
- package/dist/composables/useTeleportedModoTheme.mjs.map +1 -0
- package/dist/config/ModoLocale.cjs +10 -1
- package/dist/config/ModoLocale.cjs.map +1 -1
- package/dist/config/ModoLocale.mjs +10 -1
- package/dist/config/ModoLocale.mjs.map +1 -1
- package/dist/config/locales/es.cjs +10 -1
- package/dist/config/locales/es.cjs.map +1 -1
- package/dist/config/locales/es.mjs +10 -1
- package/dist/config/locales/es.mjs.map +1 -1
- package/dist/config/palettes.cjs +1 -1
- package/dist/config/palettes.cjs.map +1 -1
- package/dist/config/palettes.mjs +1 -1
- package/dist/config/palettes.mjs.map +1 -1
- package/dist/index.cjs +106 -0
- package/dist/index.mjs +52 -1
- package/dist/mood-ui.css +3439 -266
- package/dist/types/components/data-display/Typography.vue.d.ts +1 -1
- package/dist/types/components/data-display/avatar/AvatarGroup.vue.d.ts +2 -1
- package/dist/types/components/data-display/calendar/CalendarHeader.vue.d.ts +2 -2
- package/dist/types/components/data-display/chart/Sparkline.vue.d.ts +1 -1
- package/dist/types/components/data-display/surface-card/SurfaceCard.vue.d.ts +23 -0
- package/dist/types/components/data-display/surface-card/SurfaceCardBody.vue.d.ts +17 -0
- package/dist/types/components/data-display/surface-card/SurfaceCardFooter.vue.d.ts +18 -0
- package/dist/types/components/data-display/surface-card/SurfaceCardHeader.vue.d.ts +17 -0
- package/dist/types/components/data-display/surface-card/SurfaceCardMedia.vue.d.ts +17 -0
- package/dist/types/components/data-display/surface-card/SurfaceCardSeparator.vue.d.ts +6 -0
- package/dist/types/components/data-display/surface-card/SurfaceCardSubtitle.vue.d.ts +16 -0
- package/dist/types/components/data-display/surface-card/SurfaceCardTitle.vue.d.ts +19 -0
- package/dist/types/components/data-display/surface-card/index.d.ts +20 -0
- package/dist/types/components/data-display/surface-card/surfaceCardMotion.d.ts +10 -0
- package/dist/types/components/data-display/table/TablePagination.vue.d.ts +1 -0
- package/dist/types/components/feedback/Badge.vue.d.ts +1 -1
- package/dist/types/components/feedback/Chip.vue.d.ts +1 -1
- package/dist/types/components/feedback/Drawer.vue.d.ts +7 -6
- package/dist/types/components/feedback/Modal.vue.d.ts +1 -1
- package/dist/types/components/feedback/Tooltip.vue.d.ts +4 -4
- package/dist/types/components/feedback/dialog/Dialog.vue.d.ts +32 -0
- package/dist/types/components/feedback/dialog/DialogBody.vue.d.ts +13 -0
- package/dist/types/components/feedback/dialog/DialogClose.vue.d.ts +23 -0
- package/dist/types/components/feedback/dialog/DialogContent.vue.d.ts +22 -0
- package/dist/types/components/feedback/dialog/DialogContext.d.ts +15 -0
- package/dist/types/components/feedback/dialog/DialogDescription.vue.d.ts +13 -0
- package/dist/types/components/feedback/dialog/DialogFooter.vue.d.ts +13 -0
- package/dist/types/components/feedback/dialog/DialogHeader.vue.d.ts +13 -0
- package/dist/types/components/feedback/dialog/DialogIcon.vue.d.ts +14 -0
- package/dist/types/components/feedback/dialog/DialogTitle.vue.d.ts +13 -0
- package/dist/types/components/feedback/dialog/DialogTrigger.vue.d.ts +22 -0
- package/dist/types/components/feedback/dialog/index.d.ts +24 -0
- package/dist/types/components/feedback/dialog/overlayScope.d.ts +16 -0
- package/dist/types/components/feedback/liquid-toast/LiquidToast.vue.d.ts +24 -0
- package/dist/types/components/feedback/liquid-toast/LiquidToastShape.vue.d.ts +23 -0
- package/dist/types/components/feedback/liquid-toast/LiquidToaster.vue.d.ts +10 -0
- package/dist/types/components/feedback/liquid-toast/liquidToast.d.ts +29 -0
- package/dist/types/components/feedback/morph-tooltip/MorphTooltip.vue.d.ts +33 -0
- package/dist/types/components/feedback/morph-tooltip/MorphTooltipContent.vue.d.ts +21 -0
- package/dist/types/components/feedback/morph-tooltip/MorphTooltipContext.d.ts +23 -0
- package/dist/types/components/feedback/morph-tooltip/MorphTooltipTrigger.d.ts +15 -0
- package/dist/types/components/feedback/morph-tooltip/index.d.ts +128 -0
- package/dist/types/components/feedback/morph-tooltip/tooltipPlacement.d.ts +22 -0
- package/dist/types/components/feedback/sheet/Sheet.vue.d.ts +32 -0
- package/dist/types/components/feedback/sheet/SheetBody.vue.d.ts +13 -0
- package/dist/types/components/feedback/sheet/SheetClose.vue.d.ts +23 -0
- package/dist/types/components/feedback/sheet/SheetContent.vue.d.ts +18 -0
- package/dist/types/components/feedback/sheet/SheetContext.d.ts +15 -0
- package/dist/types/components/feedback/sheet/SheetDescription.vue.d.ts +13 -0
- package/dist/types/components/feedback/sheet/SheetFooter.vue.d.ts +13 -0
- package/dist/types/components/feedback/sheet/SheetHeader.vue.d.ts +13 -0
- package/dist/types/components/feedback/sheet/SheetTitle.vue.d.ts +13 -0
- package/dist/types/components/feedback/sheet/SheetTrigger.vue.d.ts +22 -0
- package/dist/types/components/feedback/sheet/index.d.ts +22 -0
- package/dist/types/components/forms/FileInput.vue.d.ts +2 -2
- package/dist/types/components/forms/ModeOrb.vue.d.ts +7 -0
- package/dist/types/components/forms/PressButton.vue.d.ts +41 -0
- package/dist/types/components/forms/PressButtonGroup.vue.d.ts +19 -0
- package/dist/types/components/forms/glass-switch/GlassSwitch.vue.d.ts +23 -0
- package/dist/types/components/forms/morph-select/MorphSelect.vue.d.ts +34 -0
- package/dist/types/components/forms/morph-select/MorphSelectContent.vue.d.ts +20 -0
- package/dist/types/components/forms/morph-select/MorphSelectContext.d.ts +36 -0
- package/dist/types/components/forms/morph-select/MorphSelectTrigger.vue.d.ts +18 -0
- package/dist/types/components/forms/morph-select/index.d.ts +125 -0
- package/dist/types/components/forms/morph-select/useMorphSelectKeyboard.d.ts +2 -0
- package/dist/types/components/forms/pressButtonGroupGeometry.d.ts +16 -0
- package/dist/types/components/forms/pressButtonMotion.d.ts +18 -0
- package/dist/types/components/layout/Canvas.vue.d.ts +1 -1
- package/dist/types/components/layout/PageHeader.vue.d.ts +2 -2
- package/dist/types/components/layout/Sidebar.vue.d.ts +3 -3
- package/dist/types/components/layout/SidebarRow.vue.d.ts +2 -2
- package/dist/types/components/layout/Stack.vue.d.ts +2 -2
- package/dist/types/components/layout/Topbar.vue.d.ts +2 -2
- package/dist/types/components/layout/popover/Popover.vue.d.ts +35 -0
- package/dist/types/components/layout/popover/PopoverClose.vue.d.ts +23 -0
- package/dist/types/components/layout/popover/PopoverContent.vue.d.ts +19 -0
- package/dist/types/components/layout/popover/PopoverContext.d.ts +19 -0
- package/dist/types/components/layout/popover/PopoverTrigger.vue.d.ts +24 -0
- package/dist/types/components/layout/popover/index.d.ts +12 -0
- package/dist/types/components/navigation/menu/ContextMenu.vue.d.ts +34 -0
- package/dist/types/components/navigation/menu/ContextMenuTrigger.vue.d.ts +13 -0
- package/dist/types/components/navigation/menu/Menu.vue.d.ts +35 -0
- package/dist/types/components/navigation/menu/MenuContent.vue.d.ts +18 -0
- package/dist/types/components/navigation/menu/MenuContext.d.ts +36 -0
- package/dist/types/components/navigation/menu/MenuItem.vue.d.ts +29 -0
- package/dist/types/components/navigation/menu/MenuLabel.vue.d.ts +13 -0
- package/dist/types/components/navigation/menu/MenuSeparator.vue.d.ts +3 -0
- package/dist/types/components/navigation/menu/MenuTrigger.vue.d.ts +24 -0
- package/dist/types/components/navigation/menu/index.d.ts +26 -0
- package/dist/types/composables/useTableSelection.d.ts +1 -1
- package/dist/types/composables/useTeleportedModoTheme.d.ts +17 -0
- package/dist/types/config/ModoLocale.d.ts +21 -0
- package/dist/types/index.d.ts +26 -0
- package/dist/types/interfaces/data-display/SurfaceCard.interface.d.ts +131 -0
- package/dist/types/interfaces/data-display/table/TablePagination.interface.d.ts +9 -1
- package/dist/types/interfaces/feedback/Dialog.interface.d.ts +132 -0
- package/dist/types/interfaces/feedback/Drawer.interface.d.ts +10 -5
- package/dist/types/interfaces/feedback/LiquidToast.interface.d.ts +75 -0
- package/dist/types/interfaces/feedback/Modal.interface.d.ts +1 -1
- package/dist/types/interfaces/feedback/MorphTooltip.interface.d.ts +43 -0
- package/dist/types/interfaces/feedback/Sheet.interface.d.ts +65 -0
- package/dist/types/interfaces/forms/GlassSwitch.interface.d.ts +44 -0
- package/dist/types/interfaces/forms/ModeOrb.interface.d.ts +30 -0
- package/dist/types/interfaces/forms/MorphSelect.interface.d.ts +65 -0
- package/dist/types/interfaces/forms/PressButton.interface.d.ts +92 -0
- package/dist/types/interfaces/forms/PressButtonGroup.interface.d.ts +23 -0
- package/dist/types/interfaces/layout/Popover.interface.d.ts +98 -0
- package/dist/types/interfaces/navigation/Menu.interface.d.ts +118 -0
- package/dist/types/utils/RenderContent.d.ts +6 -0
- package/dist/types/utils/calendarTooltip.d.ts +13 -0
- package/dist/types/utils/morph/morphEngine.d.ts +96 -0
- package/dist/types/utils/morph/morphHelpers.d.ts +68 -0
- package/dist/utils/RenderContent.cjs +9 -0
- package/dist/utils/RenderContent.cjs.map +1 -0
- package/dist/utils/RenderContent.mjs +8 -0
- package/dist/utils/RenderContent.mjs.map +1 -0
- package/dist/utils/calendarTooltip.cjs +18 -0
- package/dist/utils/calendarTooltip.cjs.map +1 -0
- package/dist/utils/calendarTooltip.mjs +18 -0
- package/dist/utils/calendarTooltip.mjs.map +1 -0
- package/dist/utils/morph/morphEngine.cjs +485 -0
- package/dist/utils/morph/morphEngine.cjs.map +1 -0
- package/dist/utils/morph/morphEngine.mjs +477 -0
- package/dist/utils/morph/morphEngine.mjs.map +1 -0
- package/dist/utils/morph/morphHelpers.cjs +624 -0
- package/dist/utils/morph/morphHelpers.cjs.map +1 -0
- package/dist/utils/morph/morphHelpers.mjs +614 -0
- package/dist/utils/morph/morphHelpers.mjs.map +1 -0
- package/package.json +1 -1
package/dist/components/data-display/calendar/AgendaView.vue_vue_type_script_setup_true_lang.cjs.map
CHANGED
|
@@ -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":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA8HA,MAAM,MAAM,sBAAA,eAAe;EAS3B,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,WA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A;;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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.vue_vue_type_script_setup_true_lang.mjs
CHANGED
|
@@ -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 {
|
|
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
|
-
|
|
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
|
-
|
|
608
|
-
},
|
|
608
|
+
})], 2)]),
|
|
609
|
+
key: "0"
|
|
610
|
+
} : void 0]), 1032, ["state", "style"])
|
|
609
611
|
], 38);
|
|
610
612
|
};
|
|
611
613
|
}
|
package/dist/components/data-display/calendar/AgendaView.vue_vue_type_script_setup_true_lang.mjs.map
CHANGED
|
@@ -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,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,E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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,E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