pukaad-ui-lib 1.271.2 → 1.272.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 +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.vue +94 -94
- package/dist/runtime/components/card/card-reaction.vue +23 -23
- 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.vue +88 -88
- 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 +70 -70
- 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.vue +136 -136
- 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.vue +80 -80
- 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 -34
- 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.vue +6 -6
- 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.d.vue.ts +2 -2
- 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-user.vue.d.ts +2 -2
- 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.vue +13 -13
- 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.vue +26 -26
- 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.vue +20 -20
- 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.vue +10 -10
- 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.vue +7 -7
- 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.vue +9 -9
- 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.vue +10 -10
- 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.vue +26 -26
- 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/composables/useApi.js +1 -1
- package/dist/runtime/composables/useThaiAddress.js +6 -6
- package/dist/runtime/geo/README.md +87 -87
- package/dist/runtime/geo/postal_codes.json +5569 -5569
- package/dist/runtime/plugins/toast.js +3 -3
- package/package.json +2 -2
|
@@ -24,16 +24,16 @@ const forwarded = useForwardPropsEmits(delegatedProps, emits);
|
|
|
24
24
|
</script>
|
|
25
25
|
|
|
26
26
|
<template>
|
|
27
|
-
<PinInputRoot
|
|
28
|
-
data-slot="pin-input"
|
|
29
|
-
v-bind="forwarded"
|
|
27
|
+
<PinInputRoot
|
|
28
|
+
data-slot="pin-input"
|
|
29
|
+
v-bind="forwarded"
|
|
30
30
|
:class="
|
|
31
31
|
cn(
|
|
32
32
|
'flex items-center gap-2 has-disabled:opacity-50 disabled:cursor-not-allowed',
|
|
33
33
|
props.class
|
|
34
34
|
)
|
|
35
|
-
"
|
|
36
|
-
>
|
|
37
|
-
<slot />
|
|
38
|
-
</PinInputRoot>
|
|
35
|
+
"
|
|
36
|
+
>
|
|
37
|
+
<slot />
|
|
38
|
+
</PinInputRoot>
|
|
39
39
|
</template>
|
|
@@ -12,11 +12,11 @@ const forwardedProps = useForwardProps(delegatedProps);
|
|
|
12
12
|
</script>
|
|
13
13
|
|
|
14
14
|
<template>
|
|
15
|
-
<Primitive
|
|
16
|
-
data-slot="pin-input-group"
|
|
17
|
-
v-bind="forwardedProps"
|
|
18
|
-
:class="cn('w-full flex items-center gap-[16px]', props.class)"
|
|
19
|
-
>
|
|
20
|
-
<slot />
|
|
21
|
-
</Primitive>
|
|
15
|
+
<Primitive
|
|
16
|
+
data-slot="pin-input-group"
|
|
17
|
+
v-bind="forwardedProps"
|
|
18
|
+
:class="cn('w-full flex items-center gap-[16px]', props.class)"
|
|
19
|
+
>
|
|
20
|
+
<slot />
|
|
21
|
+
</Primitive>
|
|
22
22
|
</template>
|
|
@@ -8,7 +8,7 @@ const forwardedProps = useForwardProps(props);
|
|
|
8
8
|
</script>
|
|
9
9
|
|
|
10
10
|
<template>
|
|
11
|
-
<Primitive data-slot="pin-input-separator" v-bind="forwardedProps">
|
|
12
|
-
<slot> </slot>
|
|
13
|
-
</Primitive>
|
|
11
|
+
<Primitive data-slot="pin-input-separator" v-bind="forwardedProps">
|
|
12
|
+
<slot> </slot>
|
|
13
|
+
</Primitive>
|
|
14
14
|
</template>
|
|
@@ -14,9 +14,9 @@ const forwardedProps = useForwardProps(delegatedProps);
|
|
|
14
14
|
</script>
|
|
15
15
|
|
|
16
16
|
<template>
|
|
17
|
-
<PinInputInput
|
|
18
|
-
data-slot="pin-input-slot"
|
|
19
|
-
v-bind="forwardedProps"
|
|
17
|
+
<PinInputInput
|
|
18
|
+
data-slot="pin-input-slot"
|
|
19
|
+
v-bind="forwardedProps"
|
|
20
20
|
:class="
|
|
21
21
|
cn(
|
|
22
22
|
'font-body-medium',
|
|
@@ -25,6 +25,6 @@ const forwardedProps = useForwardProps(delegatedProps);
|
|
|
25
25
|
'outline-none text-center rounded-md focus:z-10 focus:ring-[2px] focus:aria-invalid:ring-[0px] aria-invalid:border-destructive focus:aria-invalid:border-destructive',
|
|
26
26
|
props.class
|
|
27
27
|
)
|
|
28
|
-
"
|
|
29
|
-
/>
|
|
28
|
+
"
|
|
29
|
+
/>
|
|
30
30
|
</template>
|
|
@@ -10,11 +10,11 @@ const forwarded = useForwardPropsEmits(props, emits);
|
|
|
10
10
|
</script>
|
|
11
11
|
|
|
12
12
|
<template>
|
|
13
|
-
<PopoverRoot
|
|
14
|
-
v-slot="slotProps"
|
|
15
|
-
data-slot="popover"
|
|
16
|
-
v-bind="forwarded"
|
|
17
|
-
>
|
|
18
|
-
<slot v-bind="slotProps" />
|
|
19
|
-
</PopoverRoot>
|
|
13
|
+
<PopoverRoot
|
|
14
|
+
v-slot="slotProps"
|
|
15
|
+
data-slot="popover"
|
|
16
|
+
v-bind="forwarded"
|
|
17
|
+
>
|
|
18
|
+
<slot v-bind="slotProps" />
|
|
19
|
+
</PopoverRoot>
|
|
20
20
|
</template>
|
|
@@ -8,10 +8,10 @@ const props = defineProps({
|
|
|
8
8
|
</script>
|
|
9
9
|
|
|
10
10
|
<template>
|
|
11
|
-
<PopoverAnchor
|
|
12
|
-
data-slot="popover-anchor"
|
|
13
|
-
v-bind="props"
|
|
14
|
-
>
|
|
15
|
-
<slot />
|
|
16
|
-
</PopoverAnchor>
|
|
11
|
+
<PopoverAnchor
|
|
12
|
+
data-slot="popover-anchor"
|
|
13
|
+
v-bind="props"
|
|
14
|
+
>
|
|
15
|
+
<slot />
|
|
16
|
+
</PopoverAnchor>
|
|
17
17
|
</template>
|
|
@@ -36,18 +36,18 @@ const forwarded = useForwardPropsEmits(delegatedProps, emits);
|
|
|
36
36
|
</script>
|
|
37
37
|
|
|
38
38
|
<template>
|
|
39
|
-
<PopoverPortal>
|
|
40
|
-
<PopoverContent
|
|
41
|
-
data-slot="popover-content"
|
|
42
|
-
v-bind="{ ...$attrs, ...forwarded }"
|
|
39
|
+
<PopoverPortal>
|
|
40
|
+
<PopoverContent
|
|
41
|
+
data-slot="popover-content"
|
|
42
|
+
v-bind="{ ...$attrs, ...forwarded }"
|
|
43
43
|
:class="
|
|
44
44
|
cn(
|
|
45
45
|
'bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 rounded-md border shadow-md origin-(--reka-popover-content-transform-origin) outline-hidden w-[var(--reka-popover-trigger-width)]',
|
|
46
46
|
props.class
|
|
47
47
|
)
|
|
48
|
-
"
|
|
49
|
-
>
|
|
50
|
-
<slot />
|
|
51
|
-
</PopoverContent>
|
|
52
|
-
</PopoverPortal>
|
|
48
|
+
"
|
|
49
|
+
>
|
|
50
|
+
<slot />
|
|
51
|
+
</PopoverContent>
|
|
52
|
+
</PopoverPortal>
|
|
53
53
|
</template>
|
|
@@ -7,10 +7,10 @@ const props = defineProps({
|
|
|
7
7
|
</script>
|
|
8
8
|
|
|
9
9
|
<template>
|
|
10
|
-
<PopoverTrigger
|
|
11
|
-
data-slot="popover-trigger"
|
|
12
|
-
v-bind="props"
|
|
13
|
-
>
|
|
14
|
-
<slot />
|
|
15
|
-
</PopoverTrigger>
|
|
10
|
+
<PopoverTrigger
|
|
11
|
+
data-slot="popover-trigger"
|
|
12
|
+
v-bind="props"
|
|
13
|
+
>
|
|
14
|
+
<slot />
|
|
15
|
+
</PopoverTrigger>
|
|
16
16
|
</template>
|
|
@@ -15,18 +15,18 @@ const delegatedProps = reactiveOmit(props, "class");
|
|
|
15
15
|
</script>
|
|
16
16
|
|
|
17
17
|
<template>
|
|
18
|
-
<ScrollAreaRoot
|
|
19
|
-
data-slot="scroll-area"
|
|
20
|
-
v-bind="delegatedProps"
|
|
21
|
-
:class="cn('relative', props.class)"
|
|
22
|
-
>
|
|
23
|
-
<ScrollAreaViewport
|
|
24
|
-
data-slot="scroll-area-viewport"
|
|
25
|
-
class="focus-visible:ring-ring/50 size-full rounded-[inherit] transition-[color,box-shadow] outline-none focus-visible:ring-[3px] focus-visible:outline-1"
|
|
26
|
-
>
|
|
27
|
-
<slot />
|
|
28
|
-
</ScrollAreaViewport>
|
|
29
|
-
<ScrollBar />
|
|
30
|
-
<ScrollAreaCorner />
|
|
31
|
-
</ScrollAreaRoot>
|
|
18
|
+
<ScrollAreaRoot
|
|
19
|
+
data-slot="scroll-area"
|
|
20
|
+
v-bind="delegatedProps"
|
|
21
|
+
:class="cn('relative', props.class)"
|
|
22
|
+
>
|
|
23
|
+
<ScrollAreaViewport
|
|
24
|
+
data-slot="scroll-area-viewport"
|
|
25
|
+
class="focus-visible:ring-ring/50 size-full rounded-[inherit] transition-[color,box-shadow] outline-none focus-visible:ring-[3px] focus-visible:outline-1"
|
|
26
|
+
>
|
|
27
|
+
<slot />
|
|
28
|
+
</ScrollAreaViewport>
|
|
29
|
+
<ScrollBar />
|
|
30
|
+
<ScrollAreaCorner />
|
|
31
|
+
</ScrollAreaRoot>
|
|
32
32
|
</template>
|
|
@@ -13,9 +13,9 @@ const delegatedProps = reactiveOmit(props, "class");
|
|
|
13
13
|
</script>
|
|
14
14
|
|
|
15
15
|
<template>
|
|
16
|
-
<ScrollAreaScrollbar
|
|
17
|
-
data-slot="scroll-area-scrollbar"
|
|
18
|
-
v-bind="delegatedProps"
|
|
16
|
+
<ScrollAreaScrollbar
|
|
17
|
+
data-slot="scroll-area-scrollbar"
|
|
18
|
+
v-bind="delegatedProps"
|
|
19
19
|
:class="
|
|
20
20
|
cn(
|
|
21
21
|
'flex touch-none p-px transition-colors select-none',
|
|
@@ -23,11 +23,11 @@ const delegatedProps = reactiveOmit(props, "class");
|
|
|
23
23
|
orientation === 'horizontal' && 'h-2.5 flex-col border-t border-t-transparent',
|
|
24
24
|
props.class
|
|
25
25
|
)
|
|
26
|
-
"
|
|
27
|
-
>
|
|
28
|
-
<ScrollAreaThumb
|
|
29
|
-
data-slot="scroll-area-thumb"
|
|
30
|
-
class="bg-border relative flex-1 rounded-full"
|
|
31
|
-
/>
|
|
32
|
-
</ScrollAreaScrollbar>
|
|
26
|
+
"
|
|
27
|
+
>
|
|
28
|
+
<ScrollAreaThumb
|
|
29
|
+
data-slot="scroll-area-thumb"
|
|
30
|
+
class="bg-border relative flex-1 rounded-full"
|
|
31
|
+
/>
|
|
32
|
+
</ScrollAreaScrollbar>
|
|
33
33
|
</template>
|
|
@@ -18,11 +18,11 @@ const forwarded = useForwardPropsEmits(props, emits);
|
|
|
18
18
|
</script>
|
|
19
19
|
|
|
20
20
|
<template>
|
|
21
|
-
<SelectRoot
|
|
22
|
-
v-slot="slotProps"
|
|
23
|
-
data-slot="select"
|
|
24
|
-
v-bind="forwarded"
|
|
25
|
-
>
|
|
26
|
-
<slot v-bind="slotProps" />
|
|
27
|
-
</SelectRoot>
|
|
21
|
+
<SelectRoot
|
|
22
|
+
v-slot="slotProps"
|
|
23
|
+
data-slot="select"
|
|
24
|
+
v-bind="forwarded"
|
|
25
|
+
>
|
|
26
|
+
<slot v-bind="slotProps" />
|
|
27
|
+
</SelectRoot>
|
|
28
28
|
</template>
|
|
@@ -44,20 +44,20 @@ const forwarded = useForwardPropsEmits(delegatedProps, emits);
|
|
|
44
44
|
</script>
|
|
45
45
|
|
|
46
46
|
<template>
|
|
47
|
-
<SelectPortal>
|
|
47
|
+
<SelectPortal>
|
|
48
48
|
<SelectContent data-slot="select-content" v-bind="{ ...$attrs, ...forwarded }" :class="
|
|
49
49
|
cn(
|
|
50
50
|
'bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 relative z-50 max-h-(--reka-select-content-available-height) min-w-[8rem] overflow-x-hidden overflow-y-auto rounded-md border shadow-md',
|
|
51
51
|
position === 'popper' && 'data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1',
|
|
52
52
|
props.class
|
|
53
53
|
)
|
|
54
|
-
">
|
|
55
|
-
<SelectScrollUpButton />
|
|
56
|
-
<SelectViewport
|
|
57
|
-
:class="cn('p-1', position === 'popper' && 'h-[var(--reka-select-trigger-height)] w-full min-w-[var(--reka-select-trigger-width)] scroll-my-1')">
|
|
58
|
-
<slot />
|
|
59
|
-
</SelectViewport>
|
|
60
|
-
<SelectScrollDownButton />
|
|
61
|
-
</SelectContent>
|
|
62
|
-
</SelectPortal>
|
|
54
|
+
">
|
|
55
|
+
<SelectScrollUpButton />
|
|
56
|
+
<SelectViewport
|
|
57
|
+
:class="cn('p-1', position === 'popper' && 'h-[var(--reka-select-trigger-height)] w-full min-w-[var(--reka-select-trigger-width)] scroll-my-1')">
|
|
58
|
+
<slot />
|
|
59
|
+
</SelectViewport>
|
|
60
|
+
<SelectScrollDownButton />
|
|
61
|
+
</SelectContent>
|
|
62
|
+
</SelectPortal>
|
|
63
63
|
</template>
|
|
@@ -7,10 +7,10 @@ const props = defineProps({
|
|
|
7
7
|
</script>
|
|
8
8
|
|
|
9
9
|
<template>
|
|
10
|
-
<SelectGroup
|
|
11
|
-
data-slot="select-group"
|
|
12
|
-
v-bind="props"
|
|
13
|
-
>
|
|
14
|
-
<slot />
|
|
15
|
-
</SelectGroup>
|
|
10
|
+
<SelectGroup
|
|
11
|
+
data-slot="select-group"
|
|
12
|
+
v-bind="props"
|
|
13
|
+
>
|
|
14
|
+
<slot />
|
|
15
|
+
</SelectGroup>
|
|
16
16
|
</template>
|
|
@@ -20,27 +20,27 @@ const forwardedProps = useForwardProps(delegatedProps);
|
|
|
20
20
|
</script>
|
|
21
21
|
|
|
22
22
|
<template>
|
|
23
|
-
<SelectItem
|
|
24
|
-
data-slot="select-item"
|
|
25
|
-
v-bind="forwardedProps"
|
|
23
|
+
<SelectItem
|
|
24
|
+
data-slot="select-item"
|
|
25
|
+
v-bind="forwardedProps"
|
|
26
26
|
:class="
|
|
27
27
|
cn(
|
|
28
28
|
'font-body-medium',
|
|
29
29
|
'focus:bg-accent focus:text-accent-foreground [&_svg:not([class*=\'text-\'])]:text-muted-foreground relative flex w-full cursor-default items-center gap-2 rounded-sm py-1.5 pr-8 pl-2 outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*=\'size-\'])]:size-4 *:[span]:last:flex *:[span]:last:items-center *:[span]:last:gap-2',
|
|
30
30
|
props.class
|
|
31
31
|
)
|
|
32
|
-
"
|
|
33
|
-
>
|
|
34
|
-
<span class="absolute right-2 flex size-3.5 items-center justify-center">
|
|
35
|
-
<SelectItemIndicator>
|
|
36
|
-
<slot name="indicator-icon">
|
|
37
|
-
<Icon name="lucide:check" class="size-4" />
|
|
38
|
-
</slot>
|
|
39
|
-
</SelectItemIndicator>
|
|
40
|
-
</span>
|
|
41
|
-
|
|
42
|
-
<SelectItemText>
|
|
43
|
-
<slot />
|
|
44
|
-
</SelectItemText>
|
|
45
|
-
</SelectItem>
|
|
32
|
+
"
|
|
33
|
+
>
|
|
34
|
+
<span class="absolute right-2 flex size-3.5 items-center justify-center">
|
|
35
|
+
<SelectItemIndicator>
|
|
36
|
+
<slot name="indicator-icon">
|
|
37
|
+
<Icon name="lucide:check" class="size-4" />
|
|
38
|
+
</slot>
|
|
39
|
+
</SelectItemIndicator>
|
|
40
|
+
</span>
|
|
41
|
+
|
|
42
|
+
<SelectItemText>
|
|
43
|
+
<slot />
|
|
44
|
+
</SelectItemText>
|
|
45
|
+
</SelectItem>
|
|
46
46
|
</template>
|
|
@@ -7,10 +7,10 @@ const props = defineProps({
|
|
|
7
7
|
</script>
|
|
8
8
|
|
|
9
9
|
<template>
|
|
10
|
-
<SelectItemText
|
|
11
|
-
data-slot="select-item-text"
|
|
12
|
-
v-bind="props"
|
|
13
|
-
>
|
|
14
|
-
<slot />
|
|
15
|
-
</SelectItemText>
|
|
10
|
+
<SelectItemText
|
|
11
|
+
data-slot="select-item-text"
|
|
12
|
+
v-bind="props"
|
|
13
|
+
>
|
|
14
|
+
<slot />
|
|
15
|
+
</SelectItemText>
|
|
16
16
|
</template>
|
|
@@ -10,12 +10,12 @@ const props = defineProps({
|
|
|
10
10
|
</script>
|
|
11
11
|
|
|
12
12
|
<template>
|
|
13
|
-
<SelectLabel
|
|
14
|
-
data-slot="select-label"
|
|
13
|
+
<SelectLabel
|
|
14
|
+
data-slot="select-label"
|
|
15
15
|
:class="
|
|
16
16
|
cn('text-muted-foreground px-2 py-1.5 font-body-small', props.class)
|
|
17
|
-
"
|
|
18
|
-
>
|
|
19
|
-
<slot />
|
|
20
|
-
</SelectLabel>
|
|
17
|
+
"
|
|
18
|
+
>
|
|
19
|
+
<slot />
|
|
20
|
+
</SelectLabel>
|
|
21
21
|
</template>
|
|
@@ -12,15 +12,15 @@ const forwardedProps = useForwardProps(delegatedProps);
|
|
|
12
12
|
</script>
|
|
13
13
|
|
|
14
14
|
<template>
|
|
15
|
-
<SelectScrollDownButton
|
|
16
|
-
data-slot="select-scroll-down-button"
|
|
17
|
-
v-bind="forwardedProps"
|
|
15
|
+
<SelectScrollDownButton
|
|
16
|
+
data-slot="select-scroll-down-button"
|
|
17
|
+
v-bind="forwardedProps"
|
|
18
18
|
:class="
|
|
19
19
|
cn('flex cursor-default items-center justify-center py-1', props.class)
|
|
20
|
-
"
|
|
21
|
-
>
|
|
22
|
-
<slot>
|
|
23
|
-
<Icon name="lucide:chevron-down" size="16" class="text-black" />
|
|
24
|
-
</slot>
|
|
25
|
-
</SelectScrollDownButton>
|
|
20
|
+
"
|
|
21
|
+
>
|
|
22
|
+
<slot>
|
|
23
|
+
<Icon name="lucide:chevron-down" size="16" class="text-black" />
|
|
24
|
+
</slot>
|
|
25
|
+
</SelectScrollDownButton>
|
|
26
26
|
</template>
|
|
@@ -12,15 +12,15 @@ const forwardedProps = useForwardProps(delegatedProps);
|
|
|
12
12
|
</script>
|
|
13
13
|
|
|
14
14
|
<template>
|
|
15
|
-
<SelectScrollUpButton
|
|
16
|
-
data-slot="select-scroll-up-button"
|
|
17
|
-
v-bind="forwardedProps"
|
|
15
|
+
<SelectScrollUpButton
|
|
16
|
+
data-slot="select-scroll-up-button"
|
|
17
|
+
v-bind="forwardedProps"
|
|
18
18
|
:class="
|
|
19
19
|
cn('flex cursor-default items-center justify-center py-1', props.class)
|
|
20
|
-
"
|
|
21
|
-
>
|
|
22
|
-
<slot>
|
|
23
|
-
<Icon name="lucide:chevron-up" size="16" class="text-black" />
|
|
24
|
-
</slot>
|
|
25
|
-
</SelectScrollUpButton>
|
|
20
|
+
"
|
|
21
|
+
>
|
|
22
|
+
<slot>
|
|
23
|
+
<Icon name="lucide:chevron-up" size="16" class="text-black" />
|
|
24
|
+
</slot>
|
|
25
|
+
</SelectScrollUpButton>
|
|
26
26
|
</template>
|
|
@@ -11,9 +11,9 @@ const delegatedProps = reactiveOmit(props, "class");
|
|
|
11
11
|
</script>
|
|
12
12
|
|
|
13
13
|
<template>
|
|
14
|
-
<SelectSeparator
|
|
15
|
-
data-slot="select-separator"
|
|
16
|
-
v-bind="delegatedProps"
|
|
17
|
-
:class="cn('bg-border pointer-events-none -mx-1 my-1 h-px', props.class)"
|
|
18
|
-
/>
|
|
14
|
+
<SelectSeparator
|
|
15
|
+
data-slot="select-separator"
|
|
16
|
+
v-bind="delegatedProps"
|
|
17
|
+
:class="cn('bg-border pointer-events-none -mx-1 my-1 h-px', props.class)"
|
|
18
|
+
/>
|
|
19
19
|
</template>
|
|
@@ -15,21 +15,21 @@ const forwardedProps = useForwardProps(delegatedProps);
|
|
|
15
15
|
</script>
|
|
16
16
|
|
|
17
17
|
<template>
|
|
18
|
-
<SelectTrigger
|
|
19
|
-
data-slot="select-trigger"
|
|
20
|
-
:data-size="size"
|
|
21
|
-
v-bind="forwardedProps"
|
|
18
|
+
<SelectTrigger
|
|
19
|
+
data-slot="select-trigger"
|
|
20
|
+
:data-size="size"
|
|
21
|
+
v-bind="forwardedProps"
|
|
22
22
|
:class="
|
|
23
23
|
cn(
|
|
24
24
|
'font-body-medium',
|
|
25
25
|
'border-input data-[placeholder]:text-muted-foreground [&_svg:not([class*=\'text-\'])]:text-muted-foreground aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:bg-input/30 dark:hover:bg-input/50 flex w-fit items-center justify-between gap-2 rounded-md border bg-transparent px-3 py-2 whitespace-nowrap shadow-xs transition-[color,box-shadow] outline-none disabled:cursor-not-allowed disabled:opacity-50 data-[size=default]:h-9 data-[size=sm]:h-8 *:data-[slot=select-value]:line-clamp-1 *:data-[slot=select-value]:flex *:data-[slot=select-value]:items-center *:data-[slot=select-value]:gap-2 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*=\'size-\'])]:size-4',
|
|
26
26
|
props.class
|
|
27
27
|
)
|
|
28
|
-
"
|
|
29
|
-
>
|
|
30
|
-
<slot />
|
|
31
|
-
<SelectIcon as-child>
|
|
32
|
-
<Icon name="lucide:chevron-down" size="16" class="text-gray" />
|
|
33
|
-
</SelectIcon>
|
|
34
|
-
</SelectTrigger>
|
|
28
|
+
"
|
|
29
|
+
>
|
|
30
|
+
<slot />
|
|
31
|
+
<SelectIcon as-child>
|
|
32
|
+
<Icon name="lucide:chevron-down" size="16" class="text-gray" />
|
|
33
|
+
</SelectIcon>
|
|
34
|
+
</SelectTrigger>
|
|
35
35
|
</template>
|
|
@@ -8,10 +8,10 @@ const props = defineProps({
|
|
|
8
8
|
</script>
|
|
9
9
|
|
|
10
10
|
<template>
|
|
11
|
-
<SelectValue
|
|
12
|
-
data-slot="select-value"
|
|
13
|
-
v-bind="props"
|
|
14
|
-
>
|
|
15
|
-
<slot />
|
|
16
|
-
</SelectValue>
|
|
11
|
+
<SelectValue
|
|
12
|
+
data-slot="select-value"
|
|
13
|
+
v-bind="props"
|
|
14
|
+
>
|
|
15
|
+
<slot />
|
|
16
|
+
</SelectValue>
|
|
17
17
|
</template>
|
|
@@ -13,14 +13,14 @@ const delegatedProps = reactiveOmit(props, "class");
|
|
|
13
13
|
</script>
|
|
14
14
|
|
|
15
15
|
<template>
|
|
16
|
-
<Separator
|
|
17
|
-
data-slot="separator"
|
|
18
|
-
v-bind="delegatedProps"
|
|
16
|
+
<Separator
|
|
17
|
+
data-slot="separator"
|
|
18
|
+
v-bind="delegatedProps"
|
|
19
19
|
:class="
|
|
20
20
|
cn(
|
|
21
21
|
'bg-border shrink-0 data-[orientation=horizontal]:h-px data-[orientation=horizontal]:w-full data-[orientation=vertical]:h-full data-[orientation=vertical]:w-px',
|
|
22
22
|
props.class
|
|
23
23
|
)
|
|
24
|
-
"
|
|
25
|
-
/>
|
|
24
|
+
"
|
|
25
|
+
/>
|
|
26
26
|
</template>
|
|
@@ -10,7 +10,7 @@ const forwarded = useForwardPropsEmits(props, emits);
|
|
|
10
10
|
</script>
|
|
11
11
|
|
|
12
12
|
<template>
|
|
13
|
-
<DialogRoot data-slot="sheet" v-bind="forwarded">
|
|
14
|
-
<slot />
|
|
15
|
-
</DialogRoot>
|
|
13
|
+
<DialogRoot data-slot="sheet" v-bind="forwarded">
|
|
14
|
+
<slot />
|
|
15
|
+
</DialogRoot>
|
|
16
16
|
</template>
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<DialogPortal>
|
|
3
|
-
<SheetOverlay />
|
|
4
|
-
<DialogContent
|
|
5
|
-
data-slot="sheet-content"
|
|
2
|
+
<DialogPortal>
|
|
3
|
+
<SheetOverlay />
|
|
4
|
+
<DialogContent
|
|
5
|
+
data-slot="sheet-content"
|
|
6
6
|
:class="
|
|
7
7
|
cn(
|
|
8
8
|
'bg-background data-[state=open]:animate-in data-[state=closed]:animate-out fixed z-50 flex flex-col gap-4 shadow-lg transition ease-in-out data-[state=closed]:duration-300 data-[state=open]:duration-500',
|
|
@@ -12,28 +12,28 @@
|
|
|
12
12
|
side === 'bottom' && 'data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom inset-x-0 bottom-0 h-auto border-t',
|
|
13
13
|
props.class
|
|
14
14
|
)
|
|
15
|
-
"
|
|
16
|
-
@escape-key-down="onOutSideClick"
|
|
17
|
-
@pointer-down-outside="onOutSideClick"
|
|
18
|
-
v-bind="{ ...forwarded, ...$attrs }"
|
|
19
|
-
>
|
|
20
|
-
<Form
|
|
21
|
-
v-slot="{ meta }"
|
|
22
|
-
@submit="onSubmit"
|
|
23
|
-
class="h-full flex flex-col gap-4"
|
|
24
|
-
>
|
|
25
|
-
<slot :meta="meta" />
|
|
26
|
-
<button
|
|
27
|
-
type="button"
|
|
28
|
-
class="ring-offset-background focus:ring-ring data-[state=open]:bg-secondary absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none cursor-pointer"
|
|
29
|
-
@click="onClose"
|
|
30
|
-
>
|
|
31
|
-
<Icon name="lucide:x" :size="24" />
|
|
32
|
-
<span class="sr-only">Closed</span>
|
|
33
|
-
</button>
|
|
34
|
-
</Form>
|
|
35
|
-
</DialogContent>
|
|
36
|
-
</DialogPortal>
|
|
15
|
+
"
|
|
16
|
+
@escape-key-down="onOutSideClick"
|
|
17
|
+
@pointer-down-outside="onOutSideClick"
|
|
18
|
+
v-bind="{ ...forwarded, ...$attrs }"
|
|
19
|
+
>
|
|
20
|
+
<Form
|
|
21
|
+
v-slot="{ meta }"
|
|
22
|
+
@submit="onSubmit"
|
|
23
|
+
class="h-full flex flex-col gap-4"
|
|
24
|
+
>
|
|
25
|
+
<slot :meta="meta" />
|
|
26
|
+
<button
|
|
27
|
+
type="button"
|
|
28
|
+
class="ring-offset-background focus:ring-ring data-[state=open]:bg-secondary absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none cursor-pointer"
|
|
29
|
+
@click="onClose"
|
|
30
|
+
>
|
|
31
|
+
<Icon name="lucide:x" :size="24" />
|
|
32
|
+
<span class="sr-only">Closed</span>
|
|
33
|
+
</button>
|
|
34
|
+
</Form>
|
|
35
|
+
</DialogContent>
|
|
36
|
+
</DialogPortal>
|
|
37
37
|
</template>
|
|
38
38
|
|
|
39
39
|
<script setup>
|
|
@@ -11,11 +11,11 @@ const delegatedProps = reactiveOmit(props, "class");
|
|
|
11
11
|
</script>
|
|
12
12
|
|
|
13
13
|
<template>
|
|
14
|
-
<DialogDescription
|
|
15
|
-
data-slot="sheet-description"
|
|
16
|
-
:class="cn('text-muted-foreground text-sm', props.class)"
|
|
17
|
-
v-bind="delegatedProps"
|
|
18
|
-
>
|
|
19
|
-
<slot />
|
|
20
|
-
</DialogDescription>
|
|
14
|
+
<DialogDescription
|
|
15
|
+
data-slot="sheet-description"
|
|
16
|
+
:class="cn('text-muted-foreground text-sm', props.class)"
|
|
17
|
+
v-bind="delegatedProps"
|
|
18
|
+
>
|
|
19
|
+
<slot />
|
|
20
|
+
</DialogDescription>
|
|
21
21
|
</template>
|
|
@@ -6,10 +6,10 @@ const props = defineProps({
|
|
|
6
6
|
</script>
|
|
7
7
|
|
|
8
8
|
<template>
|
|
9
|
-
<div
|
|
10
|
-
data-slot="sheet-footer"
|
|
11
|
-
:class="cn('mt-auto flex flex-col gap-2 pb-[24px] px-[24px]', props.class)"
|
|
12
|
-
>
|
|
13
|
-
<slot />
|
|
14
|
-
</div>
|
|
9
|
+
<div
|
|
10
|
+
data-slot="sheet-footer"
|
|
11
|
+
:class="cn('mt-auto flex flex-col gap-2 pb-[24px] px-[24px]', props.class)"
|
|
12
|
+
>
|
|
13
|
+
<slot />
|
|
14
|
+
</div>
|
|
15
15
|
</template>
|