pukaad-ui-lib 1.282.2 → 1.284.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/assets/json/social-icon.json +76 -76
- package/dist/runtime/assets/svg/bell-outline.svg +3 -3
- package/dist/runtime/assets/svg/bookmark-solid.svg +2 -2
- package/dist/runtime/assets/svg/box.svg +22 -22
- package/dist/runtime/assets/svg/camera-plus.svg +9 -9
- package/dist/runtime/assets/svg/clock-fading.svg +46 -46
- package/dist/runtime/assets/svg/coin.svg +20 -20
- package/dist/runtime/assets/svg/empty-document.svg +15 -15
- package/dist/runtime/assets/svg/map-location-dot.svg +9 -9
- package/dist/runtime/assets/svg/map-pin.svg +6 -6
- package/dist/runtime/assets/svg/memsg-circle.svg +7 -7
- package/dist/runtime/assets/svg/memsg-fade.svg +5 -5
- package/dist/runtime/assets/svg/memsg-logo-outline.svg +3 -3
- package/dist/runtime/assets/svg/memsg-square.svg +9 -9
- package/dist/runtime/assets/svg/message.svg +3 -3
- package/dist/runtime/assets/svg/page-not-found.svg +9 -9
- package/dist/runtime/assets/svg/share-from-square.svg +3 -3
- package/dist/runtime/assets/svg/share.svg +2 -2
- package/dist/runtime/assets/svg/shopping-cart.svg +16 -16
- package/dist/runtime/assets/svg/socials/Email.svg +12 -12
- package/dist/runtime/assets/svg/socials/Facebook.svg +4 -4
- package/dist/runtime/assets/svg/socials/{instagram.svg → Instagram.svg} +14 -14
- package/dist/runtime/assets/svg/socials/Line.svg +11 -11
- package/dist/runtime/assets/svg/socials/LinkedIn.svg +5 -5
- package/dist/runtime/assets/svg/socials/Pinterest.svg +4 -4
- package/dist/runtime/assets/svg/socials/SnapChat.svg +5 -5
- package/dist/runtime/assets/svg/socials/Threads.svg +12 -12
- package/dist/runtime/assets/svg/socials/{Tiktok.svg → TikTok.svg} +6 -6
- package/dist/runtime/assets/svg/socials/Tumblr.svg +4 -4
- package/dist/runtime/assets/svg/socials/Website.svg +11 -11
- package/dist/runtime/assets/svg/socials/{Whatsapp.svg → WhatsApp.svg} +5 -5
- package/dist/runtime/assets/svg/socials/X.svg +4 -4
- package/dist/runtime/assets/svg/socials/{Youtube.svg → YouTube.svg} +5 -5
- package/dist/runtime/assets/svg/tag-empty.svg +25 -25
- package/dist/runtime/assets/svg/thumbs-up-regular.svg +9 -9
- package/dist/runtime/assets/svg/thumbs-up-solid.svg +2 -2
- package/dist/runtime/assets/svg/vector.svg +2 -2
- package/dist/runtime/assets/svg/verify.svg +10 -10
- package/dist/runtime/assets/svg/write-review.svg +15 -15
- package/dist/runtime/components/avatar-profile.vue +29 -29
- package/dist/runtime/components/avatar.vue +20 -20
- package/dist/runtime/components/button.vue +9 -9
- package/dist/runtime/components/card/card-announce2.vue +104 -102
- package/dist/runtime/components/card/card-blog.vue +45 -45
- package/dist/runtime/components/card/card-place-detail.vue +51 -51
- package/dist/runtime/components/card/card-place.vue +28 -28
- package/dist/runtime/components/card/card-profile-about.vue +81 -81
- package/dist/runtime/components/card/card-profile-header.d.vue.ts +1 -1
- package/dist/runtime/components/card/card-profile-header.vue +94 -94
- package/dist/runtime/components/card/card-profile-header.vue.d.ts +1 -1
- package/dist/runtime/components/card/card-reaction.d.vue.ts +1 -1
- package/dist/runtime/components/card/card-reaction.vue +23 -23
- package/dist/runtime/components/card/card-reaction.vue.d.ts +1 -1
- package/dist/runtime/components/card/card-recommend-blog.vue +42 -42
- package/dist/runtime/components/card/card-recommend-place.vue +45 -45
- package/dist/runtime/components/card/card-recommend-profile.vue +46 -46
- package/dist/runtime/components/card/card-review.vue +57 -57
- package/dist/runtime/components/card/card-user-blog.vue +76 -76
- package/dist/runtime/components/card/card-user-item.vue +24 -24
- package/dist/runtime/components/card/card.vue +29 -29
- package/dist/runtime/components/carousel.vue +31 -31
- package/dist/runtime/components/chip.vue +10 -10
- package/dist/runtime/components/collapse/collapse-multiple.vue +42 -42
- package/dist/runtime/components/collapse/collapse.vue +23 -23
- package/dist/runtime/components/comment.vue +204 -204
- package/dist/runtime/components/data-list.vue +49 -49
- package/dist/runtime/components/data-table.vue +131 -131
- package/dist/runtime/components/display/display-image-place.d.vue.ts +1 -1
- package/dist/runtime/components/display/display-image-place.vue +88 -88
- package/dist/runtime/components/display/display-image-place.vue.d.ts +1 -1
- package/dist/runtime/components/display/display-image-review.vue +10 -10
- package/dist/runtime/components/display/display-image.vue +49 -49
- package/dist/runtime/components/display/display-rating-summary.vue +34 -34
- package/dist/runtime/components/divider.vue +8 -8
- package/dist/runtime/components/draggable.vue +15 -15
- package/dist/runtime/components/drawer/drawer-post-blog.vue +111 -96
- package/dist/runtime/components/drawer/drawer-post-review.vue +67 -67
- package/dist/runtime/components/drawer/drawer-profile-about.vue +52 -52
- package/dist/runtime/components/drawer/drawer-profile-network.d.vue.ts +1 -1
- package/dist/runtime/components/drawer/drawer-profile-network.vue +136 -136
- package/dist/runtime/components/drawer/drawer-profile-network.vue.d.ts +1 -1
- package/dist/runtime/components/drawer/drawer-suggest-place/drawer-suggest-place.vue +92 -92
- package/dist/runtime/components/drawer/drawer-suggest-place/suggest-place-form.vue +70 -70
- package/dist/runtime/components/drawer/drawer-suggest-place/suggest-place-map.vue +5 -5
- package/dist/runtime/components/drawer/drawer.vue +24 -24
- package/dist/runtime/components/dropdown.vue +8 -8
- package/dist/runtime/components/filter/filter-list-chip.vue +10 -10
- package/dist/runtime/components/filter/filter-list.vue +17 -17
- package/dist/runtime/components/icons.vue +1 -1
- package/dist/runtime/components/image/image-cropper.vue +9 -9
- package/dist/runtime/components/image/image.vue +27 -27
- package/dist/runtime/components/input/input-OTP.vue +27 -27
- package/dist/runtime/components/input/input-address.vue +147 -147
- package/dist/runtime/components/input/input-autocomplete.d.vue.ts +2 -2
- package/dist/runtime/components/input/input-autocomplete.vue +80 -80
- package/dist/runtime/components/input/input-autocomplete.vue.d.ts +2 -2
- package/dist/runtime/components/input/input-birth-date.vue +20 -20
- package/dist/runtime/components/input/input-checkbox.vue +17 -17
- package/dist/runtime/components/input/input-combobox.vue +100 -100
- package/dist/runtime/components/input/input-comment.vue +6 -6
- package/dist/runtime/components/input/input-content.vue +32 -32
- package/dist/runtime/components/input/input-date-opening.vue +96 -96
- package/dist/runtime/components/input/input-date-picker.vue +102 -102
- package/dist/runtime/components/input/input-email.vue +9 -9
- package/dist/runtime/components/input/input-file.vue +125 -125
- package/dist/runtime/components/input/input-link.vue +35 -35
- package/dist/runtime/components/input/input-media.vue +36 -36
- package/dist/runtime/components/input/input-password.vue +43 -43
- package/dist/runtime/components/input/input-phone.vue +11 -11
- package/dist/runtime/components/input/input-profile-name.vue +10 -10
- package/dist/runtime/components/input/input-radio.vue +55 -55
- package/dist/runtime/components/input/input-rating.vue +13 -13
- package/dist/runtime/components/input/input-recaptcha.vue +19 -19
- package/dist/runtime/components/input/input-search.vue +71 -71
- package/dist/runtime/components/input/input-select-province.vue +94 -94
- package/dist/runtime/components/input/input-select-tag.vue +51 -51
- package/dist/runtime/components/input/input-select.vue +52 -52
- package/dist/runtime/components/input/input-slider.vue +19 -19
- package/dist/runtime/components/input/input-switch.vue +25 -25
- package/dist/runtime/components/input/input-tag.vue +145 -145
- package/dist/runtime/components/input/input-text-field.vue +90 -90
- package/dist/runtime/components/input/input-textarea.vue +58 -58
- package/dist/runtime/components/label/label-announce-time.vue +9 -9
- package/dist/runtime/components/label/label-card-atom.vue +8 -8
- package/dist/runtime/components/list/list-menu.vue +13 -13
- package/dist/runtime/components/loading.vue +8 -8
- package/dist/runtime/components/modal/modal-2FA-generate.vue +48 -48
- package/dist/runtime/components/modal/modal-2FA.vue +28 -28
- package/dist/runtime/components/modal/modal-account-disabled-alert.vue +33 -33
- package/dist/runtime/components/modal/modal-account-disabled-confirmed.vue +32 -32
- package/dist/runtime/components/modal/modal-account-disabled-reason.vue +45 -45
- package/dist/runtime/components/modal/modal-account-disabled.vue +9 -9
- package/dist/runtime/components/modal/modal-display-image.vue +38 -38
- package/dist/runtime/components/modal/modal-email-OTP.vue +32 -32
- package/dist/runtime/components/modal/modal-forgot-password.vue +9 -9
- package/dist/runtime/components/modal/modal-media-view.vue +12 -12
- package/dist/runtime/components/modal/modal-password-confirmed.vue +30 -30
- package/dist/runtime/components/modal/modal-password-new.vue +34 -17
- package/dist/runtime/components/modal/modal-password-verify.vue +13 -13
- package/dist/runtime/components/modal/modal-personal-card-ID.vue +167 -167
- package/dist/runtime/components/modal/modal-phone-OTP.vue +49 -49
- package/dist/runtime/components/modal/modal-profile-edit.vue +71 -69
- package/dist/runtime/components/modal/modal-province-domain.vue +23 -23
- package/dist/runtime/components/modal/modal-report.vue +47 -47
- package/dist/runtime/components/modal/modal-review-detail.vue +118 -118
- package/dist/runtime/components/modal/modal-secure.d.vue.ts +1 -1
- package/dist/runtime/components/modal/modal-secure.vue +7 -7
- package/dist/runtime/components/modal/modal-secure.vue.d.ts +1 -1
- package/dist/runtime/components/modal/modal-share.vue +20 -20
- package/dist/runtime/components/modal/modal-user-account-search.vue +69 -69
- package/dist/runtime/components/modal/modal.vue +27 -27
- package/dist/runtime/components/pagination.vue +47 -47
- package/dist/runtime/components/picker/picker-image-cover-profile.vue +80 -80
- package/dist/runtime/components/picker/picker-image-profile.vue +102 -102
- package/dist/runtime/components/picker/picker-option-menu/picker-option-menu-user.vue +18 -18
- package/dist/runtime/components/picker/picker-option-menu/picker-option-menu.vue +26 -26
- package/dist/runtime/components/profile-cover.vue +80 -80
- package/dist/runtime/components/progress-bar.vue +9 -9
- package/dist/runtime/components/read-more-text.vue +1 -1
- package/dist/runtime/components/tab_old.vue +78 -78
- package/dist/runtime/components/table.vue +79 -79
- package/dist/runtime/components/tooltip.vue +12 -12
- package/dist/runtime/components/ui/accordion/Accordion.vue +3 -3
- package/dist/runtime/components/ui/accordion/AccordionContent.vue +9 -9
- package/dist/runtime/components/ui/accordion/AccordionItem.vue +8 -8
- package/dist/runtime/components/ui/accordion/AccordionTrigger.vue +16 -16
- package/dist/runtime/components/ui/alert/Alert.vue +7 -7
- package/dist/runtime/components/ui/alert/AlertDescription.vue +6 -6
- package/dist/runtime/components/ui/alert/AlertTitle.vue +6 -6
- package/dist/runtime/components/ui/alert-dialog/AlertDialog.vue +3 -3
- package/dist/runtime/components/ui/alert-dialog/AlertDialogAction.vue +3 -3
- package/dist/runtime/components/ui/alert-dialog/AlertDialogCancel.vue +6 -6
- package/dist/runtime/components/ui/alert-dialog/AlertDialogContent.d.vue.ts +4 -4
- package/dist/runtime/components/ui/alert-dialog/AlertDialogContent.vue +13 -13
- package/dist/runtime/components/ui/alert-dialog/AlertDialogContent.vue.d.ts +4 -4
- package/dist/runtime/components/ui/alert-dialog/AlertDialogDescription.vue +7 -7
- package/dist/runtime/components/ui/alert-dialog/AlertDialogFooter.vue +6 -6
- package/dist/runtime/components/ui/alert-dialog/AlertDialogHeader.vue +6 -6
- package/dist/runtime/components/ui/alert-dialog/AlertDialogTitle.vue +7 -7
- package/dist/runtime/components/ui/alert-dialog/AlertDialogTrigger.vue +3 -3
- package/dist/runtime/components/ui/avatar/Avatar.vue +6 -6
- package/dist/runtime/components/ui/avatar/AvatarFallback.vue +7 -7
- package/dist/runtime/components/ui/avatar/AvatarImage.vue +7 -7
- package/dist/runtime/components/ui/badge/Badge.vue +7 -7
- package/dist/runtime/components/ui/breadcrumb/Breadcrumb.vue +7 -7
- package/dist/runtime/components/ui/breadcrumb/BreadcrumbEllipsis.vue +11 -11
- package/dist/runtime/components/ui/breadcrumb/BreadcrumbItem.vue +6 -6
- package/dist/runtime/components/ui/breadcrumb/BreadcrumbLink.vue +8 -8
- package/dist/runtime/components/ui/breadcrumb/BreadcrumbList.vue +6 -6
- package/dist/runtime/components/ui/breadcrumb/BreadcrumbPage.vue +9 -9
- package/dist/runtime/components/ui/breadcrumb/BreadcrumbSeparator.vue +10 -10
- package/dist/runtime/components/ui/button/Button.vue +8 -8
- package/dist/runtime/components/ui/calendar/Calendar.vue +128 -128
- package/dist/runtime/components/ui/calendar/CalendarCell.vue +7 -7
- package/dist/runtime/components/ui/calendar/CalendarCellTrigger.vue +7 -7
- package/dist/runtime/components/ui/calendar/CalendarGrid.vue +7 -7
- package/dist/runtime/components/ui/calendar/CalendarGridBody.vue +6 -6
- package/dist/runtime/components/ui/calendar/CalendarGridHead.vue +6 -6
- package/dist/runtime/components/ui/calendar/CalendarGridRow.vue +6 -6
- package/dist/runtime/components/ui/calendar/CalendarHeadCell.vue +7 -7
- package/dist/runtime/components/ui/calendar/CalendarHeader.vue +7 -7
- package/dist/runtime/components/ui/calendar/CalendarHeading.vue +10 -10
- package/dist/runtime/components/ui/calendar/CalendarNextButton.vue +9 -9
- package/dist/runtime/components/ui/calendar/CalendarPrevButton.vue +9 -9
- package/dist/runtime/components/ui/card/Card.vue +8 -8
- package/dist/runtime/components/ui/card/CardAction.vue +6 -6
- package/dist/runtime/components/ui/card/CardContent.vue +6 -6
- package/dist/runtime/components/ui/card/CardDescription.vue +6 -6
- package/dist/runtime/components/ui/card/CardFooter.vue +6 -6
- package/dist/runtime/components/ui/card/CardHeader.vue +6 -6
- package/dist/runtime/components/ui/card/CardTitle.vue +6 -6
- package/dist/runtime/components/ui/carousel/Carousel.vue +10 -10
- package/dist/runtime/components/ui/carousel/CarouselContent.vue +12 -12
- package/dist/runtime/components/ui/carousel/CarouselItem.vue +8 -8
- package/dist/runtime/components/ui/carousel/CarouselNext.vue +13 -13
- package/dist/runtime/components/ui/carousel/CarouselPrevious.vue +13 -13
- package/dist/runtime/components/ui/checkbox/Checkbox.vue +8 -8
- package/dist/runtime/components/ui/command/Command.vue +7 -7
- package/dist/runtime/components/ui/command/CommandDialog.vue +11 -11
- package/dist/runtime/components/ui/command/CommandEmpty.vue +16 -16
- package/dist/runtime/components/ui/command/CommandGroup.vue +16 -16
- package/dist/runtime/components/ui/command/CommandInput.vue +13 -13
- package/dist/runtime/components/ui/command/CommandItem.vue +11 -11
- package/dist/runtime/components/ui/command/CommandList.vue +9 -9
- package/dist/runtime/components/ui/command/CommandSeparator.vue +7 -7
- package/dist/runtime/components/ui/command/CommandShortcut.vue +6 -6
- package/dist/runtime/components/ui/dialog/Dialog.vue +3 -3
- package/dist/runtime/components/ui/dialog/DialogClose.vue +3 -3
- package/dist/runtime/components/ui/dialog/DialogContent.d.vue.ts +4 -4
- package/dist/runtime/components/ui/dialog/DialogContent.vue +26 -26
- package/dist/runtime/components/ui/dialog/DialogContent.vue.d.ts +4 -4
- package/dist/runtime/components/ui/dialog/DialogDescription.vue +7 -7
- package/dist/runtime/components/ui/dialog/DialogFooter.vue +6 -6
- package/dist/runtime/components/ui/dialog/DialogHeader.vue +6 -6
- package/dist/runtime/components/ui/dialog/DialogOverlay.vue +7 -7
- package/dist/runtime/components/ui/dialog/DialogScrollContent.d.vue.ts +4 -4
- package/dist/runtime/components/ui/dialog/DialogScrollContent.vue +20 -20
- package/dist/runtime/components/ui/dialog/DialogScrollContent.vue.d.ts +4 -4
- package/dist/runtime/components/ui/dialog/DialogTitle.vue +7 -7
- package/dist/runtime/components/ui/dialog/DialogTrigger.vue +3 -3
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenu.vue +6 -6
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuCheckboxItem.vue +12 -12
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuContent.d.vue.ts +2 -2
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuContent.vue +10 -10
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuContent.vue.d.ts +2 -2
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuGroup.vue +6 -6
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuItem.vue +9 -9
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuLabel.vue +8 -8
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuRadioGroup.vue +6 -6
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuRadioItem.vue +16 -16
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuSeparator.vue +5 -5
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuShortcut.vue +6 -6
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuSub.vue +3 -3
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuSubContent.d.vue.ts +4 -4
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuSubContent.vue +7 -7
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuSubContent.vue.d.ts +4 -4
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuSubTrigger.vue +8 -8
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuTrigger.vue +6 -6
- package/dist/runtime/components/ui/form/FormControl.vue +8 -8
- package/dist/runtime/components/ui/form/FormDescription.vue +7 -7
- package/dist/runtime/components/ui/form/FormItem.vue +3 -3
- package/dist/runtime/components/ui/form/FormLabel.vue +8 -8
- package/dist/runtime/components/ui/form/FormMessage.vue +7 -7
- package/dist/runtime/components/ui/input/Input.vue +7 -7
- package/dist/runtime/components/ui/input-group/InputGroup.vue +7 -7
- package/dist/runtime/components/ui/input-group/InputGroupAddon.vue +9 -9
- package/dist/runtime/components/ui/input-group/InputGroupButton.vue +8 -8
- package/dist/runtime/components/ui/input-group/InputGroupInput.vue +5 -5
- package/dist/runtime/components/ui/input-group/InputGroupText.vue +5 -5
- package/dist/runtime/components/ui/input-group/InputGroupTextarea.vue +4 -4
- package/dist/runtime/components/ui/label/Label.vue +7 -7
- package/dist/runtime/components/ui/native-select/NativeSelect.vue +19 -19
- package/dist/runtime/components/ui/native-select/NativeSelectOptGroup.vue +3 -3
- package/dist/runtime/components/ui/native-select/NativeSelectOption.vue +3 -3
- package/dist/runtime/components/ui/pagination/Pagination.vue +8 -8
- package/dist/runtime/components/ui/pagination/PaginationContent.vue +8 -8
- package/dist/runtime/components/ui/pagination/PaginationEllipsis.vue +10 -10
- package/dist/runtime/components/ui/pagination/PaginationFirst.vue +10 -10
- package/dist/runtime/components/ui/pagination/PaginationItem.vue +7 -7
- package/dist/runtime/components/ui/pagination/PaginationLast.vue +10 -10
- package/dist/runtime/components/ui/pagination/PaginationNext.vue +10 -10
- package/dist/runtime/components/ui/pagination/PaginationPrevious.vue +10 -10
- package/dist/runtime/components/ui/pin-input/PinInput.vue +7 -7
- package/dist/runtime/components/ui/pin-input/PinInputGroup.vue +7 -7
- package/dist/runtime/components/ui/pin-input/PinInputSeparator.vue +3 -3
- package/dist/runtime/components/ui/pin-input/PinInputSlot.vue +5 -5
- package/dist/runtime/components/ui/popover/Popover.vue +7 -7
- package/dist/runtime/components/ui/popover/PopoverAnchor.vue +6 -6
- package/dist/runtime/components/ui/popover/PopoverContent.d.vue.ts +4 -4
- package/dist/runtime/components/ui/popover/PopoverContent.vue +9 -9
- package/dist/runtime/components/ui/popover/PopoverContent.vue.d.ts +4 -4
- package/dist/runtime/components/ui/popover/PopoverTrigger.vue +6 -6
- package/dist/runtime/components/ui/scroll-area/ScrollArea.vue +14 -14
- package/dist/runtime/components/ui/scroll-area/ScrollBar.vue +10 -10
- package/dist/runtime/components/ui/select/Select.vue +7 -7
- package/dist/runtime/components/ui/select/SelectContent.d.vue.ts +2 -2
- package/dist/runtime/components/ui/select/SelectContent.vue +10 -10
- package/dist/runtime/components/ui/select/SelectContent.vue.d.ts +2 -2
- package/dist/runtime/components/ui/select/SelectGroup.vue +6 -6
- package/dist/runtime/components/ui/select/SelectItem.vue +17 -17
- package/dist/runtime/components/ui/select/SelectItemText.vue +6 -6
- package/dist/runtime/components/ui/select/SelectLabel.vue +6 -6
- package/dist/runtime/components/ui/select/SelectScrollDownButton.vue +9 -9
- package/dist/runtime/components/ui/select/SelectScrollUpButton.vue +9 -9
- package/dist/runtime/components/ui/select/SelectSeparator.vue +5 -5
- package/dist/runtime/components/ui/select/SelectTrigger.vue +11 -11
- package/dist/runtime/components/ui/select/SelectValue.vue +6 -6
- package/dist/runtime/components/ui/separator/Separator.vue +5 -5
- package/dist/runtime/components/ui/sheet/Sheet.vue +3 -3
- package/dist/runtime/components/ui/sheet/SheetClose.vue +3 -3
- package/dist/runtime/components/ui/sheet/SheetContent.d.vue.ts +4 -4
- package/dist/runtime/components/ui/sheet/SheetContent.vue +26 -26
- package/dist/runtime/components/ui/sheet/SheetContent.vue.d.ts +4 -4
- package/dist/runtime/components/ui/sheet/SheetDescription.vue +7 -7
- package/dist/runtime/components/ui/sheet/SheetFooter.vue +6 -6
- package/dist/runtime/components/ui/sheet/SheetHeader.vue +6 -6
- package/dist/runtime/components/ui/sheet/SheetOverlay.vue +7 -7
- package/dist/runtime/components/ui/sheet/SheetTitle.vue +7 -7
- package/dist/runtime/components/ui/sheet/SheetTrigger.vue +3 -3
- package/dist/runtime/components/ui/skeleton/Skeleton.vue +4 -4
- package/dist/runtime/components/ui/spinner/Spinner.vue +6 -6
- package/dist/runtime/components/ui/table/Table.vue +5 -5
- package/dist/runtime/components/ui/table/TableBody.vue +6 -6
- package/dist/runtime/components/ui/table/TableCaption.vue +6 -6
- package/dist/runtime/components/ui/table/TableCell.vue +6 -6
- package/dist/runtime/components/ui/table/TableEmpty.vue +15 -15
- package/dist/runtime/components/ui/table/TableFooter.vue +6 -6
- package/dist/runtime/components/ui/table/TableHead.vue +6 -6
- package/dist/runtime/components/ui/table/TableHeader.vue +6 -6
- package/dist/runtime/components/ui/table/TableRow.vue +6 -6
- package/dist/runtime/components/ui/tabs/Tabs.vue +8 -8
- package/dist/runtime/components/ui/tabs/TabsContent.vue +7 -7
- package/dist/runtime/components/ui/tabs/TabsList.vue +7 -7
- package/dist/runtime/components/ui/tabs/TabsTrigger.vue +7 -7
- package/dist/runtime/components/ui/textarea/Textarea.vue +5 -5
- package/dist/runtime/components/ui/tooltip/Tooltip.vue +7 -7
- package/dist/runtime/components/ui/tooltip/TooltipContent.vue +13 -13
- package/dist/runtime/components/ui/tooltip/TooltipProvider.vue +3 -3
- package/dist/runtime/components/ui/tooltip/TooltipTrigger.vue +6 -6
- package/dist/runtime/components/video.vue +2 -2
- package/dist/runtime/geo/README.md +87 -87
- package/dist/runtime/geo/postal_codes.json +5569 -5569
- package/package.json +2 -2
|
@@ -8,19 +8,19 @@ type __VLS_Slots = {} & {
|
|
|
8
8
|
default?: (props: typeof __VLS_19) => any;
|
|
9
9
|
};
|
|
10
10
|
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
11
|
-
openAutoFocus: (event: Event) => any;
|
|
12
|
-
closeAutoFocus: (event: Event) => any;
|
|
13
11
|
escapeKeyDown: (event: KeyboardEvent) => any;
|
|
14
12
|
pointerDownOutside: (event: import("reka-ui").PointerDownOutsideEvent) => any;
|
|
15
13
|
focusOutside: (event: import("reka-ui").FocusOutsideEvent) => any;
|
|
16
14
|
interactOutside: (event: import("reka-ui").PointerDownOutsideEvent | import("reka-ui").FocusOutsideEvent) => any;
|
|
15
|
+
openAutoFocus: (event: Event) => any;
|
|
16
|
+
closeAutoFocus: (event: Event) => any;
|
|
17
17
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
18
|
-
onOpenAutoFocus?: ((event: Event) => any) | undefined;
|
|
19
|
-
onCloseAutoFocus?: ((event: Event) => any) | undefined;
|
|
20
18
|
onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
|
|
21
19
|
onPointerDownOutside?: ((event: import("reka-ui").PointerDownOutsideEvent) => any) | undefined;
|
|
22
20
|
onFocusOutside?: ((event: import("reka-ui").FocusOutsideEvent) => any) | undefined;
|
|
23
21
|
onInteractOutside?: ((event: import("reka-ui").PointerDownOutsideEvent | import("reka-ui").FocusOutsideEvent) => any) | undefined;
|
|
22
|
+
onOpenAutoFocus?: ((event: Event) => any) | undefined;
|
|
23
|
+
onCloseAutoFocus?: ((event: Event) => any) | undefined;
|
|
24
24
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
25
25
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
26
26
|
declare const _default: typeof __VLS_export;
|
|
@@ -11,11 +11,11 @@ const delegatedProps = reactiveOmit(props, "class");
|
|
|
11
11
|
</script>
|
|
12
12
|
|
|
13
13
|
<template>
|
|
14
|
-
<AlertDialogDescription
|
|
15
|
-
data-slot="alert-dialog-description"
|
|
16
|
-
v-bind="delegatedProps"
|
|
17
|
-
:class="cn('font-body-medium text-gray', props.class)"
|
|
18
|
-
>
|
|
19
|
-
<slot />
|
|
20
|
-
</AlertDialogDescription>
|
|
14
|
+
<AlertDialogDescription
|
|
15
|
+
data-slot="alert-dialog-description"
|
|
16
|
+
v-bind="delegatedProps"
|
|
17
|
+
:class="cn('font-body-medium text-gray', props.class)"
|
|
18
|
+
>
|
|
19
|
+
<slot />
|
|
20
|
+
</AlertDialogDescription>
|
|
21
21
|
</template>
|
|
@@ -6,15 +6,15 @@ const props = defineProps({
|
|
|
6
6
|
</script>
|
|
7
7
|
|
|
8
8
|
<template>
|
|
9
|
-
<div
|
|
10
|
-
data-slot="alert-dialog-footer"
|
|
9
|
+
<div
|
|
10
|
+
data-slot="alert-dialog-footer"
|
|
11
11
|
:class="
|
|
12
12
|
cn(
|
|
13
13
|
'flex flex-col-reverse gap-2 sm:flex-row sm:justify-end',
|
|
14
14
|
props.class
|
|
15
15
|
)
|
|
16
|
-
"
|
|
17
|
-
>
|
|
18
|
-
<slot />
|
|
19
|
-
</div>
|
|
16
|
+
"
|
|
17
|
+
>
|
|
18
|
+
<slot />
|
|
19
|
+
</div>
|
|
20
20
|
</template>
|
|
@@ -6,10 +6,10 @@ const props = defineProps({
|
|
|
6
6
|
</script>
|
|
7
7
|
|
|
8
8
|
<template>
|
|
9
|
-
<div
|
|
10
|
-
data-slot="alert-dialog-header"
|
|
11
|
-
:class="cn('flex flex-col gap-2 text-center sm:text-left', props.class)"
|
|
12
|
-
>
|
|
13
|
-
<slot />
|
|
14
|
-
</div>
|
|
9
|
+
<div
|
|
10
|
+
data-slot="alert-dialog-header"
|
|
11
|
+
:class="cn('flex flex-col gap-2 text-center sm:text-left', props.class)"
|
|
12
|
+
>
|
|
13
|
+
<slot />
|
|
14
|
+
</div>
|
|
15
15
|
</template>
|
|
@@ -11,11 +11,11 @@ const delegatedProps = reactiveOmit(props, "class");
|
|
|
11
11
|
</script>
|
|
12
12
|
|
|
13
13
|
<template>
|
|
14
|
-
<AlertDialogTitle
|
|
15
|
-
data-slot="alert-dialog-title"
|
|
16
|
-
v-bind="delegatedProps"
|
|
17
|
-
:class="cn('font-body-large-prominent', props.class)"
|
|
18
|
-
>
|
|
19
|
-
<slot />
|
|
20
|
-
</AlertDialogTitle>
|
|
14
|
+
<AlertDialogTitle
|
|
15
|
+
data-slot="alert-dialog-title"
|
|
16
|
+
v-bind="delegatedProps"
|
|
17
|
+
:class="cn('font-body-large-prominent', props.class)"
|
|
18
|
+
>
|
|
19
|
+
<slot />
|
|
20
|
+
</AlertDialogTitle>
|
|
21
21
|
</template>
|
|
@@ -7,7 +7,7 @@ const props = defineProps({
|
|
|
7
7
|
</script>
|
|
8
8
|
|
|
9
9
|
<template>
|
|
10
|
-
<AlertDialogTrigger data-slot="alert-dialog-trigger" v-bind="props">
|
|
11
|
-
<slot />
|
|
12
|
-
</AlertDialogTrigger>
|
|
10
|
+
<AlertDialogTrigger data-slot="alert-dialog-trigger" v-bind="props">
|
|
11
|
+
<slot />
|
|
12
|
+
</AlertDialogTrigger>
|
|
13
13
|
</template>
|
|
@@ -7,10 +7,10 @@ const props = defineProps({
|
|
|
7
7
|
</script>
|
|
8
8
|
|
|
9
9
|
<template>
|
|
10
|
-
<AvatarRoot
|
|
11
|
-
data-slot="avatar"
|
|
12
|
-
:class="cn('relative flex size-8 shrink-0 overflow-hidden rounded-full', props.class)"
|
|
13
|
-
>
|
|
14
|
-
<slot />
|
|
15
|
-
</AvatarRoot>
|
|
10
|
+
<AvatarRoot
|
|
11
|
+
data-slot="avatar"
|
|
12
|
+
:class="cn('relative flex size-8 shrink-0 overflow-hidden rounded-full', props.class)"
|
|
13
|
+
>
|
|
14
|
+
<slot />
|
|
15
|
+
</AvatarRoot>
|
|
16
16
|
</template>
|
|
@@ -12,16 +12,16 @@ const delegatedProps = reactiveOmit(props, "class");
|
|
|
12
12
|
</script>
|
|
13
13
|
|
|
14
14
|
<template>
|
|
15
|
-
<AvatarFallback
|
|
16
|
-
data-slot="avatar-fallback"
|
|
17
|
-
v-bind="delegatedProps"
|
|
15
|
+
<AvatarFallback
|
|
16
|
+
data-slot="avatar-fallback"
|
|
17
|
+
v-bind="delegatedProps"
|
|
18
18
|
:class="
|
|
19
19
|
cn(
|
|
20
20
|
'bg-muted flex size-full items-center justify-center rounded-full',
|
|
21
21
|
props.class
|
|
22
22
|
)
|
|
23
|
-
"
|
|
24
|
-
>
|
|
25
|
-
<slot />
|
|
26
|
-
</AvatarFallback>
|
|
23
|
+
"
|
|
24
|
+
>
|
|
25
|
+
<slot />
|
|
26
|
+
</AvatarFallback>
|
|
27
27
|
</template>
|
|
@@ -10,11 +10,11 @@ const props = defineProps({
|
|
|
10
10
|
</script>
|
|
11
11
|
|
|
12
12
|
<template>
|
|
13
|
-
<AvatarImage
|
|
14
|
-
data-slot="avatar-image"
|
|
15
|
-
v-bind="props"
|
|
16
|
-
class="aspect-square size-full"
|
|
17
|
-
>
|
|
18
|
-
<slot />
|
|
19
|
-
</AvatarImage>
|
|
13
|
+
<AvatarImage
|
|
14
|
+
data-slot="avatar-image"
|
|
15
|
+
v-bind="props"
|
|
16
|
+
class="aspect-square size-full"
|
|
17
|
+
>
|
|
18
|
+
<slot />
|
|
19
|
+
</AvatarImage>
|
|
20
20
|
</template>
|
|
@@ -13,11 +13,11 @@ const delegatedProps = reactiveOmit(props, "class");
|
|
|
13
13
|
</script>
|
|
14
14
|
|
|
15
15
|
<template>
|
|
16
|
-
<Primitive
|
|
17
|
-
data-slot="badge"
|
|
18
|
-
:class="cn(badgeVariants({ variant }), props.class)"
|
|
19
|
-
v-bind="delegatedProps"
|
|
20
|
-
>
|
|
21
|
-
<slot />
|
|
22
|
-
</Primitive>
|
|
16
|
+
<Primitive
|
|
17
|
+
data-slot="badge"
|
|
18
|
+
:class="cn(badgeVariants({ variant }), props.class)"
|
|
19
|
+
v-bind="delegatedProps"
|
|
20
|
+
>
|
|
21
|
+
<slot />
|
|
22
|
+
</Primitive>
|
|
23
23
|
</template>
|
|
@@ -5,11 +5,11 @@ const props = defineProps({
|
|
|
5
5
|
</script>
|
|
6
6
|
|
|
7
7
|
<template>
|
|
8
|
-
<nav
|
|
9
|
-
aria-label="breadcrumb"
|
|
10
|
-
data-slot="breadcrumb"
|
|
11
|
-
:class="props.class"
|
|
12
|
-
>
|
|
13
|
-
<slot />
|
|
14
|
-
</nav>
|
|
8
|
+
<nav
|
|
9
|
+
aria-label="breadcrumb"
|
|
10
|
+
data-slot="breadcrumb"
|
|
11
|
+
:class="props.class"
|
|
12
|
+
>
|
|
13
|
+
<slot />
|
|
14
|
+
</nav>
|
|
15
15
|
</template>
|
|
@@ -6,15 +6,15 @@ const props = defineProps({
|
|
|
6
6
|
</script>
|
|
7
7
|
|
|
8
8
|
<template>
|
|
9
|
-
<span
|
|
10
|
-
data-slot="breadcrumb-ellipsis"
|
|
11
|
-
role="presentation"
|
|
12
|
-
aria-hidden="true"
|
|
13
|
-
:class="cn('flex size-9 items-center justify-center', props.class)"
|
|
14
|
-
>
|
|
15
|
-
<slot>
|
|
16
|
-
<Icon name="lucide:ellipsis" class="size-4" />
|
|
17
|
-
</slot>
|
|
18
|
-
<span class="sr-only">More</span>
|
|
19
|
-
</span>
|
|
9
|
+
<span
|
|
10
|
+
data-slot="breadcrumb-ellipsis"
|
|
11
|
+
role="presentation"
|
|
12
|
+
aria-hidden="true"
|
|
13
|
+
:class="cn('flex size-9 items-center justify-center', props.class)"
|
|
14
|
+
>
|
|
15
|
+
<slot>
|
|
16
|
+
<Icon name="lucide:ellipsis" class="size-4" />
|
|
17
|
+
</slot>
|
|
18
|
+
<span class="sr-only">More</span>
|
|
19
|
+
</span>
|
|
20
20
|
</template>
|
|
@@ -6,10 +6,10 @@ const props = defineProps({
|
|
|
6
6
|
</script>
|
|
7
7
|
|
|
8
8
|
<template>
|
|
9
|
-
<li
|
|
10
|
-
data-slot="breadcrumb-item"
|
|
11
|
-
:class="cn('inline-flex items-center gap-1.5', props.class)"
|
|
12
|
-
>
|
|
13
|
-
<slot />
|
|
14
|
-
</li>
|
|
9
|
+
<li
|
|
10
|
+
data-slot="breadcrumb-item"
|
|
11
|
+
:class="cn('inline-flex items-center gap-1.5', props.class)"
|
|
12
|
+
>
|
|
13
|
+
<slot />
|
|
14
|
+
</li>
|
|
15
15
|
</template>
|
|
@@ -9,12 +9,12 @@ const props = defineProps({
|
|
|
9
9
|
</script>
|
|
10
10
|
|
|
11
11
|
<template>
|
|
12
|
-
<Primitive
|
|
13
|
-
data-slot="breadcrumb-link"
|
|
14
|
-
:as="as"
|
|
15
|
-
:as-child="asChild"
|
|
16
|
-
:class="cn('hover:text-foreground transition-colors', props.class)"
|
|
17
|
-
>
|
|
18
|
-
<slot />
|
|
19
|
-
</Primitive>
|
|
12
|
+
<Primitive
|
|
13
|
+
data-slot="breadcrumb-link"
|
|
14
|
+
:as="as"
|
|
15
|
+
:as-child="asChild"
|
|
16
|
+
:class="cn('hover:text-foreground transition-colors', props.class)"
|
|
17
|
+
>
|
|
18
|
+
<slot />
|
|
19
|
+
</Primitive>
|
|
20
20
|
</template>
|
|
@@ -6,10 +6,10 @@ const props = defineProps({
|
|
|
6
6
|
</script>
|
|
7
7
|
|
|
8
8
|
<template>
|
|
9
|
-
<ol
|
|
10
|
-
data-slot="breadcrumb-list"
|
|
11
|
-
:class="cn('text-muted-foreground flex flex-wrap items-center gap-1.5 text-sm break-words sm:gap-2.5', props.class)"
|
|
12
|
-
>
|
|
13
|
-
<slot />
|
|
14
|
-
</ol>
|
|
9
|
+
<ol
|
|
10
|
+
data-slot="breadcrumb-list"
|
|
11
|
+
:class="cn('text-muted-foreground flex flex-wrap items-center gap-1.5 text-sm break-words sm:gap-2.5', props.class)"
|
|
12
|
+
>
|
|
13
|
+
<slot />
|
|
14
|
+
</ol>
|
|
15
15
|
</template>
|
|
@@ -6,13 +6,13 @@ const props = defineProps({
|
|
|
6
6
|
</script>
|
|
7
7
|
|
|
8
8
|
<template>
|
|
9
|
-
<span
|
|
10
|
-
data-slot="breadcrumb-page"
|
|
11
|
-
role="link"
|
|
12
|
-
aria-disabled="true"
|
|
13
|
-
aria-current="page"
|
|
14
|
-
:class="cn('text-foreground font-normal', props.class)"
|
|
15
|
-
>
|
|
16
|
-
<slot />
|
|
17
|
-
</span>
|
|
9
|
+
<span
|
|
10
|
+
data-slot="breadcrumb-page"
|
|
11
|
+
role="link"
|
|
12
|
+
aria-disabled="true"
|
|
13
|
+
aria-current="page"
|
|
14
|
+
:class="cn('text-foreground font-normal', props.class)"
|
|
15
|
+
>
|
|
16
|
+
<slot />
|
|
17
|
+
</span>
|
|
18
18
|
</template>
|
|
@@ -6,14 +6,14 @@ const props = defineProps({
|
|
|
6
6
|
</script>
|
|
7
7
|
|
|
8
8
|
<template>
|
|
9
|
-
<li
|
|
10
|
-
data-slot="breadcrumb-separator"
|
|
11
|
-
role="presentation"
|
|
12
|
-
aria-hidden="true"
|
|
13
|
-
:class="cn('[&>svg]:size-3.5', props.class)"
|
|
14
|
-
>
|
|
15
|
-
<slot>
|
|
16
|
-
<Icon name="lucide:chevron-right" />
|
|
17
|
-
</slot>
|
|
18
|
-
</li>
|
|
9
|
+
<li
|
|
10
|
+
data-slot="breadcrumb-separator"
|
|
11
|
+
role="presentation"
|
|
12
|
+
aria-hidden="true"
|
|
13
|
+
:class="cn('[&>svg]:size-3.5', props.class)"
|
|
14
|
+
>
|
|
15
|
+
<slot>
|
|
16
|
+
<Icon name="lucide:chevron-right" />
|
|
17
|
+
</slot>
|
|
18
|
+
</li>
|
|
19
19
|
</template>
|
|
@@ -13,12 +13,12 @@ const props = defineProps({
|
|
|
13
13
|
</script>
|
|
14
14
|
|
|
15
15
|
<template>
|
|
16
|
-
<Primitive
|
|
17
|
-
data-slot="button"
|
|
18
|
-
:as="as"
|
|
19
|
-
:as-child="asChild"
|
|
20
|
-
:class="cn(buttonVariants({ variant, color, size }), props.class)"
|
|
21
|
-
>
|
|
22
|
-
<slot />
|
|
23
|
-
</Primitive>
|
|
16
|
+
<Primitive
|
|
17
|
+
data-slot="button"
|
|
18
|
+
:as="as"
|
|
19
|
+
:as-child="asChild"
|
|
20
|
+
:class="cn(buttonVariants({ variant, color, size }), props.class)"
|
|
21
|
+
>
|
|
22
|
+
<slot />
|
|
23
|
+
</Primitive>
|
|
24
24
|
</template>
|
|
@@ -79,146 +79,146 @@ const forwarded = useForwardPropsEmits(delegatedProps, emits);
|
|
|
79
79
|
</script>
|
|
80
80
|
|
|
81
81
|
<template>
|
|
82
|
-
<DefineMonthTemplate v-slot="{ date }">
|
|
83
|
-
<div class="**:data-[slot=native-select-icon]:right-1">
|
|
84
|
-
<div class="relative">
|
|
85
|
-
<div
|
|
86
|
-
class="absolute inset-0 flex h-full items-center text-sm pl-2 pointer-events-none"
|
|
87
|
-
>
|
|
88
|
-
{{ formatter.custom(toDate(date), { month: "short" }) }}
|
|
89
|
-
</div>
|
|
90
|
-
<NativeSelect
|
|
91
|
-
class="text-xs h-8 pr-6 pl-2 text-transparent relative"
|
|
82
|
+
<DefineMonthTemplate v-slot="{ date }">
|
|
83
|
+
<div class="**:data-[slot=native-select-icon]:right-1">
|
|
84
|
+
<div class="relative">
|
|
85
|
+
<div
|
|
86
|
+
class="absolute inset-0 flex h-full items-center text-sm pl-2 pointer-events-none"
|
|
87
|
+
>
|
|
88
|
+
{{ formatter.custom(toDate(date), { month: "short" }) }}
|
|
89
|
+
</div>
|
|
90
|
+
<NativeSelect
|
|
91
|
+
class="text-xs h-8 pr-6 pl-2 text-transparent relative"
|
|
92
92
|
@change="
|
|
93
93
|
(e) => {
|
|
94
94
|
placeholder = placeholder.set({
|
|
95
95
|
month: Number(e?.target?.value)
|
|
96
96
|
});
|
|
97
97
|
}
|
|
98
|
-
"
|
|
99
|
-
>
|
|
100
|
-
<NativeSelectOption
|
|
101
|
-
v-for="month in createYear({ dateObj: date })"
|
|
102
|
-
:key="month.toString()"
|
|
103
|
-
:value="month.month"
|
|
104
|
-
:selected="date.month === month.month"
|
|
98
|
+
"
|
|
99
|
+
>
|
|
100
|
+
<NativeSelectOption
|
|
101
|
+
v-for="month in createYear({ dateObj: date })"
|
|
102
|
+
:key="month.toString()"
|
|
103
|
+
:value="month.month"
|
|
104
|
+
:selected="date.month === month.month"
|
|
105
105
|
:class="
|
|
106
106
|
date.month === month.month ? 'text-primary font-medium' : ''
|
|
107
|
-
"
|
|
108
|
-
>
|
|
109
|
-
{{ formatter.custom(toDate(month), { month: "short" }) }}
|
|
110
|
-
</NativeSelectOption>
|
|
111
|
-
</NativeSelect>
|
|
112
|
-
</div>
|
|
113
|
-
</div>
|
|
114
|
-
</DefineMonthTemplate>
|
|
115
|
-
|
|
116
|
-
<DefineYearTemplate v-slot="{ date }">
|
|
117
|
-
<div class="**:data-[slot=native-select-icon]:right-1">
|
|
118
|
-
<div class="relative">
|
|
119
|
-
<div
|
|
120
|
-
class="absolute inset-0 flex h-full items-center text-sm pl-2 pointer-events-none"
|
|
121
|
-
>
|
|
122
|
-
{{ formatter.custom(toDate(date), { year: "numeric" }) }}
|
|
123
|
-
</div>
|
|
124
|
-
<NativeSelect
|
|
125
|
-
class="text-xs h-8 pr-6 pl-2 text-transparent relative"
|
|
107
|
+
"
|
|
108
|
+
>
|
|
109
|
+
{{ formatter.custom(toDate(month), { month: "short" }) }}
|
|
110
|
+
</NativeSelectOption>
|
|
111
|
+
</NativeSelect>
|
|
112
|
+
</div>
|
|
113
|
+
</div>
|
|
114
|
+
</DefineMonthTemplate>
|
|
115
|
+
|
|
116
|
+
<DefineYearTemplate v-slot="{ date }">
|
|
117
|
+
<div class="**:data-[slot=native-select-icon]:right-1">
|
|
118
|
+
<div class="relative">
|
|
119
|
+
<div
|
|
120
|
+
class="absolute inset-0 flex h-full items-center text-sm pl-2 pointer-events-none"
|
|
121
|
+
>
|
|
122
|
+
{{ formatter.custom(toDate(date), { year: "numeric" }) }}
|
|
123
|
+
</div>
|
|
124
|
+
<NativeSelect
|
|
125
|
+
class="text-xs h-8 pr-6 pl-2 text-transparent relative"
|
|
126
126
|
@change="
|
|
127
127
|
(e) => {
|
|
128
128
|
placeholder = placeholder.set({
|
|
129
129
|
year: Number(e?.target?.value)
|
|
130
130
|
});
|
|
131
131
|
}
|
|
132
|
-
"
|
|
133
|
-
>
|
|
134
|
-
<NativeSelectOption
|
|
135
|
-
v-for="year in displayYearRange"
|
|
136
|
-
:key="year.toString()"
|
|
137
|
-
:value="year.year"
|
|
138
|
-
:selected="date.year === year.year"
|
|
139
|
-
:class="date.year === year.year ? 'text-primary font-medium' : ''"
|
|
140
|
-
>
|
|
141
|
-
{{ formatter.custom(toDate(year), { year: "numeric" }) }}
|
|
142
|
-
</NativeSelectOption>
|
|
143
|
-
</NativeSelect>
|
|
144
|
-
</div>
|
|
145
|
-
</div>
|
|
146
|
-
</DefineYearTemplate>
|
|
147
|
-
|
|
148
|
-
<CalendarRoot
|
|
149
|
-
v-slot="{ grid, weekDays, date }"
|
|
150
|
-
v-bind="forwarded"
|
|
151
|
-
v-model:placeholder="placeholder"
|
|
152
|
-
data-slot="calendar"
|
|
153
|
-
:class="cn('p-3', props.class)"
|
|
154
|
-
>
|
|
155
|
-
<CalendarHeader class="pt-0">
|
|
156
|
-
<nav
|
|
157
|
-
class="flex items-center gap-1 absolute top-0 inset-x-0 justify-between"
|
|
158
|
-
>
|
|
159
|
-
<CalendarPrevButton>
|
|
160
|
-
<slot name="calendar-prev-icon" />
|
|
161
|
-
</CalendarPrevButton>
|
|
162
|
-
<CalendarNextButton>
|
|
163
|
-
<slot name="calendar-next-icon" />
|
|
164
|
-
</CalendarNextButton>
|
|
165
|
-
</nav>
|
|
166
|
-
|
|
167
|
-
<slot
|
|
168
|
-
name="calendar-heading"
|
|
169
|
-
:date="date"
|
|
170
|
-
:month="ReuseMonthTemplate"
|
|
171
|
-
:year="ReuseYearTemplate"
|
|
172
|
-
>
|
|
173
|
-
<template v-if="layout === 'month-and-year'">
|
|
174
|
-
<div class="flex items-center justify-center gap-1">
|
|
175
|
-
<ReuseMonthTemplate :date="date" />
|
|
176
|
-
<ReuseYearTemplate :date="date" />
|
|
177
|
-
</div>
|
|
178
|
-
</template>
|
|
179
|
-
<template v-else-if="layout === 'month-only'">
|
|
180
|
-
<div class="flex items-center justify-center gap-1">
|
|
181
|
-
<ReuseMonthTemplate :date="date" />
|
|
182
|
-
{{ formatter.custom(toDate(date), { year: "numeric" }) }}
|
|
183
|
-
</div>
|
|
184
|
-
</template>
|
|
185
|
-
<template v-else-if="layout === 'year-only'">
|
|
186
|
-
<div class="flex items-center justify-center gap-1">
|
|
187
|
-
{{ formatter.custom(toDate(date), { month: "short" }) }}
|
|
188
|
-
<ReuseYearTemplate :date="date" />
|
|
189
|
-
</div>
|
|
190
|
-
</template>
|
|
191
|
-
<template v-else>
|
|
192
|
-
<CalendarHeading />
|
|
193
|
-
</template>
|
|
194
|
-
</slot>
|
|
195
|
-
</CalendarHeader>
|
|
196
|
-
|
|
197
|
-
<div class="flex flex-col gap-y-4 mt-4 sm:flex-row sm:gap-x-4 sm:gap-y-0">
|
|
198
|
-
<CalendarGrid v-for="month in grid" :key="month.value.toString()">
|
|
199
|
-
<CalendarGridHead>
|
|
200
|
-
<CalendarGridRow>
|
|
201
|
-
<CalendarHeadCell v-for="day in weekDays" :key="day">
|
|
202
|
-
{{ day }}
|
|
203
|
-
</CalendarHeadCell>
|
|
204
|
-
</CalendarGridRow>
|
|
205
|
-
</CalendarGridHead>
|
|
206
|
-
<CalendarGridBody>
|
|
207
|
-
<CalendarGridRow
|
|
208
|
-
v-for="(weekDates, index) in month.rows"
|
|
209
|
-
:key="`weekDate-${index}`"
|
|
210
|
-
class="mt-2 w-full"
|
|
211
|
-
>
|
|
212
|
-
<CalendarCell
|
|
213
|
-
v-for="weekDate in weekDates"
|
|
214
|
-
:key="weekDate.toString()"
|
|
215
|
-
:date="weekDate"
|
|
216
|
-
>
|
|
217
|
-
<CalendarCellTrigger :day="weekDate" :month="month.value" />
|
|
218
|
-
</CalendarCell>
|
|
219
|
-
</CalendarGridRow>
|
|
220
|
-
</CalendarGridBody>
|
|
221
|
-
</CalendarGrid>
|
|
222
|
-
</div>
|
|
223
|
-
</CalendarRoot>
|
|
132
|
+
"
|
|
133
|
+
>
|
|
134
|
+
<NativeSelectOption
|
|
135
|
+
v-for="year in displayYearRange"
|
|
136
|
+
:key="year.toString()"
|
|
137
|
+
:value="year.year"
|
|
138
|
+
:selected="date.year === year.year"
|
|
139
|
+
:class="date.year === year.year ? 'text-primary font-medium' : ''"
|
|
140
|
+
>
|
|
141
|
+
{{ formatter.custom(toDate(year), { year: "numeric" }) }}
|
|
142
|
+
</NativeSelectOption>
|
|
143
|
+
</NativeSelect>
|
|
144
|
+
</div>
|
|
145
|
+
</div>
|
|
146
|
+
</DefineYearTemplate>
|
|
147
|
+
|
|
148
|
+
<CalendarRoot
|
|
149
|
+
v-slot="{ grid, weekDays, date }"
|
|
150
|
+
v-bind="forwarded"
|
|
151
|
+
v-model:placeholder="placeholder"
|
|
152
|
+
data-slot="calendar"
|
|
153
|
+
:class="cn('p-3', props.class)"
|
|
154
|
+
>
|
|
155
|
+
<CalendarHeader class="pt-0">
|
|
156
|
+
<nav
|
|
157
|
+
class="flex items-center gap-1 absolute top-0 inset-x-0 justify-between"
|
|
158
|
+
>
|
|
159
|
+
<CalendarPrevButton>
|
|
160
|
+
<slot name="calendar-prev-icon" />
|
|
161
|
+
</CalendarPrevButton>
|
|
162
|
+
<CalendarNextButton>
|
|
163
|
+
<slot name="calendar-next-icon" />
|
|
164
|
+
</CalendarNextButton>
|
|
165
|
+
</nav>
|
|
166
|
+
|
|
167
|
+
<slot
|
|
168
|
+
name="calendar-heading"
|
|
169
|
+
:date="date"
|
|
170
|
+
:month="ReuseMonthTemplate"
|
|
171
|
+
:year="ReuseYearTemplate"
|
|
172
|
+
>
|
|
173
|
+
<template v-if="layout === 'month-and-year'">
|
|
174
|
+
<div class="flex items-center justify-center gap-1">
|
|
175
|
+
<ReuseMonthTemplate :date="date" />
|
|
176
|
+
<ReuseYearTemplate :date="date" />
|
|
177
|
+
</div>
|
|
178
|
+
</template>
|
|
179
|
+
<template v-else-if="layout === 'month-only'">
|
|
180
|
+
<div class="flex items-center justify-center gap-1">
|
|
181
|
+
<ReuseMonthTemplate :date="date" />
|
|
182
|
+
{{ formatter.custom(toDate(date), { year: "numeric" }) }}
|
|
183
|
+
</div>
|
|
184
|
+
</template>
|
|
185
|
+
<template v-else-if="layout === 'year-only'">
|
|
186
|
+
<div class="flex items-center justify-center gap-1">
|
|
187
|
+
{{ formatter.custom(toDate(date), { month: "short" }) }}
|
|
188
|
+
<ReuseYearTemplate :date="date" />
|
|
189
|
+
</div>
|
|
190
|
+
</template>
|
|
191
|
+
<template v-else>
|
|
192
|
+
<CalendarHeading />
|
|
193
|
+
</template>
|
|
194
|
+
</slot>
|
|
195
|
+
</CalendarHeader>
|
|
196
|
+
|
|
197
|
+
<div class="flex flex-col gap-y-4 mt-4 sm:flex-row sm:gap-x-4 sm:gap-y-0">
|
|
198
|
+
<CalendarGrid v-for="month in grid" :key="month.value.toString()">
|
|
199
|
+
<CalendarGridHead>
|
|
200
|
+
<CalendarGridRow>
|
|
201
|
+
<CalendarHeadCell v-for="day in weekDays" :key="day">
|
|
202
|
+
{{ day }}
|
|
203
|
+
</CalendarHeadCell>
|
|
204
|
+
</CalendarGridRow>
|
|
205
|
+
</CalendarGridHead>
|
|
206
|
+
<CalendarGridBody>
|
|
207
|
+
<CalendarGridRow
|
|
208
|
+
v-for="(weekDates, index) in month.rows"
|
|
209
|
+
:key="`weekDate-${index}`"
|
|
210
|
+
class="mt-2 w-full"
|
|
211
|
+
>
|
|
212
|
+
<CalendarCell
|
|
213
|
+
v-for="weekDate in weekDates"
|
|
214
|
+
:key="weekDate.toString()"
|
|
215
|
+
:date="weekDate"
|
|
216
|
+
>
|
|
217
|
+
<CalendarCellTrigger :day="weekDate" :month="month.value" />
|
|
218
|
+
</CalendarCell>
|
|
219
|
+
</CalendarGridRow>
|
|
220
|
+
</CalendarGridBody>
|
|
221
|
+
</CalendarGrid>
|
|
222
|
+
</div>
|
|
223
|
+
</CalendarRoot>
|
|
224
224
|
</template>
|