pukaad-ui-lib 1.32.0 → 1.34.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/dist/module.json +1 -1
- package/dist/runtime/components/button.d.vue.ts +2 -2
- package/dist/runtime/components/button.vue.d.ts +2 -2
- package/dist/runtime/components/card/card.d.vue.ts +6 -6
- package/dist/runtime/components/card/card.vue.d.ts +6 -6
- package/dist/runtime/components/carousel.d.vue.ts +2 -2
- package/dist/runtime/components/carousel.vue.d.ts +2 -2
- package/dist/runtime/components/collapse/collapse-multiple.d.vue.ts +2 -0
- package/dist/runtime/components/collapse/collapse-multiple.vue +12 -2
- package/dist/runtime/components/collapse/collapse-multiple.vue.d.ts +2 -0
- package/dist/runtime/components/data-list.d.vue.ts +7 -7
- package/dist/runtime/components/data-list.vue.d.ts +7 -7
- package/dist/runtime/components/data-table.d.vue.ts +16 -16
- package/dist/runtime/components/data-table.vue.d.ts +16 -16
- package/dist/runtime/components/dialog/dialog-email-OTP.d.vue.ts +2 -2
- package/dist/runtime/components/dialog/dialog-email-OTP.vue.d.ts +2 -2
- package/dist/runtime/components/dialog/dialog-phone-OTP.d.vue.ts +2 -2
- package/dist/runtime/components/dialog/dialog-phone-OTP.vue.d.ts +2 -2
- package/dist/runtime/components/drawer/drawer.d.vue.ts +5 -5
- package/dist/runtime/components/drawer/drawer.vue.d.ts +5 -5
- package/dist/runtime/components/dropdown.d.vue.ts +2 -2
- package/dist/runtime/components/dropdown.vue.d.ts +2 -2
- package/dist/runtime/components/input/input-birth-date.d.vue.ts +42 -0
- package/dist/runtime/components/input/input-birth-date.vue +74 -0
- package/dist/runtime/components/input/input-birth-date.vue.d.ts +42 -0
- package/dist/runtime/components/input/input-combobox.d.vue.ts +3 -3
- package/dist/runtime/components/input/input-combobox.vue.d.ts +3 -3
- package/dist/runtime/components/input/input-date-picker.d.vue.ts +57 -0
- package/dist/runtime/components/input/input-date-picker.vue +208 -0
- package/dist/runtime/components/input/input-date-picker.vue.d.ts +57 -0
- package/dist/runtime/components/input/input-file.d.vue.ts +5 -5
- package/dist/runtime/components/input/input-file.vue.d.ts +5 -5
- package/dist/runtime/components/input/input-radio.d.vue.ts +13 -13
- package/dist/runtime/components/input/input-radio.vue.d.ts +13 -13
- package/dist/runtime/components/input/input-select.d.vue.ts +2 -2
- package/dist/runtime/components/input/input-select.vue.d.ts +2 -2
- package/dist/runtime/components/input/input-slider.d.vue.ts +1 -1
- package/dist/runtime/components/input/input-slider.vue.d.ts +1 -1
- package/dist/runtime/components/input/input-text-field.d.vue.ts +4 -4
- package/dist/runtime/components/input/input-text-field.vue.d.ts +4 -4
- package/dist/runtime/components/input/input-textarea.d.vue.ts +4 -4
- package/dist/runtime/components/input/input-textarea.vue.d.ts +4 -4
- package/dist/runtime/components/modal/modal-account-disabled-alert.d.vue.ts +2 -2
- package/dist/runtime/components/modal/modal-account-disabled-alert.vue.d.ts +2 -2
- package/dist/runtime/components/modal/modal-account-disabled-confirmed.d.vue.ts +2 -2
- package/dist/runtime/components/modal/modal-account-disabled-confirmed.vue.d.ts +2 -2
- package/dist/runtime/components/modal/modal-account-disabled-reason.d.vue.ts +2 -2
- package/dist/runtime/components/modal/modal-account-disabled-reason.vue.d.ts +2 -2
- package/dist/runtime/components/modal/modal-password-new.d.vue.ts +2 -2
- package/dist/runtime/components/modal/modal-password-new.vue.d.ts +2 -2
- package/dist/runtime/components/modal/modal-password.d.vue.ts +2 -2
- package/dist/runtime/components/modal/modal-password.vue.d.ts +2 -2
- package/dist/runtime/components/modal/modal-phone-OTP.d.vue.ts +2 -2
- package/dist/runtime/components/modal/modal-phone-OTP.vue.d.ts +2 -2
- package/dist/runtime/components/modal/modal.d.vue.ts +7 -7
- package/dist/runtime/components/modal/modal.vue.d.ts +7 -7
- package/dist/runtime/components/table.d.vue.ts +6 -6
- package/dist/runtime/components/table.vue.d.ts +6 -6
- package/dist/runtime/components/tooltip.d.vue.ts +3 -3
- package/dist/runtime/components/tooltip.vue.d.ts +3 -3
- package/dist/runtime/components/ui/alert-dialog/AlertDialog.d.vue.ts +2 -2
- package/dist/runtime/components/ui/alert-dialog/AlertDialog.vue.d.ts +2 -2
- package/dist/runtime/components/ui/alert-dialog/AlertDialogAction.d.vue.ts +2 -2
- package/dist/runtime/components/ui/alert-dialog/AlertDialogAction.vue.d.ts +2 -2
- package/dist/runtime/components/ui/alert-dialog/AlertDialogCancel.d.vue.ts +2 -2
- package/dist/runtime/components/ui/alert-dialog/AlertDialogCancel.vue.d.ts +2 -2
- package/dist/runtime/components/ui/alert-dialog/AlertDialogContent.d.vue.ts +2 -2
- package/dist/runtime/components/ui/alert-dialog/AlertDialogContent.vue.d.ts +2 -2
- package/dist/runtime/components/ui/alert-dialog/AlertDialogDescription.d.vue.ts +2 -2
- package/dist/runtime/components/ui/alert-dialog/AlertDialogDescription.vue.d.ts +2 -2
- package/dist/runtime/components/ui/alert-dialog/AlertDialogTitle.d.vue.ts +2 -2
- package/dist/runtime/components/ui/alert-dialog/AlertDialogTitle.vue.d.ts +2 -2
- package/dist/runtime/components/ui/alert-dialog/AlertDialogTrigger.d.vue.ts +2 -2
- package/dist/runtime/components/ui/alert-dialog/AlertDialogTrigger.vue.d.ts +2 -2
- package/dist/runtime/components/ui/avatar/Avatar.d.vue.ts +2 -2
- package/dist/runtime/components/ui/avatar/Avatar.vue.d.ts +2 -2
- package/dist/runtime/components/ui/avatar/AvatarFallback.d.vue.ts +2 -2
- package/dist/runtime/components/ui/avatar/AvatarFallback.vue.d.ts +2 -2
- package/dist/runtime/components/ui/avatar/AvatarImage.d.vue.ts +2 -2
- package/dist/runtime/components/ui/avatar/AvatarImage.vue.d.ts +2 -2
- package/dist/runtime/components/ui/button/Button.d.vue.ts +2 -2
- package/dist/runtime/components/ui/button/Button.vue.d.ts +2 -2
- package/dist/runtime/components/ui/calendar/Calendar.d.vue.ts +42 -0
- package/dist/runtime/components/ui/calendar/Calendar.vue +174 -0
- package/dist/runtime/components/ui/calendar/Calendar.vue.d.ts +42 -0
- package/dist/runtime/components/ui/calendar/CalendarCell.d.vue.ts +18 -0
- package/dist/runtime/components/ui/calendar/CalendarCell.vue +23 -0
- package/dist/runtime/components/ui/calendar/CalendarCell.vue.d.ts +18 -0
- package/dist/runtime/components/ui/calendar/CalendarCellTrigger.d.vue.ts +20 -0
- package/dist/runtime/components/ui/calendar/CalendarCellTrigger.vue +38 -0
- package/dist/runtime/components/ui/calendar/CalendarCellTrigger.vue.d.ts +20 -0
- package/dist/runtime/components/ui/calendar/CalendarGrid.d.vue.ts +18 -0
- package/dist/runtime/components/ui/calendar/CalendarGrid.vue +22 -0
- package/dist/runtime/components/ui/calendar/CalendarGrid.vue.d.ts +18 -0
- package/dist/runtime/components/ui/calendar/CalendarGridBody.d.vue.ts +14 -0
- package/dist/runtime/components/ui/calendar/CalendarGridBody.vue +16 -0
- package/dist/runtime/components/ui/calendar/CalendarGridBody.vue.d.ts +14 -0
- package/dist/runtime/components/ui/calendar/CalendarGridHead.d.vue.ts +18 -0
- package/dist/runtime/components/ui/calendar/CalendarGridHead.vue +17 -0
- package/dist/runtime/components/ui/calendar/CalendarGridHead.vue.d.ts +18 -0
- package/dist/runtime/components/ui/calendar/CalendarGridRow.d.vue.ts +18 -0
- package/dist/runtime/components/ui/calendar/CalendarGridRow.vue +21 -0
- package/dist/runtime/components/ui/calendar/CalendarGridRow.vue.d.ts +18 -0
- package/dist/runtime/components/ui/calendar/CalendarHeadCell.d.vue.ts +18 -0
- package/dist/runtime/components/ui/calendar/CalendarHeadCell.vue +22 -0
- package/dist/runtime/components/ui/calendar/CalendarHeadCell.vue.d.ts +18 -0
- package/dist/runtime/components/ui/calendar/CalendarHeader.d.vue.ts +18 -0
- package/dist/runtime/components/ui/calendar/CalendarHeader.vue +22 -0
- package/dist/runtime/components/ui/calendar/CalendarHeader.vue.d.ts +18 -0
- package/dist/runtime/components/ui/calendar/CalendarHeading.d.vue.ts +19 -0
- package/dist/runtime/components/ui/calendar/CalendarHeading.vue +26 -0
- package/dist/runtime/components/ui/calendar/CalendarHeading.vue.d.ts +19 -0
- package/dist/runtime/components/ui/calendar/CalendarNextButton.d.vue.ts +18 -0
- package/dist/runtime/components/ui/calendar/CalendarNextButton.vue +32 -0
- package/dist/runtime/components/ui/calendar/CalendarNextButton.vue.d.ts +18 -0
- package/dist/runtime/components/ui/calendar/CalendarPrevButton.d.vue.ts +18 -0
- package/dist/runtime/components/ui/calendar/CalendarPrevButton.vue +32 -0
- package/dist/runtime/components/ui/calendar/CalendarPrevButton.vue.d.ts +18 -0
- package/dist/runtime/components/ui/calendar/index.d.ts +13 -0
- package/dist/runtime/components/ui/calendar/index.js +12 -0
- package/dist/runtime/components/ui/carousel/Carousel.d.vue.ts +7 -7
- package/dist/runtime/components/ui/carousel/Carousel.vue.d.ts +7 -7
- package/dist/runtime/components/ui/checkbox/Checkbox.d.vue.ts +2 -2
- package/dist/runtime/components/ui/checkbox/Checkbox.vue.d.ts +2 -2
- package/dist/runtime/components/ui/command/Command.d.vue.ts +2 -2
- package/dist/runtime/components/ui/command/Command.vue.d.ts +2 -2
- package/dist/runtime/components/ui/command/CommandDialog.d.vue.ts +2 -2
- package/dist/runtime/components/ui/command/CommandDialog.vue.d.ts +2 -2
- package/dist/runtime/components/ui/command/CommandEmpty.d.vue.ts +2 -2
- package/dist/runtime/components/ui/command/CommandEmpty.vue.d.ts +2 -2
- package/dist/runtime/components/ui/command/CommandGroup.d.vue.ts +2 -2
- package/dist/runtime/components/ui/command/CommandGroup.vue.d.ts +2 -2
- package/dist/runtime/components/ui/command/CommandList.d.vue.ts +2 -2
- package/dist/runtime/components/ui/command/CommandList.vue.d.ts +2 -2
- package/dist/runtime/components/ui/command/CommandSeparator.d.vue.ts +2 -2
- package/dist/runtime/components/ui/command/CommandSeparator.vue.d.ts +2 -2
- package/dist/runtime/components/ui/dialog/Dialog.d.vue.ts +2 -2
- package/dist/runtime/components/ui/dialog/Dialog.vue.d.ts +2 -2
- package/dist/runtime/components/ui/dialog/DialogClose.d.vue.ts +2 -2
- package/dist/runtime/components/ui/dialog/DialogClose.vue.d.ts +2 -2
- package/dist/runtime/components/ui/dialog/DialogContent.d.vue.ts +2 -2
- package/dist/runtime/components/ui/dialog/DialogContent.vue.d.ts +2 -2
- package/dist/runtime/components/ui/dialog/DialogDescription.d.vue.ts +2 -2
- package/dist/runtime/components/ui/dialog/DialogDescription.vue.d.ts +2 -2
- package/dist/runtime/components/ui/dialog/DialogOverlay.d.vue.ts +2 -2
- package/dist/runtime/components/ui/dialog/DialogOverlay.vue.d.ts +2 -2
- package/dist/runtime/components/ui/dialog/DialogScrollContent.d.vue.ts +2 -2
- package/dist/runtime/components/ui/dialog/DialogScrollContent.vue.d.ts +2 -2
- package/dist/runtime/components/ui/dialog/DialogTitle.d.vue.ts +2 -2
- package/dist/runtime/components/ui/dialog/DialogTitle.vue.d.ts +2 -2
- package/dist/runtime/components/ui/dialog/DialogTrigger.d.vue.ts +2 -2
- package/dist/runtime/components/ui/dialog/DialogTrigger.vue.d.ts +2 -2
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenu.d.vue.ts +2 -2
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenu.vue.d.ts +2 -2
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuCheckboxItem.d.vue.ts +2 -2
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuCheckboxItem.vue.d.ts +2 -2
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuContent.d.vue.ts +2 -2
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuContent.vue.d.ts +2 -2
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuGroup.d.vue.ts +2 -2
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuGroup.vue.d.ts +2 -2
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuItem.d.vue.ts +2 -2
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuItem.vue.d.ts +2 -2
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuLabel.d.vue.ts +2 -2
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuLabel.vue.d.ts +2 -2
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuRadioGroup.d.vue.ts +2 -2
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuRadioGroup.vue.d.ts +2 -2
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuRadioItem.d.vue.ts +3 -3
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuRadioItem.vue.d.ts +3 -3
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuSub.d.vue.ts +2 -2
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuSub.vue.d.ts +2 -2
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuSubContent.d.vue.ts +2 -2
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuSubContent.vue.d.ts +2 -2
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuSubTrigger.d.vue.ts +2 -2
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuSubTrigger.vue.d.ts +2 -2
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuTrigger.d.vue.ts +2 -2
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuTrigger.vue.d.ts +2 -2
- package/dist/runtime/components/ui/form/FormControl.d.vue.ts +2 -2
- package/dist/runtime/components/ui/form/FormControl.vue.d.ts +2 -2
- package/dist/runtime/components/ui/form/FormLabel.d.vue.ts +2 -2
- package/dist/runtime/components/ui/form/FormLabel.vue.d.ts +2 -2
- package/dist/runtime/components/ui/input-group/InputGroupButton.d.vue.ts +3 -3
- package/dist/runtime/components/ui/input-group/InputGroupButton.vue.d.ts +3 -3
- package/dist/runtime/components/ui/input-group/index.d.ts +1 -1
- package/dist/runtime/components/ui/label/Label.d.vue.ts +2 -2
- package/dist/runtime/components/ui/label/Label.vue.d.ts +2 -2
- package/dist/runtime/components/ui/native-select/NativeSelect.d.vue.ts +23 -0
- package/dist/runtime/components/ui/native-select/NativeSelect.vue +44 -0
- package/dist/runtime/components/ui/native-select/NativeSelect.vue.d.ts +23 -0
- package/dist/runtime/components/ui/native-select/NativeSelectOptGroup.d.vue.ts +401 -0
- package/dist/runtime/components/ui/native-select/NativeSelectOptGroup.vue +12 -0
- package/dist/runtime/components/ui/native-select/NativeSelectOptGroup.vue.d.ts +401 -0
- package/dist/runtime/components/ui/native-select/NativeSelectOption.d.vue.ts +405 -0
- package/dist/runtime/components/ui/native-select/NativeSelectOption.vue +12 -0
- package/dist/runtime/components/ui/native-select/NativeSelectOption.vue.d.ts +405 -0
- package/dist/runtime/components/ui/native-select/index.d.ts +3 -0
- package/dist/runtime/components/ui/native-select/index.js +3 -0
- package/dist/runtime/components/ui/pagination/Pagination.d.vue.ts +2 -2
- package/dist/runtime/components/ui/pagination/Pagination.vue.d.ts +2 -2
- package/dist/runtime/components/ui/pagination/PaginationContent.d.vue.ts +2 -2
- package/dist/runtime/components/ui/pagination/PaginationContent.vue.d.ts +2 -2
- package/dist/runtime/components/ui/pagination/PaginationEllipsis.d.vue.ts +2 -2
- package/dist/runtime/components/ui/pagination/PaginationEllipsis.vue.d.ts +2 -2
- package/dist/runtime/components/ui/pagination/PaginationFirst.d.vue.ts +2 -2
- package/dist/runtime/components/ui/pagination/PaginationFirst.vue.d.ts +2 -2
- package/dist/runtime/components/ui/pagination/PaginationItem.d.vue.ts +2 -2
- package/dist/runtime/components/ui/pagination/PaginationItem.vue.d.ts +2 -2
- package/dist/runtime/components/ui/pagination/PaginationLast.d.vue.ts +2 -2
- package/dist/runtime/components/ui/pagination/PaginationLast.vue.d.ts +2 -2
- package/dist/runtime/components/ui/pagination/PaginationNext.d.vue.ts +2 -2
- package/dist/runtime/components/ui/pagination/PaginationNext.vue.d.ts +2 -2
- package/dist/runtime/components/ui/pagination/PaginationPrevious.d.vue.ts +2 -2
- package/dist/runtime/components/ui/pagination/PaginationPrevious.vue.d.ts +2 -2
- package/dist/runtime/components/ui/pin-input/PinInput.d.vue.ts +8 -4
- package/dist/runtime/components/ui/pin-input/PinInput.vue.d.ts +8 -4
- package/dist/runtime/components/ui/pin-input/PinInputGroup.d.vue.ts +2 -2
- package/dist/runtime/components/ui/pin-input/PinInputGroup.vue.d.ts +2 -2
- package/dist/runtime/components/ui/pin-input/PinInputSeparator.d.vue.ts +2 -2
- package/dist/runtime/components/ui/pin-input/PinInputSeparator.vue.d.ts +2 -2
- package/dist/runtime/components/ui/popover/Popover.d.vue.ts +2 -2
- package/dist/runtime/components/ui/popover/Popover.vue.d.ts +2 -2
- package/dist/runtime/components/ui/popover/PopoverAnchor.d.vue.ts +2 -2
- package/dist/runtime/components/ui/popover/PopoverAnchor.vue.d.ts +2 -2
- package/dist/runtime/components/ui/popover/PopoverContent.d.vue.ts +2 -2
- package/dist/runtime/components/ui/popover/PopoverContent.vue.d.ts +2 -2
- package/dist/runtime/components/ui/popover/PopoverTrigger.d.vue.ts +2 -2
- package/dist/runtime/components/ui/popover/PopoverTrigger.vue.d.ts +2 -2
- package/dist/runtime/components/ui/scroll-area/ScrollArea.d.vue.ts +18 -0
- package/dist/runtime/components/ui/scroll-area/ScrollArea.vue +32 -0
- package/dist/runtime/components/ui/scroll-area/ScrollArea.vue.d.ts +18 -0
- package/dist/runtime/components/ui/scroll-area/ScrollBar.d.vue.ts +10 -0
- package/dist/runtime/components/ui/scroll-area/ScrollBar.vue +33 -0
- package/dist/runtime/components/ui/scroll-area/ScrollBar.vue.d.ts +10 -0
- package/dist/runtime/components/ui/scroll-area/index.d.ts +2 -0
- package/dist/runtime/components/ui/scroll-area/index.js +2 -0
- package/dist/runtime/components/ui/select/Select.d.vue.ts +2 -2
- package/dist/runtime/components/ui/select/Select.vue.d.ts +2 -2
- package/dist/runtime/components/ui/select/SelectContent.d.vue.ts +2 -2
- package/dist/runtime/components/ui/select/SelectContent.vue.d.ts +2 -2
- package/dist/runtime/components/ui/select/SelectGroup.d.vue.ts +2 -2
- package/dist/runtime/components/ui/select/SelectGroup.vue.d.ts +2 -2
- package/dist/runtime/components/ui/select/SelectItem.d.vue.ts +3 -3
- package/dist/runtime/components/ui/select/SelectItem.vue.d.ts +3 -3
- package/dist/runtime/components/ui/select/SelectItemText.d.vue.ts +2 -2
- package/dist/runtime/components/ui/select/SelectItemText.vue.d.ts +2 -2
- package/dist/runtime/components/ui/select/SelectLabel.d.vue.ts +2 -2
- package/dist/runtime/components/ui/select/SelectLabel.vue.d.ts +2 -2
- package/dist/runtime/components/ui/select/SelectScrollDownButton.d.vue.ts +2 -2
- package/dist/runtime/components/ui/select/SelectScrollDownButton.vue.d.ts +2 -2
- package/dist/runtime/components/ui/select/SelectScrollUpButton.d.vue.ts +2 -2
- package/dist/runtime/components/ui/select/SelectScrollUpButton.vue.d.ts +2 -2
- package/dist/runtime/components/ui/select/SelectTrigger.d.vue.ts +2 -2
- package/dist/runtime/components/ui/select/SelectTrigger.vue.d.ts +2 -2
- package/dist/runtime/components/ui/select/SelectValue.d.vue.ts +2 -2
- package/dist/runtime/components/ui/select/SelectValue.vue.d.ts +2 -2
- package/dist/runtime/components/ui/sheet/Sheet.d.vue.ts +2 -2
- package/dist/runtime/components/ui/sheet/Sheet.vue.d.ts +2 -2
- package/dist/runtime/components/ui/sheet/SheetClose.d.vue.ts +2 -2
- package/dist/runtime/components/ui/sheet/SheetClose.vue.d.ts +2 -2
- package/dist/runtime/components/ui/sheet/SheetContent.d.vue.ts +2 -2
- package/dist/runtime/components/ui/sheet/SheetContent.vue.d.ts +2 -2
- package/dist/runtime/components/ui/sheet/SheetDescription.d.vue.ts +2 -2
- package/dist/runtime/components/ui/sheet/SheetDescription.vue.d.ts +2 -2
- package/dist/runtime/components/ui/sheet/SheetOverlay.d.vue.ts +2 -2
- package/dist/runtime/components/ui/sheet/SheetOverlay.vue.d.ts +2 -2
- package/dist/runtime/components/ui/sheet/SheetTitle.d.vue.ts +2 -2
- package/dist/runtime/components/ui/sheet/SheetTitle.vue.d.ts +2 -2
- package/dist/runtime/components/ui/sheet/SheetTrigger.d.vue.ts +2 -2
- package/dist/runtime/components/ui/sheet/SheetTrigger.vue.d.ts +2 -2
- package/dist/runtime/components/ui/table/TableEmpty.d.vue.ts +2 -2
- package/dist/runtime/components/ui/table/TableEmpty.vue.d.ts +2 -2
- package/dist/runtime/components/ui/tabs/Tabs.d.vue.ts +2 -2
- package/dist/runtime/components/ui/tabs/Tabs.vue.d.ts +2 -2
- package/dist/runtime/components/ui/tabs/TabsContent.d.vue.ts +2 -2
- package/dist/runtime/components/ui/tabs/TabsContent.vue.d.ts +2 -2
- package/dist/runtime/components/ui/tabs/TabsList.d.vue.ts +2 -2
- package/dist/runtime/components/ui/tabs/TabsList.vue.d.ts +2 -2
- package/dist/runtime/components/ui/tabs/TabsTrigger.d.vue.ts +2 -2
- package/dist/runtime/components/ui/tabs/TabsTrigger.vue.d.ts +2 -2
- package/dist/runtime/components/ui/tooltip/Tooltip.d.vue.ts +2 -2
- package/dist/runtime/components/ui/tooltip/Tooltip.vue.d.ts +2 -2
- package/dist/runtime/components/ui/tooltip/TooltipContent.d.vue.ts +2 -2
- package/dist/runtime/components/ui/tooltip/TooltipContent.vue.d.ts +2 -2
- package/dist/runtime/components/ui/tooltip/TooltipProvider.d.vue.ts +2 -2
- package/dist/runtime/components/ui/tooltip/TooltipProvider.vue.d.ts +2 -2
- package/dist/runtime/components/ui/tooltip/TooltipTrigger.d.vue.ts +2 -2
- package/dist/runtime/components/ui/tooltip/TooltipTrigger.vue.d.ts +2 -2
- package/package.json +1 -1
|
@@ -0,0 +1,174 @@
|
|
|
1
|
+
<script setup>
|
|
2
|
+
import { getLocalTimeZone, today } from "@internationalized/date";
|
|
3
|
+
import { createReusableTemplate, reactiveOmit, useVModel } from "@vueuse/core";
|
|
4
|
+
import { CalendarRoot, useDateFormatter, useForwardPropsEmits } from "reka-ui";
|
|
5
|
+
import { createYear, createYearRange, toDate } from "reka-ui/date";
|
|
6
|
+
import { computed, toRaw } from "vue";
|
|
7
|
+
import { cn } from "@/runtime/plugins/shadcn";
|
|
8
|
+
import { NativeSelect, NativeSelectOption } from "@/runtime/components/ui/native-select";
|
|
9
|
+
import { CalendarCell, CalendarCellTrigger, CalendarGrid, CalendarGridBody, CalendarGridHead, CalendarGridRow, CalendarHeadCell, CalendarHeader, CalendarHeading, CalendarNextButton, CalendarPrevButton } from ".";
|
|
10
|
+
const props = defineProps({
|
|
11
|
+
defaultValue: { type: null, required: false },
|
|
12
|
+
defaultPlaceholder: { type: null, required: false },
|
|
13
|
+
placeholder: { type: null, required: false },
|
|
14
|
+
pagedNavigation: { type: Boolean, required: false },
|
|
15
|
+
preventDeselect: { type: Boolean, required: false },
|
|
16
|
+
weekStartsOn: { type: Number, required: false },
|
|
17
|
+
weekdayFormat: { type: String, required: false },
|
|
18
|
+
calendarLabel: { type: String, required: false },
|
|
19
|
+
fixedWeeks: { type: Boolean, required: false },
|
|
20
|
+
maxValue: { type: null, required: false },
|
|
21
|
+
minValue: { type: null, required: false },
|
|
22
|
+
locale: { type: String, required: false },
|
|
23
|
+
numberOfMonths: { type: Number, required: false },
|
|
24
|
+
disabled: { type: Boolean, required: false },
|
|
25
|
+
readonly: { type: Boolean, required: false },
|
|
26
|
+
initialFocus: { type: Boolean, required: false },
|
|
27
|
+
isDateDisabled: { type: Function, required: false },
|
|
28
|
+
isDateUnavailable: { type: Function, required: false },
|
|
29
|
+
dir: { type: String, required: false },
|
|
30
|
+
nextPage: { type: Function, required: false },
|
|
31
|
+
prevPage: { type: Function, required: false },
|
|
32
|
+
modelValue: { type: null, required: false, default: void 0 },
|
|
33
|
+
multiple: { type: Boolean, required: false },
|
|
34
|
+
disableDaysOutsideCurrentView: { type: Boolean, required: false },
|
|
35
|
+
asChild: { type: Boolean, required: false },
|
|
36
|
+
as: { type: null, required: false },
|
|
37
|
+
class: { type: null, required: false },
|
|
38
|
+
layout: { type: null, required: false, default: void 0 },
|
|
39
|
+
yearRange: { type: Array, required: false }
|
|
40
|
+
});
|
|
41
|
+
const emits = defineEmits(["update:modelValue", "update:placeholder"]);
|
|
42
|
+
const delegatedProps = reactiveOmit(props, "class", "layout", "placeholder");
|
|
43
|
+
const placeholder = useVModel(props, "placeholder", emits, {
|
|
44
|
+
passive: true,
|
|
45
|
+
defaultValue: props.defaultPlaceholder ?? today(getLocalTimeZone())
|
|
46
|
+
});
|
|
47
|
+
const formatter = useDateFormatter(props.locale ?? "en");
|
|
48
|
+
const yearRange = computed(() => {
|
|
49
|
+
return props.yearRange ?? createYearRange({
|
|
50
|
+
start: props?.minValue ?? (toRaw(props.placeholder) ?? props.defaultPlaceholder ?? today(getLocalTimeZone())).cycle("year", -100),
|
|
51
|
+
end: props?.maxValue ?? (toRaw(props.placeholder) ?? props.defaultPlaceholder ?? today(getLocalTimeZone())).cycle("year", 10)
|
|
52
|
+
});
|
|
53
|
+
});
|
|
54
|
+
const [DefineMonthTemplate, ReuseMonthTemplate] = createReusableTemplate();
|
|
55
|
+
const [DefineYearTemplate, ReuseYearTemplate] = createReusableTemplate();
|
|
56
|
+
const forwarded = useForwardPropsEmits(delegatedProps, emits);
|
|
57
|
+
</script>
|
|
58
|
+
|
|
59
|
+
<template>
|
|
60
|
+
<DefineMonthTemplate v-slot="{ date }">
|
|
61
|
+
<div class="**:data-[slot=native-select-icon]:right-1">
|
|
62
|
+
<div class="relative">
|
|
63
|
+
<div class="absolute inset-0 flex h-full items-center text-sm pl-2 pointer-events-none">
|
|
64
|
+
{{ formatter.custom(toDate(date), { month: "short" }) }}
|
|
65
|
+
</div>
|
|
66
|
+
<NativeSelect
|
|
67
|
+
class="text-xs h-8 pr-6 pl-2 text-transparent relative"
|
|
68
|
+
@change="(e) => {
|
|
69
|
+
placeholder = placeholder.set({
|
|
70
|
+
month: Number(e?.target?.value)
|
|
71
|
+
});
|
|
72
|
+
}"
|
|
73
|
+
>
|
|
74
|
+
<NativeSelectOption v-for="(month) in createYear({ dateObj: date })" :key="month.toString()" :value="month.month" :selected="date.month === month.month">
|
|
75
|
+
{{ formatter.custom(toDate(month), { month: "short" }) }}
|
|
76
|
+
</NativeSelectOption>
|
|
77
|
+
</NativeSelect>
|
|
78
|
+
</div>
|
|
79
|
+
</div>
|
|
80
|
+
</DefineMonthTemplate>
|
|
81
|
+
|
|
82
|
+
<DefineYearTemplate v-slot="{ date }">
|
|
83
|
+
<div class="**:data-[slot=native-select-icon]:right-1">
|
|
84
|
+
<div class="relative">
|
|
85
|
+
<div class="absolute inset-0 flex h-full items-center text-sm pl-2 pointer-events-none">
|
|
86
|
+
{{ formatter.custom(toDate(date), { year: "numeric" }) }}
|
|
87
|
+
</div>
|
|
88
|
+
<NativeSelect
|
|
89
|
+
class="text-xs h-8 pr-6 pl-2 text-transparent relative"
|
|
90
|
+
@change="(e) => {
|
|
91
|
+
placeholder = placeholder.set({
|
|
92
|
+
year: Number(e?.target?.value)
|
|
93
|
+
});
|
|
94
|
+
}"
|
|
95
|
+
>
|
|
96
|
+
<NativeSelectOption v-for="(year) in yearRange" :key="year.toString()" :value="year.year" :selected="date.year === year.year">
|
|
97
|
+
{{ formatter.custom(toDate(year), { year: "numeric" }) }}
|
|
98
|
+
</NativeSelectOption>
|
|
99
|
+
</NativeSelect>
|
|
100
|
+
</div>
|
|
101
|
+
</div>
|
|
102
|
+
</DefineYearTemplate>
|
|
103
|
+
|
|
104
|
+
<CalendarRoot
|
|
105
|
+
v-slot="{ grid, weekDays, date }"
|
|
106
|
+
v-bind="forwarded"
|
|
107
|
+
v-model:placeholder="placeholder"
|
|
108
|
+
data-slot="calendar"
|
|
109
|
+
:class="cn('p-3', props.class)"
|
|
110
|
+
>
|
|
111
|
+
<CalendarHeader class="pt-0">
|
|
112
|
+
<nav class="flex items-center gap-1 absolute top-0 inset-x-0 justify-between">
|
|
113
|
+
<CalendarPrevButton>
|
|
114
|
+
<slot name="calendar-prev-icon" />
|
|
115
|
+
</CalendarPrevButton>
|
|
116
|
+
<CalendarNextButton>
|
|
117
|
+
<slot name="calendar-next-icon" />
|
|
118
|
+
</CalendarNextButton>
|
|
119
|
+
</nav>
|
|
120
|
+
|
|
121
|
+
<slot name="calendar-heading" :date="date" :month="ReuseMonthTemplate" :year="ReuseYearTemplate">
|
|
122
|
+
<template v-if="layout === 'month-and-year'">
|
|
123
|
+
<div class="flex items-center justify-center gap-1">
|
|
124
|
+
<ReuseMonthTemplate :date="date" />
|
|
125
|
+
<ReuseYearTemplate :date="date" />
|
|
126
|
+
</div>
|
|
127
|
+
</template>
|
|
128
|
+
<template v-else-if="layout === 'month-only'">
|
|
129
|
+
<div class="flex items-center justify-center gap-1">
|
|
130
|
+
<ReuseMonthTemplate :date="date" />
|
|
131
|
+
{{ formatter.custom(toDate(date), { year: "numeric" }) }}
|
|
132
|
+
</div>
|
|
133
|
+
</template>
|
|
134
|
+
<template v-else-if="layout === 'year-only'">
|
|
135
|
+
<div class="flex items-center justify-center gap-1">
|
|
136
|
+
{{ formatter.custom(toDate(date), { month: "short" }) }}
|
|
137
|
+
<ReuseYearTemplate :date="date" />
|
|
138
|
+
</div>
|
|
139
|
+
</template>
|
|
140
|
+
<template v-else>
|
|
141
|
+
<CalendarHeading />
|
|
142
|
+
</template>
|
|
143
|
+
</slot>
|
|
144
|
+
</CalendarHeader>
|
|
145
|
+
|
|
146
|
+
<div class="flex flex-col gap-y-4 mt-4 sm:flex-row sm:gap-x-4 sm:gap-y-0">
|
|
147
|
+
<CalendarGrid v-for="month in grid" :key="month.value.toString()">
|
|
148
|
+
<CalendarGridHead>
|
|
149
|
+
<CalendarGridRow>
|
|
150
|
+
<CalendarHeadCell
|
|
151
|
+
v-for="day in weekDays" :key="day"
|
|
152
|
+
>
|
|
153
|
+
{{ day }}
|
|
154
|
+
</CalendarHeadCell>
|
|
155
|
+
</CalendarGridRow>
|
|
156
|
+
</CalendarGridHead>
|
|
157
|
+
<CalendarGridBody>
|
|
158
|
+
<CalendarGridRow v-for="(weekDates, index) in month.rows" :key="`weekDate-${index}`" class="mt-2 w-full">
|
|
159
|
+
<CalendarCell
|
|
160
|
+
v-for="weekDate in weekDates"
|
|
161
|
+
:key="weekDate.toString()"
|
|
162
|
+
:date="weekDate"
|
|
163
|
+
>
|
|
164
|
+
<CalendarCellTrigger
|
|
165
|
+
:day="weekDate"
|
|
166
|
+
:month="month.value"
|
|
167
|
+
/>
|
|
168
|
+
</CalendarCell>
|
|
169
|
+
</CalendarGridRow>
|
|
170
|
+
</CalendarGridBody>
|
|
171
|
+
</CalendarGrid>
|
|
172
|
+
</div>
|
|
173
|
+
</CalendarRoot>
|
|
174
|
+
</template>
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import type { CalendarRootProps, DateValue } from "reka-ui";
|
|
2
|
+
import type { HTMLAttributes } from "vue";
|
|
3
|
+
import type { LayoutTypes } from ".";
|
|
4
|
+
type __VLS_Props = CalendarRootProps & {
|
|
5
|
+
class?: HTMLAttributes["class"];
|
|
6
|
+
layout?: LayoutTypes;
|
|
7
|
+
yearRange?: DateValue[];
|
|
8
|
+
};
|
|
9
|
+
declare var __VLS_59: {}, __VLS_67: {}, __VLS_69: {
|
|
10
|
+
date: DateValue;
|
|
11
|
+
month: import("@vueuse/core").ReuseTemplateComponent<{
|
|
12
|
+
date: DateValue;
|
|
13
|
+
}, Record<"default", undefined>>;
|
|
14
|
+
year: import("@vueuse/core").ReuseTemplateComponent<{
|
|
15
|
+
date: DateValue;
|
|
16
|
+
}, Record<"default", undefined>>;
|
|
17
|
+
};
|
|
18
|
+
type __VLS_Slots = {} & {
|
|
19
|
+
'calendar-prev-icon'?: (props: typeof __VLS_59) => any;
|
|
20
|
+
} & {
|
|
21
|
+
'calendar-next-icon'?: (props: typeof __VLS_67) => any;
|
|
22
|
+
} & {
|
|
23
|
+
'calendar-heading'?: (props: typeof __VLS_69) => any;
|
|
24
|
+
};
|
|
25
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
26
|
+
"update:modelValue": (date: DateValue | undefined) => any;
|
|
27
|
+
"update:placeholder": (date: DateValue) => any;
|
|
28
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
29
|
+
"onUpdate:modelValue"?: ((date: DateValue | undefined) => any) | undefined;
|
|
30
|
+
"onUpdate:placeholder"?: ((date: DateValue) => any) | undefined;
|
|
31
|
+
}>, {
|
|
32
|
+
modelValue: DateValue | DateValue[];
|
|
33
|
+
layout: "month-and-year" | "month-only" | "year-only";
|
|
34
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
35
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
36
|
+
declare const _default: typeof __VLS_export;
|
|
37
|
+
export default _default;
|
|
38
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
39
|
+
new (): {
|
|
40
|
+
$slots: S;
|
|
41
|
+
};
|
|
42
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { CalendarCellProps } from "reka-ui";
|
|
2
|
+
import type { HTMLAttributes } from "vue";
|
|
3
|
+
type __VLS_Props = CalendarCellProps & {
|
|
4
|
+
class?: HTMLAttributes["class"];
|
|
5
|
+
};
|
|
6
|
+
declare var __VLS_8: {};
|
|
7
|
+
type __VLS_Slots = {} & {
|
|
8
|
+
default?: (props: typeof __VLS_8) => any;
|
|
9
|
+
};
|
|
10
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
11
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
12
|
+
declare const _default: typeof __VLS_export;
|
|
13
|
+
export default _default;
|
|
14
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
15
|
+
new (): {
|
|
16
|
+
$slots: S;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
<script setup>
|
|
2
|
+
import { reactiveOmit } from "@vueuse/core";
|
|
3
|
+
import { CalendarCell, useForwardProps } from "reka-ui";
|
|
4
|
+
import { cn } from "@/runtime/plugins/shadcn";
|
|
5
|
+
const props = defineProps({
|
|
6
|
+
date: { type: null, required: true },
|
|
7
|
+
asChild: { type: Boolean, required: false },
|
|
8
|
+
as: { type: null, required: false },
|
|
9
|
+
class: { type: null, required: false }
|
|
10
|
+
});
|
|
11
|
+
const delegatedProps = reactiveOmit(props, "class");
|
|
12
|
+
const forwardedProps = useForwardProps(delegatedProps);
|
|
13
|
+
</script>
|
|
14
|
+
|
|
15
|
+
<template>
|
|
16
|
+
<CalendarCell
|
|
17
|
+
data-slot="calendar-cell"
|
|
18
|
+
:class="cn('relative p-0 text-center text-sm focus-within:relative focus-within:z-20 [&:has([data-selected])]:rounded-md [&:has([data-selected])]:bg-accent', props.class)"
|
|
19
|
+
v-bind="forwardedProps"
|
|
20
|
+
>
|
|
21
|
+
<slot />
|
|
22
|
+
</CalendarCell>
|
|
23
|
+
</template>
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { CalendarCellProps } from "reka-ui";
|
|
2
|
+
import type { HTMLAttributes } from "vue";
|
|
3
|
+
type __VLS_Props = CalendarCellProps & {
|
|
4
|
+
class?: HTMLAttributes["class"];
|
|
5
|
+
};
|
|
6
|
+
declare var __VLS_8: {};
|
|
7
|
+
type __VLS_Slots = {} & {
|
|
8
|
+
default?: (props: typeof __VLS_8) => any;
|
|
9
|
+
};
|
|
10
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
11
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
12
|
+
declare const _default: typeof __VLS_export;
|
|
13
|
+
export default _default;
|
|
14
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
15
|
+
new (): {
|
|
16
|
+
$slots: S;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { CalendarCellTriggerProps } from "reka-ui";
|
|
2
|
+
import type { HTMLAttributes } from "vue";
|
|
3
|
+
type __VLS_Props = CalendarCellTriggerProps & {
|
|
4
|
+
class?: HTMLAttributes["class"];
|
|
5
|
+
};
|
|
6
|
+
declare var __VLS_8: {};
|
|
7
|
+
type __VLS_Slots = {} & {
|
|
8
|
+
default?: (props: typeof __VLS_8) => any;
|
|
9
|
+
};
|
|
10
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
11
|
+
as: import("reka-ui").AsTag | import("vue").Component;
|
|
12
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
13
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
14
|
+
declare const _default: typeof __VLS_export;
|
|
15
|
+
export default _default;
|
|
16
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
17
|
+
new (): {
|
|
18
|
+
$slots: S;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
<script setup>
|
|
2
|
+
import { reactiveOmit } from "@vueuse/core";
|
|
3
|
+
import { CalendarCellTrigger, useForwardProps } from "reka-ui";
|
|
4
|
+
import { cn } from "@/runtime/plugins/shadcn";
|
|
5
|
+
import { buttonVariants } from "@/runtime/components/ui/button";
|
|
6
|
+
const props = defineProps({
|
|
7
|
+
day: { type: null, required: true },
|
|
8
|
+
month: { type: null, required: true },
|
|
9
|
+
asChild: { type: Boolean, required: false },
|
|
10
|
+
as: { type: null, required: false, default: "button" },
|
|
11
|
+
class: { type: null, required: false }
|
|
12
|
+
});
|
|
13
|
+
const delegatedProps = reactiveOmit(props, "class");
|
|
14
|
+
const forwardedProps = useForwardProps(delegatedProps);
|
|
15
|
+
</script>
|
|
16
|
+
|
|
17
|
+
<template>
|
|
18
|
+
<CalendarCellTrigger
|
|
19
|
+
data-slot="calendar-cell-trigger"
|
|
20
|
+
:class="cn(
|
|
21
|
+
buttonVariants({ variant: 'ghost' }),
|
|
22
|
+
'size-8 p-0 font-normal aria-selected:opacity-100 cursor-default',
|
|
23
|
+
'[&[data-today]:not([data-selected])]:bg-accent [&[data-today]:not([data-selected])]:text-accent-foreground',
|
|
24
|
+
// Selected
|
|
25
|
+
'data-[selected]:bg-primary data-[selected]:text-primary-foreground data-[selected]:opacity-100 data-[selected]:hover:bg-primary data-[selected]:hover:text-primary-foreground data-[selected]:focus:bg-primary data-[selected]:focus:text-primary-foreground',
|
|
26
|
+
// Disabled
|
|
27
|
+
'data-[disabled]:text-muted-foreground data-[disabled]:opacity-50',
|
|
28
|
+
// Unavailable
|
|
29
|
+
'data-[unavailable]:text-destructive-foreground data-[unavailable]:line-through',
|
|
30
|
+
// Outside months
|
|
31
|
+
'data-[outside-view]:text-muted-foreground',
|
|
32
|
+
props.class
|
|
33
|
+
)"
|
|
34
|
+
v-bind="forwardedProps"
|
|
35
|
+
>
|
|
36
|
+
<slot />
|
|
37
|
+
</CalendarCellTrigger>
|
|
38
|
+
</template>
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { CalendarCellTriggerProps } from "reka-ui";
|
|
2
|
+
import type { HTMLAttributes } from "vue";
|
|
3
|
+
type __VLS_Props = CalendarCellTriggerProps & {
|
|
4
|
+
class?: HTMLAttributes["class"];
|
|
5
|
+
};
|
|
6
|
+
declare var __VLS_8: {};
|
|
7
|
+
type __VLS_Slots = {} & {
|
|
8
|
+
default?: (props: typeof __VLS_8) => any;
|
|
9
|
+
};
|
|
10
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
11
|
+
as: import("reka-ui").AsTag | import("vue").Component;
|
|
12
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
13
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
14
|
+
declare const _default: typeof __VLS_export;
|
|
15
|
+
export default _default;
|
|
16
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
17
|
+
new (): {
|
|
18
|
+
$slots: S;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { CalendarGridProps } from "reka-ui";
|
|
2
|
+
import type { HTMLAttributes } from "vue";
|
|
3
|
+
type __VLS_Props = CalendarGridProps & {
|
|
4
|
+
class?: HTMLAttributes["class"];
|
|
5
|
+
};
|
|
6
|
+
declare var __VLS_8: {};
|
|
7
|
+
type __VLS_Slots = {} & {
|
|
8
|
+
default?: (props: typeof __VLS_8) => any;
|
|
9
|
+
};
|
|
10
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
11
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
12
|
+
declare const _default: typeof __VLS_export;
|
|
13
|
+
export default _default;
|
|
14
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
15
|
+
new (): {
|
|
16
|
+
$slots: S;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
<script setup>
|
|
2
|
+
import { reactiveOmit } from "@vueuse/core";
|
|
3
|
+
import { CalendarGrid, useForwardProps } from "reka-ui";
|
|
4
|
+
import { cn } from "@/runtime/plugins/shadcn";
|
|
5
|
+
const props = defineProps({
|
|
6
|
+
asChild: { type: Boolean, required: false },
|
|
7
|
+
as: { type: null, required: false },
|
|
8
|
+
class: { type: null, required: false }
|
|
9
|
+
});
|
|
10
|
+
const delegatedProps = reactiveOmit(props, "class");
|
|
11
|
+
const forwardedProps = useForwardProps(delegatedProps);
|
|
12
|
+
</script>
|
|
13
|
+
|
|
14
|
+
<template>
|
|
15
|
+
<CalendarGrid
|
|
16
|
+
data-slot="calendar-grid"
|
|
17
|
+
:class="cn('w-full border-collapse space-x-1', props.class)"
|
|
18
|
+
v-bind="forwardedProps"
|
|
19
|
+
>
|
|
20
|
+
<slot />
|
|
21
|
+
</CalendarGrid>
|
|
22
|
+
</template>
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { CalendarGridProps } from "reka-ui";
|
|
2
|
+
import type { HTMLAttributes } from "vue";
|
|
3
|
+
type __VLS_Props = CalendarGridProps & {
|
|
4
|
+
class?: HTMLAttributes["class"];
|
|
5
|
+
};
|
|
6
|
+
declare var __VLS_8: {};
|
|
7
|
+
type __VLS_Slots = {} & {
|
|
8
|
+
default?: (props: typeof __VLS_8) => any;
|
|
9
|
+
};
|
|
10
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
11
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
12
|
+
declare const _default: typeof __VLS_export;
|
|
13
|
+
export default _default;
|
|
14
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
15
|
+
new (): {
|
|
16
|
+
$slots: S;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { CalendarGridBodyProps } from "reka-ui";
|
|
2
|
+
declare var __VLS_8: {};
|
|
3
|
+
type __VLS_Slots = {} & {
|
|
4
|
+
default?: (props: typeof __VLS_8) => any;
|
|
5
|
+
};
|
|
6
|
+
declare const __VLS_base: import("vue").DefineComponent<CalendarGridBodyProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<CalendarGridBodyProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
7
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
8
|
+
declare const _default: typeof __VLS_export;
|
|
9
|
+
export default _default;
|
|
10
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
11
|
+
new (): {
|
|
12
|
+
$slots: S;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
<script setup>
|
|
2
|
+
import { CalendarGridBody } from "reka-ui";
|
|
3
|
+
const props = defineProps({
|
|
4
|
+
asChild: { type: Boolean, required: false },
|
|
5
|
+
as: { type: null, required: false }
|
|
6
|
+
});
|
|
7
|
+
</script>
|
|
8
|
+
|
|
9
|
+
<template>
|
|
10
|
+
<CalendarGridBody
|
|
11
|
+
data-slot="calendar-grid-body"
|
|
12
|
+
v-bind="props"
|
|
13
|
+
>
|
|
14
|
+
<slot />
|
|
15
|
+
</CalendarGridBody>
|
|
16
|
+
</template>
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { CalendarGridBodyProps } from "reka-ui";
|
|
2
|
+
declare var __VLS_8: {};
|
|
3
|
+
type __VLS_Slots = {} & {
|
|
4
|
+
default?: (props: typeof __VLS_8) => any;
|
|
5
|
+
};
|
|
6
|
+
declare const __VLS_base: import("vue").DefineComponent<CalendarGridBodyProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<CalendarGridBodyProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
7
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
8
|
+
declare const _default: typeof __VLS_export;
|
|
9
|
+
export default _default;
|
|
10
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
11
|
+
new (): {
|
|
12
|
+
$slots: S;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { CalendarGridHeadProps } from "reka-ui";
|
|
2
|
+
import type { HTMLAttributes } from "vue";
|
|
3
|
+
type __VLS_Props = CalendarGridHeadProps & {
|
|
4
|
+
class?: HTMLAttributes["class"];
|
|
5
|
+
};
|
|
6
|
+
declare var __VLS_8: {};
|
|
7
|
+
type __VLS_Slots = {} & {
|
|
8
|
+
default?: (props: typeof __VLS_8) => any;
|
|
9
|
+
};
|
|
10
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
11
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
12
|
+
declare const _default: typeof __VLS_export;
|
|
13
|
+
export default _default;
|
|
14
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
15
|
+
new (): {
|
|
16
|
+
$slots: S;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
<script setup>
|
|
2
|
+
import { CalendarGridHead } from "reka-ui";
|
|
3
|
+
const props = defineProps({
|
|
4
|
+
asChild: { type: Boolean, required: false },
|
|
5
|
+
as: { type: null, required: false },
|
|
6
|
+
class: { type: null, required: false }
|
|
7
|
+
});
|
|
8
|
+
</script>
|
|
9
|
+
|
|
10
|
+
<template>
|
|
11
|
+
<CalendarGridHead
|
|
12
|
+
data-slot="calendar-grid-head"
|
|
13
|
+
v-bind="props"
|
|
14
|
+
>
|
|
15
|
+
<slot />
|
|
16
|
+
</CalendarGridHead>
|
|
17
|
+
</template>
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { CalendarGridHeadProps } from "reka-ui";
|
|
2
|
+
import type { HTMLAttributes } from "vue";
|
|
3
|
+
type __VLS_Props = CalendarGridHeadProps & {
|
|
4
|
+
class?: HTMLAttributes["class"];
|
|
5
|
+
};
|
|
6
|
+
declare var __VLS_8: {};
|
|
7
|
+
type __VLS_Slots = {} & {
|
|
8
|
+
default?: (props: typeof __VLS_8) => any;
|
|
9
|
+
};
|
|
10
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
11
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
12
|
+
declare const _default: typeof __VLS_export;
|
|
13
|
+
export default _default;
|
|
14
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
15
|
+
new (): {
|
|
16
|
+
$slots: S;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { CalendarGridRowProps } from "reka-ui";
|
|
2
|
+
import type { HTMLAttributes } from "vue";
|
|
3
|
+
type __VLS_Props = CalendarGridRowProps & {
|
|
4
|
+
class?: HTMLAttributes["class"];
|
|
5
|
+
};
|
|
6
|
+
declare var __VLS_8: {};
|
|
7
|
+
type __VLS_Slots = {} & {
|
|
8
|
+
default?: (props: typeof __VLS_8) => any;
|
|
9
|
+
};
|
|
10
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
11
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
12
|
+
declare const _default: typeof __VLS_export;
|
|
13
|
+
export default _default;
|
|
14
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
15
|
+
new (): {
|
|
16
|
+
$slots: S;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
<script setup>
|
|
2
|
+
import { reactiveOmit } from "@vueuse/core";
|
|
3
|
+
import { CalendarGridRow, useForwardProps } from "reka-ui";
|
|
4
|
+
import { cn } from "@/runtime/plugins/shadcn";
|
|
5
|
+
const props = defineProps({
|
|
6
|
+
asChild: { type: Boolean, required: false },
|
|
7
|
+
as: { type: null, required: false },
|
|
8
|
+
class: { type: null, required: false }
|
|
9
|
+
});
|
|
10
|
+
const delegatedProps = reactiveOmit(props, "class");
|
|
11
|
+
const forwardedProps = useForwardProps(delegatedProps);
|
|
12
|
+
</script>
|
|
13
|
+
|
|
14
|
+
<template>
|
|
15
|
+
<CalendarGridRow
|
|
16
|
+
data-slot="calendar-grid-row"
|
|
17
|
+
:class="cn('flex', props.class)" v-bind="forwardedProps"
|
|
18
|
+
>
|
|
19
|
+
<slot />
|
|
20
|
+
</CalendarGridRow>
|
|
21
|
+
</template>
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { CalendarGridRowProps } from "reka-ui";
|
|
2
|
+
import type { HTMLAttributes } from "vue";
|
|
3
|
+
type __VLS_Props = CalendarGridRowProps & {
|
|
4
|
+
class?: HTMLAttributes["class"];
|
|
5
|
+
};
|
|
6
|
+
declare var __VLS_8: {};
|
|
7
|
+
type __VLS_Slots = {} & {
|
|
8
|
+
default?: (props: typeof __VLS_8) => any;
|
|
9
|
+
};
|
|
10
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
11
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
12
|
+
declare const _default: typeof __VLS_export;
|
|
13
|
+
export default _default;
|
|
14
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
15
|
+
new (): {
|
|
16
|
+
$slots: S;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { CalendarHeadCellProps } from "reka-ui";
|
|
2
|
+
import type { HTMLAttributes } from "vue";
|
|
3
|
+
type __VLS_Props = CalendarHeadCellProps & {
|
|
4
|
+
class?: HTMLAttributes["class"];
|
|
5
|
+
};
|
|
6
|
+
declare var __VLS_8: {};
|
|
7
|
+
type __VLS_Slots = {} & {
|
|
8
|
+
default?: (props: typeof __VLS_8) => any;
|
|
9
|
+
};
|
|
10
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
11
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
12
|
+
declare const _default: typeof __VLS_export;
|
|
13
|
+
export default _default;
|
|
14
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
15
|
+
new (): {
|
|
16
|
+
$slots: S;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
<script setup>
|
|
2
|
+
import { reactiveOmit } from "@vueuse/core";
|
|
3
|
+
import { CalendarHeadCell, useForwardProps } from "reka-ui";
|
|
4
|
+
import { cn } from "@/runtime/plugins/shadcn";
|
|
5
|
+
const props = defineProps({
|
|
6
|
+
asChild: { type: Boolean, required: false },
|
|
7
|
+
as: { type: null, required: false },
|
|
8
|
+
class: { type: null, required: false }
|
|
9
|
+
});
|
|
10
|
+
const delegatedProps = reactiveOmit(props, "class");
|
|
11
|
+
const forwardedProps = useForwardProps(delegatedProps);
|
|
12
|
+
</script>
|
|
13
|
+
|
|
14
|
+
<template>
|
|
15
|
+
<CalendarHeadCell
|
|
16
|
+
data-slot="calendar-head-cell"
|
|
17
|
+
:class="cn('text-muted-foreground rounded-md flex-1 font-normal text-[0.8rem]', props.class)"
|
|
18
|
+
v-bind="forwardedProps"
|
|
19
|
+
>
|
|
20
|
+
<slot />
|
|
21
|
+
</CalendarHeadCell>
|
|
22
|
+
</template>
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { CalendarHeadCellProps } from "reka-ui";
|
|
2
|
+
import type { HTMLAttributes } from "vue";
|
|
3
|
+
type __VLS_Props = CalendarHeadCellProps & {
|
|
4
|
+
class?: HTMLAttributes["class"];
|
|
5
|
+
};
|
|
6
|
+
declare var __VLS_8: {};
|
|
7
|
+
type __VLS_Slots = {} & {
|
|
8
|
+
default?: (props: typeof __VLS_8) => any;
|
|
9
|
+
};
|
|
10
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
11
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
12
|
+
declare const _default: typeof __VLS_export;
|
|
13
|
+
export default _default;
|
|
14
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
15
|
+
new (): {
|
|
16
|
+
$slots: S;
|
|
17
|
+
};
|
|
18
|
+
};
|