pukaad-ui-lib 1.282.0 → 1.282.2
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/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/socials/{Instagram.svg → instagram.svg} +14 -14
- 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 +102 -104
- 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 +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.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 +14 -14
- 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 +69 -71
- 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/composables/useApi.d.ts +1 -1
- package/dist/runtime/composables/useApi.js +6 -77
- package/dist/runtime/geo/README.md +87 -87
- package/dist/runtime/geo/postal_codes.json +5569 -5569
- package/package.json +2 -2
|
@@ -1,53 +1,53 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<Modal
|
|
3
|
-
title="ป้อนรหัสรักษาความปลอดภัย (OTP)"
|
|
4
|
-
@close="emit('close')"
|
|
5
|
-
@submit="onVerifyOTP"
|
|
6
|
-
v-model="isOpen"
|
|
7
|
-
>
|
|
8
|
-
<div class="space-y-[16px]">
|
|
9
|
-
<div class="text-center font-body-large">
|
|
10
|
-
<div>
|
|
11
|
-
ส่งรหัส 6 หลักไปที่เบอร์โทรศัพท์
|
|
12
|
-
<span>{{ props.phoneLabel || props.phone }}</span>
|
|
13
|
-
</div>
|
|
14
|
-
<div v-if="textRef">(Ref : {{ textRef }})</div>
|
|
15
|
-
</div>
|
|
16
|
-
|
|
17
|
-
<div class="flex justify-center">
|
|
18
|
-
<InputOTP
|
|
19
|
-
name="otp"
|
|
20
|
-
columnGap="auto"
|
|
21
|
-
v-model="valueOTP"
|
|
22
|
-
:error="otpError"
|
|
23
|
-
/>
|
|
24
|
-
</div>
|
|
25
|
-
|
|
26
|
-
<div class="text-center font-body-large">
|
|
27
|
-
<template v-if="countdown !== '00:00'">
|
|
28
|
-
กรุณารอ <span class="text-primary">{{ countdown }}</span> นาที
|
|
29
|
-
จะส่งรหัสยืนยันอีกครั้ง
|
|
30
|
-
</template>
|
|
31
|
-
<template v-else>
|
|
32
|
-
ไม่ได้รับรหัส?
|
|
33
|
-
<Button variant="link" color="primary" @click="onResend"
|
|
34
|
-
>ส่งรหัสอีกครั้ง</Button
|
|
35
|
-
>
|
|
36
|
-
</template>
|
|
37
|
-
</div>
|
|
38
|
-
</div>
|
|
39
|
-
|
|
40
|
-
<template #footer="{ meta }">
|
|
41
|
-
<Button
|
|
42
|
-
type="submit"
|
|
43
|
-
color="primary"
|
|
44
|
-
:disabled="!meta.valid || isLoading"
|
|
45
|
-
class="w-full"
|
|
46
|
-
>
|
|
47
|
-
{{ props.confirmedText }}
|
|
48
|
-
</Button>
|
|
49
|
-
</template>
|
|
50
|
-
</Modal>
|
|
2
|
+
<Modal
|
|
3
|
+
title="ป้อนรหัสรักษาความปลอดภัย (OTP)"
|
|
4
|
+
@close="emit('close')"
|
|
5
|
+
@submit="onVerifyOTP"
|
|
6
|
+
v-model="isOpen"
|
|
7
|
+
>
|
|
8
|
+
<div class="space-y-[16px]">
|
|
9
|
+
<div class="text-center font-body-large">
|
|
10
|
+
<div>
|
|
11
|
+
ส่งรหัส 6 หลักไปที่เบอร์โทรศัพท์
|
|
12
|
+
<span>{{ props.phoneLabel || props.phone }}</span>
|
|
13
|
+
</div>
|
|
14
|
+
<div v-if="textRef">(Ref : {{ textRef }})</div>
|
|
15
|
+
</div>
|
|
16
|
+
|
|
17
|
+
<div class="flex justify-center">
|
|
18
|
+
<InputOTP
|
|
19
|
+
name="otp"
|
|
20
|
+
columnGap="auto"
|
|
21
|
+
v-model="valueOTP"
|
|
22
|
+
:error="otpError"
|
|
23
|
+
/>
|
|
24
|
+
</div>
|
|
25
|
+
|
|
26
|
+
<div class="text-center font-body-large">
|
|
27
|
+
<template v-if="countdown !== '00:00'">
|
|
28
|
+
กรุณารอ <span class="text-primary">{{ countdown }}</span> นาที
|
|
29
|
+
จะส่งรหัสยืนยันอีกครั้ง
|
|
30
|
+
</template>
|
|
31
|
+
<template v-else>
|
|
32
|
+
ไม่ได้รับรหัส?
|
|
33
|
+
<Button variant="link" color="primary" @click="onResend"
|
|
34
|
+
>ส่งรหัสอีกครั้ง</Button
|
|
35
|
+
>
|
|
36
|
+
</template>
|
|
37
|
+
</div>
|
|
38
|
+
</div>
|
|
39
|
+
|
|
40
|
+
<template #footer="{ meta }">
|
|
41
|
+
<Button
|
|
42
|
+
type="submit"
|
|
43
|
+
color="primary"
|
|
44
|
+
:disabled="!meta.valid || isLoading"
|
|
45
|
+
class="w-full"
|
|
46
|
+
>
|
|
47
|
+
{{ props.confirmedText }}
|
|
48
|
+
</Button>
|
|
49
|
+
</template>
|
|
50
|
+
</Modal>
|
|
51
51
|
</template>
|
|
52
52
|
|
|
53
53
|
<script setup>
|
|
@@ -1,78 +1,76 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<Modal class="w-[425px]" title="โปรไฟล์" @close="onClose" v-model="modelValue">
|
|
3
|
-
<template #header>
|
|
4
|
-
<div v-if="step !== 'menu'" class="flex flex-col gap-[8px]">
|
|
5
|
-
<div class="flex gap-[8px] items-center w-full">
|
|
6
|
-
<Button variant="text" @click="step = 'menu'">
|
|
7
|
-
<Icon name="lucide:chevron-left" :size="24" />
|
|
8
|
-
</Button>
|
|
9
|
-
<div class="font-title-medium-prominent">
|
|
10
|
-
<div v-if="step === 'profile-name'">แก้ไขชื่อโปรไฟล์</div>
|
|
11
|
-
<div v-if="step === 'category'">หมวดหมู่</div>
|
|
12
|
-
</div>
|
|
13
|
-
</div>
|
|
14
|
-
<div v-if="step === 'profile-name'" class="font-body-large">
|
|
15
|
-
หากคุณเปลี่ยนชื่อ คุณจะไม่สามารถเปลี่ยนชื่อได้อีกเป็นเวลา 60 วัน
|
|
16
|
-
<Button variant="link" color="primary" @click="goToHelpCenter">เรียนรู้เพิ่มเติม</Button>
|
|
17
|
-
</div>
|
|
18
|
-
<div v-if="step === 'category'" class="font-body-large">
|
|
19
|
-
เลือกหมวดหมู่ที่สอดคล้องกับโปรไฟล์
|
|
20
|
-
</div>
|
|
21
|
-
</div>
|
|
22
|
-
<div v-if="step === 'menu'" class="flex flex-col gap-[8px]">
|
|
23
|
-
<div class="font-title-medium-prominent">โปรไฟล์</div>
|
|
24
|
-
<div class="font-body-large">
|
|
25
|
-
จัดการชื่อโปรไฟล์และชื่อผู้ใช้ของคุณสำหรับการแสดงผลในระบบ และการเข้าถึงโปรไฟล์
|
|
26
|
-
<Button variant="link" color="primary" @click="goToHelpCenter">เรียนรู้เพิ่มเติม</Button>
|
|
27
|
-
</div>
|
|
28
|
-
</div>
|
|
29
|
-
</template>
|
|
30
|
-
|
|
31
|
-
<div v-if="step === 'menu'" class="flex flex-col gap-[16px]">
|
|
32
|
-
<div class="flex flex-col gap-[4px]">
|
|
33
|
-
<template v-for="(menu, i) in listMenu" :key="menu.label">
|
|
2
|
+
<Modal class="w-[425px]" title="โปรไฟล์" @close="onClose" v-model="modelValue">
|
|
3
|
+
<template #header>
|
|
4
|
+
<div v-if="step !== 'menu'" class="flex flex-col gap-[8px]">
|
|
5
|
+
<div class="flex gap-[8px] items-center w-full">
|
|
6
|
+
<Button variant="text" @click="step = 'menu'">
|
|
7
|
+
<Icon name="lucide:chevron-left" :size="24" />
|
|
8
|
+
</Button>
|
|
9
|
+
<div class="font-title-medium-prominent">
|
|
10
|
+
<div v-if="step === 'profile-name'">แก้ไขชื่อโปรไฟล์</div>
|
|
11
|
+
<div v-if="step === 'category'">หมวดหมู่</div>
|
|
12
|
+
</div>
|
|
13
|
+
</div>
|
|
14
|
+
<div v-if="step === 'profile-name'" class="font-body-large">
|
|
15
|
+
หากคุณเปลี่ยนชื่อ คุณจะไม่สามารถเปลี่ยนชื่อได้อีกเป็นเวลา 60 วัน
|
|
16
|
+
<Button variant="link" color="primary" @click="goToHelpCenter">เรียนรู้เพิ่มเติม</Button>
|
|
17
|
+
</div>
|
|
18
|
+
<div v-if="step === 'category'" class="font-body-large">
|
|
19
|
+
เลือกหมวดหมู่ที่สอดคล้องกับโปรไฟล์
|
|
20
|
+
</div>
|
|
21
|
+
</div>
|
|
22
|
+
<div v-if="step === 'menu'" class="flex flex-col gap-[8px]">
|
|
23
|
+
<div class="font-title-medium-prominent">โปรไฟล์</div>
|
|
24
|
+
<div class="font-body-large">
|
|
25
|
+
จัดการชื่อโปรไฟล์และชื่อผู้ใช้ของคุณสำหรับการแสดงผลในระบบ และการเข้าถึงโปรไฟล์
|
|
26
|
+
<Button variant="link" color="primary" @click="goToHelpCenter">เรียนรู้เพิ่มเติม</Button>
|
|
27
|
+
</div>
|
|
28
|
+
</div>
|
|
29
|
+
</template>
|
|
30
|
+
|
|
31
|
+
<div v-if="step === 'menu'" class="flex flex-col gap-[16px]">
|
|
32
|
+
<div class="flex flex-col gap-[4px]">
|
|
33
|
+
<template v-for="(menu, i) in listMenu" :key="menu.label">
|
|
34
34
|
<div @click="handleMenuClick(menu)" :class="[
|
|
35
35
|
'flex justify-between items-center',
|
|
36
36
|
isMenuClickable(menu) ? 'cursor-pointer ' : ''
|
|
37
|
-
]">
|
|
38
|
-
<div class="flex flex-col w-full">
|
|
39
|
-
<div class="font-body-large-prominent">{{ menu.label }}</div>
|
|
40
|
-
<div class="font-body-large text-gray">{{ menu.value || "-" }}</div>
|
|
41
|
-
</div>
|
|
42
|
-
<Icon v-if="isMenuClickable(menu)" name="lucide:chevron-right" :size="24" class="text-black" />
|
|
43
|
-
</div>
|
|
44
|
-
<Divider v-if="i < listMenu.length - 1" />
|
|
45
|
-
</template>
|
|
46
|
-
</div>
|
|
47
|
-
</div>
|
|
48
|
-
|
|
49
|
-
<div v-else class="flex flex-col gap-[16px]">
|
|
50
|
-
<template v-if="step === 'profile-name'">
|
|
51
|
-
<Form v-slot="{ meta }" class="flex flex-col gap-[16px]" @submit="saveProfileName">
|
|
52
|
-
<InputProfileName
|
|
53
|
-
name="profileName"
|
|
54
|
-
label="ชื่อโปรไฟล์"
|
|
55
|
-
:placeholder="listMenu[0]?.value || '-'"
|
|
56
|
-
v-model="profileName"
|
|
57
|
-
/>
|
|
58
|
-
<Button type="submit" color="primary" full-width :disabled="!meta.valid || isLoading">
|
|
59
|
-
<span v-if="isLoading">กำลังบันทึก...</span>
|
|
60
|
-
<span v-else>บันทึก</span>
|
|
61
|
-
</Button>
|
|
62
|
-
</Form>
|
|
63
|
-
</template>
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
<
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
</div>
|
|
75
|
-
</Modal>
|
|
37
|
+
]">
|
|
38
|
+
<div class="flex flex-col w-full">
|
|
39
|
+
<div class="font-body-large-prominent">{{ menu.label }}</div>
|
|
40
|
+
<div class="font-body-large text-gray">{{ menu.value || "-" }}</div>
|
|
41
|
+
</div>
|
|
42
|
+
<Icon v-if="isMenuClickable(menu)" name="lucide:chevron-right" :size="24" class="text-black" />
|
|
43
|
+
</div>
|
|
44
|
+
<Divider v-if="i < listMenu.length - 1" />
|
|
45
|
+
</template>
|
|
46
|
+
</div>
|
|
47
|
+
</div>
|
|
48
|
+
|
|
49
|
+
<div v-else class="flex flex-col gap-[16px]">
|
|
50
|
+
<template v-if="step === 'profile-name'">
|
|
51
|
+
<Form v-slot="{ meta }" class="flex flex-col gap-[16px]" @submit="saveProfileName">
|
|
52
|
+
<InputProfileName
|
|
53
|
+
name="profileName"
|
|
54
|
+
label="ชื่อโปรไฟล์"
|
|
55
|
+
:placeholder="listMenu[0]?.value || '-'"
|
|
56
|
+
v-model="profileName"
|
|
57
|
+
/>
|
|
58
|
+
<Button type="submit" color="primary" full-width :disabled="!meta.valid || isLoading">
|
|
59
|
+
<span v-if="isLoading">กำลังบันทึก...</span>
|
|
60
|
+
<span v-else>บันทึก</span>
|
|
61
|
+
</Button>
|
|
62
|
+
</Form>
|
|
63
|
+
</template>
|
|
64
|
+
|
|
65
|
+
<template v-if="step === 'category'">
|
|
66
|
+
<div class="flex flex-col gap-[16px]">
|
|
67
|
+
<InputAutocomplete v-model="profileCategory" :options="profileCategoryItems" name="profileCategory"
|
|
68
|
+
placeholder="ค้นหาหรือเลือกหมวดหมู่ที่เกี่ยวข้อง" label="หมวดหมู่" />
|
|
69
|
+
<Button color="primary" :disabled="!profileCategory">บันทึก</Button>
|
|
70
|
+
</div>
|
|
71
|
+
</template>
|
|
72
|
+
</div>
|
|
73
|
+
</Modal>
|
|
76
74
|
</template>
|
|
77
75
|
|
|
78
76
|
<script setup>
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<Modal
|
|
3
|
-
title="เลือกจังหวัดที่คุณต้องการใช้งาน"
|
|
4
|
-
:column-gap="24"
|
|
5
|
-
v-model="modelValue"
|
|
6
|
-
>
|
|
7
|
-
<div class="flex flex-col gap-[16px] w-full">
|
|
8
|
-
<div class="flex flex-col font-body-large text-center">
|
|
9
|
-
<div>เลือกจังหวัดที่คุณต้องการจัดการข้อมูลธุรกิจ</div>
|
|
10
|
-
<div>เพื่อให้เข้าถึงเครื่องมือและข้อมูลในพื้นที่ได้ถูกต้อง</div>
|
|
11
|
-
</div>
|
|
12
|
-
<InputAutocomplete
|
|
13
|
-
:items="provinces"
|
|
14
|
-
full-width
|
|
15
|
-
placeholder="เลือกจังหวัด"
|
|
16
|
-
v-model="selected"
|
|
17
|
-
/>
|
|
18
|
-
</div>
|
|
19
|
-
<template #footer>
|
|
20
|
-
<Button full-width color="primary" :disabled="!selected" @click="onNext">
|
|
21
|
-
{{ props.confirmedText }}
|
|
22
|
-
</Button>
|
|
23
|
-
</template>
|
|
24
|
-
</Modal>
|
|
2
|
+
<Modal
|
|
3
|
+
title="เลือกจังหวัดที่คุณต้องการใช้งาน"
|
|
4
|
+
:column-gap="24"
|
|
5
|
+
v-model="modelValue"
|
|
6
|
+
>
|
|
7
|
+
<div class="flex flex-col gap-[16px] w-full">
|
|
8
|
+
<div class="flex flex-col font-body-large text-center">
|
|
9
|
+
<div>เลือกจังหวัดที่คุณต้องการจัดการข้อมูลธุรกิจ</div>
|
|
10
|
+
<div>เพื่อให้เข้าถึงเครื่องมือและข้อมูลในพื้นที่ได้ถูกต้อง</div>
|
|
11
|
+
</div>
|
|
12
|
+
<InputAutocomplete
|
|
13
|
+
:items="provinces"
|
|
14
|
+
full-width
|
|
15
|
+
placeholder="เลือกจังหวัด"
|
|
16
|
+
v-model="selected"
|
|
17
|
+
/>
|
|
18
|
+
</div>
|
|
19
|
+
<template #footer>
|
|
20
|
+
<Button full-width color="primary" :disabled="!selected" @click="onNext">
|
|
21
|
+
{{ props.confirmedText }}
|
|
22
|
+
</Button>
|
|
23
|
+
</template>
|
|
24
|
+
</Modal>
|
|
25
25
|
</template>
|
|
26
26
|
|
|
27
27
|
<script setup>
|
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<Modal
|
|
3
|
-
:title="title"
|
|
4
|
-
:loading="props.loading"
|
|
5
|
-
@close="onCancel"
|
|
6
|
-
@submit="onSendReport"
|
|
7
|
-
v-model="modelValue"
|
|
8
|
-
class="w-[512px]"
|
|
9
|
-
>
|
|
10
|
-
<div class="flex flex-col">
|
|
11
|
-
<div
|
|
12
|
-
v-for="(item, i) in items"
|
|
13
|
-
:key="i"
|
|
14
|
-
class="flex flex-col border-bright px-[8px] py-[6px] border-b"
|
|
15
|
-
>
|
|
16
|
-
<InputRadio
|
|
17
|
-
name="report_value"
|
|
18
|
-
:label="item[0]?.label"
|
|
19
|
-
:items="item"
|
|
20
|
-
v-model="formState.report_value"
|
|
21
|
-
/>
|
|
22
|
-
<div
|
|
23
|
-
v-show="formState.report_value === item[0]?.value"
|
|
24
|
-
>
|
|
25
|
-
<InputTextarea
|
|
26
|
-
name="report_detail"
|
|
27
|
-
rows="4"
|
|
28
|
-
height-scroll
|
|
29
|
-
placeholder="คำอธิบายประกอบการรายงาน"
|
|
30
|
-
v-model="formState.report_detail"
|
|
31
|
-
/>
|
|
32
|
-
</div>
|
|
33
|
-
</div>
|
|
34
|
-
</div>
|
|
35
|
-
<template #footer>
|
|
36
|
-
<Button class="w-full" variant="outline" type="button" @click="onCancel">
|
|
37
|
-
ยกเลิก
|
|
38
|
-
</Button>
|
|
39
|
-
<Button
|
|
40
|
-
class="w-full"
|
|
41
|
-
type="submit"
|
|
42
|
-
color="primary"
|
|
43
|
-
:disabled="formState.report_value === ''"
|
|
44
|
-
>
|
|
45
|
-
ส่ง
|
|
46
|
-
</Button>
|
|
47
|
-
</template>
|
|
48
|
-
</Modal>
|
|
2
|
+
<Modal
|
|
3
|
+
:title="title"
|
|
4
|
+
:loading="props.loading"
|
|
5
|
+
@close="onCancel"
|
|
6
|
+
@submit="onSendReport"
|
|
7
|
+
v-model="modelValue"
|
|
8
|
+
class="w-[512px]"
|
|
9
|
+
>
|
|
10
|
+
<div class="flex flex-col">
|
|
11
|
+
<div
|
|
12
|
+
v-for="(item, i) in items"
|
|
13
|
+
:key="i"
|
|
14
|
+
class="flex flex-col border-bright px-[8px] py-[6px] border-b"
|
|
15
|
+
>
|
|
16
|
+
<InputRadio
|
|
17
|
+
name="report_value"
|
|
18
|
+
:label="item[0]?.label"
|
|
19
|
+
:items="item"
|
|
20
|
+
v-model="formState.report_value"
|
|
21
|
+
/>
|
|
22
|
+
<div
|
|
23
|
+
v-show="formState.report_value === item[0]?.value"
|
|
24
|
+
>
|
|
25
|
+
<InputTextarea
|
|
26
|
+
name="report_detail"
|
|
27
|
+
rows="4"
|
|
28
|
+
height-scroll
|
|
29
|
+
placeholder="คำอธิบายประกอบการรายงาน"
|
|
30
|
+
v-model="formState.report_detail"
|
|
31
|
+
/>
|
|
32
|
+
</div>
|
|
33
|
+
</div>
|
|
34
|
+
</div>
|
|
35
|
+
<template #footer>
|
|
36
|
+
<Button class="w-full" variant="outline" type="button" @click="onCancel">
|
|
37
|
+
ยกเลิก
|
|
38
|
+
</Button>
|
|
39
|
+
<Button
|
|
40
|
+
class="w-full"
|
|
41
|
+
type="submit"
|
|
42
|
+
color="primary"
|
|
43
|
+
:disabled="formState.report_value === ''"
|
|
44
|
+
>
|
|
45
|
+
ส่ง
|
|
46
|
+
</Button>
|
|
47
|
+
</template>
|
|
48
|
+
</Modal>
|
|
49
49
|
</template>
|
|
50
50
|
|
|
51
51
|
<script setup>
|
|
@@ -1,124 +1,124 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<Modal
|
|
3
|
-
v-model="modelValue"
|
|
4
|
-
:title="props.title"
|
|
5
|
-
:width="1280"
|
|
6
|
-
divider
|
|
7
|
-
@close="onClosed"
|
|
8
|
-
>
|
|
9
|
-
<Carousel
|
|
10
|
-
:items="props.items"
|
|
11
|
-
:select-index="currentIndex"
|
|
12
|
-
@clicked-image="switcComment = false"
|
|
13
|
-
:width="1280"
|
|
14
|
-
:height="768"
|
|
15
|
-
>
|
|
16
|
-
<Card v-if="switcComment" full-width>
|
|
17
|
-
<div class="flex gap-[16px] max-h-[318px]">
|
|
18
|
-
<div>
|
|
19
|
-
<!-- <Avatar :src="props.review.user?.avatar" :name="props.review.user?.name" /> -->
|
|
20
|
-
</div>
|
|
21
|
-
<div class="flex flex-col gap-[8px] w-full">
|
|
22
|
-
<div class="flex flex-col gap-[2px]">
|
|
23
|
-
<div class="flex justify-between items-center">
|
|
24
|
-
<div class="font-body-large">{{ props.review.user?.name }}</div>
|
|
25
|
-
<div class="flex gap-[8px] items-center">
|
|
26
|
-
<Button
|
|
27
|
-
type="text"
|
|
28
|
-
:variant="liked ? 'primary' : 'black'"
|
|
29
|
-
:icon-size="20"
|
|
30
|
-
size="tiny"
|
|
2
|
+
<Modal
|
|
3
|
+
v-model="modelValue"
|
|
4
|
+
:title="props.title"
|
|
5
|
+
:width="1280"
|
|
6
|
+
divider
|
|
7
|
+
@close="onClosed"
|
|
8
|
+
>
|
|
9
|
+
<Carousel
|
|
10
|
+
:items="props.items"
|
|
11
|
+
:select-index="currentIndex"
|
|
12
|
+
@clicked-image="switcComment = false"
|
|
13
|
+
:width="1280"
|
|
14
|
+
:height="768"
|
|
15
|
+
>
|
|
16
|
+
<Card v-if="switcComment" full-width>
|
|
17
|
+
<div class="flex gap-[16px] max-h-[318px]">
|
|
18
|
+
<div>
|
|
19
|
+
<!-- <Avatar :src="props.review.user?.avatar" :name="props.review.user?.name" /> -->
|
|
20
|
+
</div>
|
|
21
|
+
<div class="flex flex-col gap-[8px] w-full">
|
|
22
|
+
<div class="flex flex-col gap-[2px]">
|
|
23
|
+
<div class="flex justify-between items-center">
|
|
24
|
+
<div class="font-body-large">{{ props.review.user?.name }}</div>
|
|
25
|
+
<div class="flex gap-[8px] items-center">
|
|
26
|
+
<Button
|
|
27
|
+
type="text"
|
|
28
|
+
:variant="liked ? 'primary' : 'black'"
|
|
29
|
+
:icon-size="20"
|
|
30
|
+
size="tiny"
|
|
31
31
|
:prepend-icon="
|
|
32
32
|
liked ? 'pukaad:thumbs-up-solid' : 'pukaad:thumbs-up-regular'
|
|
33
|
-
"
|
|
34
|
-
:aria-pressed="liked"
|
|
35
|
-
@click="toggleLike"
|
|
36
|
-
disabled-padding
|
|
37
|
-
>
|
|
38
|
-
<div>
|
|
39
|
-
{{ likeCount }}
|
|
40
|
-
</div>
|
|
41
|
-
</Button>
|
|
42
|
-
<PickerOptionMenuUser :state="menuType" disabled-padding />
|
|
43
|
-
</div>
|
|
44
|
-
</div>
|
|
45
|
-
<div class="flex flex-col gap-[6px]">
|
|
46
|
-
<div class="font-body-small">
|
|
47
|
-
{{ props.review.user?.review_count }} รีวิว •
|
|
48
|
-
{{ props.review.user?.like_count }} ชื่นชอบรีวิว
|
|
49
|
-
</div>
|
|
50
|
-
<div class="flex gap-[8px] items-center">
|
|
51
|
-
<InputRating
|
|
52
|
-
:size="16"
|
|
53
|
-
readonly
|
|
54
|
-
:model-value="props.review.review?.rating"
|
|
55
|
-
/>
|
|
56
|
-
<div class="font-body-small">
|
|
57
|
-
{{ props.review.review?.created_at }}
|
|
58
|
-
</div>
|
|
59
|
-
</div>
|
|
60
|
-
</div>
|
|
61
|
-
</div>
|
|
62
|
-
<div
|
|
63
|
-
v-if="props.review.review?.description"
|
|
64
|
-
class="font-body-large max-h-[208px] overflow-y-auto"
|
|
65
|
-
>
|
|
66
|
-
{{ props.review.review?.description }}
|
|
67
|
-
</div>
|
|
68
|
-
</div>
|
|
69
|
-
</div>
|
|
70
|
-
</Card>
|
|
71
|
-
<div
|
|
72
|
-
v-else
|
|
73
|
-
class="w-full bg-gradient-to-b from-transparent to-black/70 p-[16px] text-white flex gap-[16px]"
|
|
74
|
-
>
|
|
75
|
-
<div>
|
|
76
|
-
<!-- <Avatar
|
|
77
|
-
:src="props.review.user?.avatar"
|
|
78
|
-
:name="props.review.user?.name"
|
|
79
|
-
/> -->
|
|
80
|
-
</div>
|
|
81
|
-
<div class="flex flex-col gap-[8px] w-full">
|
|
82
|
-
<div class="flex flex-col gap-[2px]">
|
|
83
|
-
<div class="flex justify-between items-center">
|
|
84
|
-
<div class="font-body-large">{{ props.review.user?.name }}</div>
|
|
85
|
-
<div class="flex gap-[8px] items-center">
|
|
86
|
-
<Button variant="text" disabled-padding @click="toggleComment">
|
|
87
|
-
<Icon
|
|
88
|
-
name="lucide:message-square-warning"
|
|
89
|
-
:size="20"
|
|
90
|
-
color="white"
|
|
91
|
-
/>
|
|
92
|
-
</Button>
|
|
93
|
-
</div>
|
|
94
|
-
</div>
|
|
95
|
-
<div class="flex flex-col gap-[6px]">
|
|
96
|
-
<div class="font-body-small">
|
|
97
|
-
{{ props.review.user?.review_count }} รีวิว •
|
|
98
|
-
{{ props.review.user?.like_count }} ชื่นชอบรีวิว
|
|
99
|
-
</div>
|
|
100
|
-
<div class="flex gap-[8px] items-center">
|
|
101
|
-
<InputRating
|
|
102
|
-
:size="16"
|
|
103
|
-
readonly
|
|
104
|
-
:model-value="props.review.review?.rating"
|
|
105
|
-
/>
|
|
106
|
-
<div class="font-body-small">
|
|
107
|
-
{{ props.review.review?.created_at }}
|
|
108
|
-
</div>
|
|
109
|
-
</div>
|
|
110
|
-
</div>
|
|
111
|
-
</div>
|
|
112
|
-
<div
|
|
113
|
-
v-if="props.review.review?.description"
|
|
114
|
-
class="font-body-large line-clamp-1"
|
|
115
|
-
>
|
|
116
|
-
{{ props.review.review?.description }}
|
|
117
|
-
</div>
|
|
118
|
-
</div>
|
|
119
|
-
</div>
|
|
120
|
-
</Carousel>
|
|
121
|
-
</Modal>
|
|
33
|
+
"
|
|
34
|
+
:aria-pressed="liked"
|
|
35
|
+
@click="toggleLike"
|
|
36
|
+
disabled-padding
|
|
37
|
+
>
|
|
38
|
+
<div>
|
|
39
|
+
{{ likeCount }}
|
|
40
|
+
</div>
|
|
41
|
+
</Button>
|
|
42
|
+
<PickerOptionMenuUser :state="menuType" disabled-padding />
|
|
43
|
+
</div>
|
|
44
|
+
</div>
|
|
45
|
+
<div class="flex flex-col gap-[6px]">
|
|
46
|
+
<div class="font-body-small">
|
|
47
|
+
{{ props.review.user?.review_count }} รีวิว •
|
|
48
|
+
{{ props.review.user?.like_count }} ชื่นชอบรีวิว
|
|
49
|
+
</div>
|
|
50
|
+
<div class="flex gap-[8px] items-center">
|
|
51
|
+
<InputRating
|
|
52
|
+
:size="16"
|
|
53
|
+
readonly
|
|
54
|
+
:model-value="props.review.review?.rating"
|
|
55
|
+
/>
|
|
56
|
+
<div class="font-body-small">
|
|
57
|
+
{{ props.review.review?.created_at }}
|
|
58
|
+
</div>
|
|
59
|
+
</div>
|
|
60
|
+
</div>
|
|
61
|
+
</div>
|
|
62
|
+
<div
|
|
63
|
+
v-if="props.review.review?.description"
|
|
64
|
+
class="font-body-large max-h-[208px] overflow-y-auto"
|
|
65
|
+
>
|
|
66
|
+
{{ props.review.review?.description }}
|
|
67
|
+
</div>
|
|
68
|
+
</div>
|
|
69
|
+
</div>
|
|
70
|
+
</Card>
|
|
71
|
+
<div
|
|
72
|
+
v-else
|
|
73
|
+
class="w-full bg-gradient-to-b from-transparent to-black/70 p-[16px] text-white flex gap-[16px]"
|
|
74
|
+
>
|
|
75
|
+
<div>
|
|
76
|
+
<!-- <Avatar
|
|
77
|
+
:src="props.review.user?.avatar"
|
|
78
|
+
:name="props.review.user?.name"
|
|
79
|
+
/> -->
|
|
80
|
+
</div>
|
|
81
|
+
<div class="flex flex-col gap-[8px] w-full">
|
|
82
|
+
<div class="flex flex-col gap-[2px]">
|
|
83
|
+
<div class="flex justify-between items-center">
|
|
84
|
+
<div class="font-body-large">{{ props.review.user?.name }}</div>
|
|
85
|
+
<div class="flex gap-[8px] items-center">
|
|
86
|
+
<Button variant="text" disabled-padding @click="toggleComment">
|
|
87
|
+
<Icon
|
|
88
|
+
name="lucide:message-square-warning"
|
|
89
|
+
:size="20"
|
|
90
|
+
color="white"
|
|
91
|
+
/>
|
|
92
|
+
</Button>
|
|
93
|
+
</div>
|
|
94
|
+
</div>
|
|
95
|
+
<div class="flex flex-col gap-[6px]">
|
|
96
|
+
<div class="font-body-small">
|
|
97
|
+
{{ props.review.user?.review_count }} รีวิว •
|
|
98
|
+
{{ props.review.user?.like_count }} ชื่นชอบรีวิว
|
|
99
|
+
</div>
|
|
100
|
+
<div class="flex gap-[8px] items-center">
|
|
101
|
+
<InputRating
|
|
102
|
+
:size="16"
|
|
103
|
+
readonly
|
|
104
|
+
:model-value="props.review.review?.rating"
|
|
105
|
+
/>
|
|
106
|
+
<div class="font-body-small">
|
|
107
|
+
{{ props.review.review?.created_at }}
|
|
108
|
+
</div>
|
|
109
|
+
</div>
|
|
110
|
+
</div>
|
|
111
|
+
</div>
|
|
112
|
+
<div
|
|
113
|
+
v-if="props.review.review?.description"
|
|
114
|
+
class="font-body-large line-clamp-1"
|
|
115
|
+
>
|
|
116
|
+
{{ props.review.review?.description }}
|
|
117
|
+
</div>
|
|
118
|
+
</div>
|
|
119
|
+
</div>
|
|
120
|
+
</Carousel>
|
|
121
|
+
</Modal>
|
|
122
122
|
</template>
|
|
123
123
|
|
|
124
124
|
<script setup>
|