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
|
@@ -11,24 +11,24 @@ const delegatedProps = reactiveOmit(props, "class");
|
|
|
11
11
|
</script>
|
|
12
12
|
|
|
13
13
|
<template>
|
|
14
|
-
<TableRow>
|
|
15
|
-
<TableCell
|
|
14
|
+
<TableRow>
|
|
15
|
+
<TableCell
|
|
16
16
|
:class="
|
|
17
17
|
cn(
|
|
18
18
|
'p-4 whitespace-nowrap align-middle text-sm text-foreground',
|
|
19
19
|
props.class
|
|
20
20
|
)
|
|
21
|
-
"
|
|
22
|
-
v-bind="delegatedProps"
|
|
23
|
-
>
|
|
24
|
-
<div
|
|
25
|
-
class="flex flex-col items-center justify-center h-[500px] gap-[8px]"
|
|
26
|
-
>
|
|
27
|
-
<slot />
|
|
28
|
-
|
|
29
|
-
<Icon name="pukaad:empty-document" class="w-[218px] h-[200px]" />
|
|
30
|
-
<div class="text-gray font-body-large-prominent">ไม่มีข้อมูลในระบบ</div>
|
|
31
|
-
</div>
|
|
32
|
-
</TableCell>
|
|
33
|
-
</TableRow>
|
|
21
|
+
"
|
|
22
|
+
v-bind="delegatedProps"
|
|
23
|
+
>
|
|
24
|
+
<div
|
|
25
|
+
class="flex flex-col items-center justify-center h-[500px] gap-[8px]"
|
|
26
|
+
>
|
|
27
|
+
<slot />
|
|
28
|
+
|
|
29
|
+
<Icon name="pukaad:empty-document" class="w-[218px] h-[200px]" />
|
|
30
|
+
<div class="text-gray font-body-large-prominent">ไม่มีข้อมูลในระบบ</div>
|
|
31
|
+
</div>
|
|
32
|
+
</TableCell>
|
|
33
|
+
</TableRow>
|
|
34
34
|
</template>
|
|
@@ -6,10 +6,10 @@ const props = defineProps({
|
|
|
6
6
|
</script>
|
|
7
7
|
|
|
8
8
|
<template>
|
|
9
|
-
<tfoot
|
|
10
|
-
data-slot="table-footer"
|
|
11
|
-
:class="cn('bg-muted/50 border-t font-medium [&>tr]:last:border-b-0', props.class)"
|
|
12
|
-
>
|
|
13
|
-
<slot />
|
|
14
|
-
</tfoot>
|
|
9
|
+
<tfoot
|
|
10
|
+
data-slot="table-footer"
|
|
11
|
+
:class="cn('bg-muted/50 border-t font-medium [&>tr]:last:border-b-0', props.class)"
|
|
12
|
+
>
|
|
13
|
+
<slot />
|
|
14
|
+
</tfoot>
|
|
15
15
|
</template>
|
|
@@ -6,10 +6,10 @@ const props = defineProps({
|
|
|
6
6
|
</script>
|
|
7
7
|
|
|
8
8
|
<template>
|
|
9
|
-
<th
|
|
10
|
-
data-slot="table-head"
|
|
11
|
-
:class="cn('text-foreground h-10 px-2 text-left align-middle font-medium whitespace-nowrap [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]', props.class)"
|
|
12
|
-
>
|
|
13
|
-
<slot />
|
|
14
|
-
</th>
|
|
9
|
+
<th
|
|
10
|
+
data-slot="table-head"
|
|
11
|
+
:class="cn('text-foreground h-10 px-2 text-left align-middle font-medium whitespace-nowrap [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]', props.class)"
|
|
12
|
+
>
|
|
13
|
+
<slot />
|
|
14
|
+
</th>
|
|
15
15
|
</template>
|
|
@@ -6,10 +6,10 @@ const props = defineProps({
|
|
|
6
6
|
</script>
|
|
7
7
|
|
|
8
8
|
<template>
|
|
9
|
-
<thead
|
|
10
|
-
data-slot="table-header"
|
|
11
|
-
:class="cn('[&_tr]:border-b', props.class)"
|
|
12
|
-
>
|
|
13
|
-
<slot />
|
|
14
|
-
</thead>
|
|
9
|
+
<thead
|
|
10
|
+
data-slot="table-header"
|
|
11
|
+
:class="cn('[&_tr]:border-b', props.class)"
|
|
12
|
+
>
|
|
13
|
+
<slot />
|
|
14
|
+
</thead>
|
|
15
15
|
</template>
|
|
@@ -6,10 +6,10 @@ const props = defineProps({
|
|
|
6
6
|
</script>
|
|
7
7
|
|
|
8
8
|
<template>
|
|
9
|
-
<tr
|
|
10
|
-
data-slot="table-row"
|
|
11
|
-
:class="cn('hover:bg-muted/50 data-[state=selected]:bg-info border-b transition-colors', props.class)"
|
|
12
|
-
>
|
|
13
|
-
<slot />
|
|
14
|
-
</tr>
|
|
9
|
+
<tr
|
|
10
|
+
data-slot="table-row"
|
|
11
|
+
:class="cn('hover:bg-muted/50 data-[state=selected]:bg-info border-b transition-colors', props.class)"
|
|
12
|
+
>
|
|
13
|
+
<slot />
|
|
14
|
+
</tr>
|
|
15
15
|
</template>
|
|
@@ -19,12 +19,12 @@ const forwarded = useForwardPropsEmits(delegatedProps, emits);
|
|
|
19
19
|
</script>
|
|
20
20
|
|
|
21
21
|
<template>
|
|
22
|
-
<TabsRoot
|
|
23
|
-
v-slot="slotProps"
|
|
24
|
-
data-slot="tabs"
|
|
25
|
-
v-bind="forwarded"
|
|
26
|
-
:class="cn('flex flex-col gap-2', props.class)"
|
|
27
|
-
>
|
|
28
|
-
<slot v-bind="slotProps" />
|
|
29
|
-
</TabsRoot>
|
|
22
|
+
<TabsRoot
|
|
23
|
+
v-slot="slotProps"
|
|
24
|
+
data-slot="tabs"
|
|
25
|
+
v-bind="forwarded"
|
|
26
|
+
:class="cn('flex flex-col gap-2', props.class)"
|
|
27
|
+
>
|
|
28
|
+
<slot v-bind="slotProps" />
|
|
29
|
+
</TabsRoot>
|
|
30
30
|
</template>
|
|
@@ -13,11 +13,11 @@ const delegatedProps = reactiveOmit(props, "class");
|
|
|
13
13
|
</script>
|
|
14
14
|
|
|
15
15
|
<template>
|
|
16
|
-
<TabsContent
|
|
17
|
-
data-slot="tabs-content"
|
|
18
|
-
:class="cn('flex-1 outline-none', props.class)"
|
|
19
|
-
v-bind="delegatedProps"
|
|
20
|
-
>
|
|
21
|
-
<slot />
|
|
22
|
-
</TabsContent>
|
|
16
|
+
<TabsContent
|
|
17
|
+
data-slot="tabs-content"
|
|
18
|
+
:class="cn('flex-1 outline-none', props.class)"
|
|
19
|
+
v-bind="delegatedProps"
|
|
20
|
+
>
|
|
21
|
+
<slot />
|
|
22
|
+
</TabsContent>
|
|
23
23
|
</template>
|
|
@@ -12,16 +12,16 @@ const delegatedProps = reactiveOmit(props, "class");
|
|
|
12
12
|
</script>
|
|
13
13
|
|
|
14
14
|
<template>
|
|
15
|
-
<TabsList
|
|
16
|
-
data-slot="tabs-list"
|
|
17
|
-
v-bind="delegatedProps"
|
|
15
|
+
<TabsList
|
|
16
|
+
data-slot="tabs-list"
|
|
17
|
+
v-bind="delegatedProps"
|
|
18
18
|
:class="
|
|
19
19
|
cn(
|
|
20
20
|
'bg-muted font-body-medium dark:text-muted-foreground inline-flex h-9 w-fit items-center justify-center rounded-lg p-[4px]',
|
|
21
21
|
props.class
|
|
22
22
|
)
|
|
23
|
-
"
|
|
24
|
-
>
|
|
25
|
-
<slot />
|
|
26
|
-
</TabsList>
|
|
23
|
+
"
|
|
24
|
+
>
|
|
25
|
+
<slot />
|
|
26
|
+
</TabsList>
|
|
27
27
|
</template>
|
|
@@ -14,16 +14,16 @@ const forwardedProps = useForwardProps(delegatedProps);
|
|
|
14
14
|
</script>
|
|
15
15
|
|
|
16
16
|
<template>
|
|
17
|
-
<TabsTrigger
|
|
18
|
-
data-slot="tabs-trigger"
|
|
17
|
+
<TabsTrigger
|
|
18
|
+
data-slot="tabs-trigger"
|
|
19
19
|
:class="
|
|
20
20
|
cn(
|
|
21
21
|
'data-[state=active]:bg-background dark:data-[state=active]:text-foreground focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:outline-ring dark:data-[state=active]:border-input dark:data-[state=active]:bg-input/30 text-body-medi dark:text-muted-foreground inline-flex h-[calc(100%-1px)] flex-1 items-center justify-center gap-1.5 rounded-md border border-transparent px-2 py-1 text-sm font-medium whitespace-nowrap transition-[color,box-shadow] focus-visible:ring-[3px] focus-visible:outline-1 disabled:pointer-events-none disabled:opacity-50 data-[state=inactive]:text-gray [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*=\'size-\'])]:size-4',
|
|
22
22
|
props.class
|
|
23
23
|
)
|
|
24
|
-
"
|
|
25
|
-
v-bind="forwardedProps"
|
|
26
|
-
>
|
|
27
|
-
<slot />
|
|
28
|
-
</TabsTrigger>
|
|
24
|
+
"
|
|
25
|
+
v-bind="forwardedProps"
|
|
26
|
+
>
|
|
27
|
+
<slot />
|
|
28
|
+
</TabsTrigger>
|
|
29
29
|
</template>
|
|
@@ -14,15 +14,15 @@ const modelValue = useVModel(props, "modelValue", emits, {
|
|
|
14
14
|
</script>
|
|
15
15
|
|
|
16
16
|
<template>
|
|
17
|
-
<textarea
|
|
18
|
-
v-model="modelValue"
|
|
19
|
-
data-slot="textarea"
|
|
17
|
+
<textarea
|
|
18
|
+
v-model="modelValue"
|
|
19
|
+
data-slot="textarea"
|
|
20
20
|
:class="
|
|
21
21
|
cn(
|
|
22
22
|
'font-body-large',
|
|
23
23
|
'border-input placeholder:text-muted-foreground focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:bg-input/30 flex min-h-9 w-full rounded-md border bg-transparent px-3 py-2 text-base shadow-xs transition-[color,box-shadow] outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50 md:text-sm',
|
|
24
24
|
props.class
|
|
25
25
|
)
|
|
26
|
-
"
|
|
27
|
-
/>
|
|
26
|
+
"
|
|
27
|
+
/>
|
|
28
28
|
</template>
|
|
@@ -14,11 +14,11 @@ const forwarded = useForwardPropsEmits(props, emits);
|
|
|
14
14
|
</script>
|
|
15
15
|
|
|
16
16
|
<template>
|
|
17
|
-
<TooltipRoot
|
|
18
|
-
v-slot="slotProps"
|
|
19
|
-
data-slot="tooltip"
|
|
20
|
-
v-bind="forwarded"
|
|
21
|
-
>
|
|
22
|
-
<slot v-bind="slotProps" />
|
|
23
|
-
</TooltipRoot>
|
|
17
|
+
<TooltipRoot
|
|
18
|
+
v-slot="slotProps"
|
|
19
|
+
data-slot="tooltip"
|
|
20
|
+
v-bind="forwarded"
|
|
21
|
+
>
|
|
22
|
+
<slot v-bind="slotProps" />
|
|
23
|
+
</TooltipRoot>
|
|
24
24
|
</template>
|
|
@@ -35,22 +35,22 @@ const forwarded = useForwardPropsEmits(delegatedProps, emits);
|
|
|
35
35
|
</script>
|
|
36
36
|
|
|
37
37
|
<template>
|
|
38
|
-
<TooltipPortal>
|
|
39
|
-
<TooltipContent
|
|
40
|
-
data-slot="tooltip-content"
|
|
41
|
-
v-bind="{ ...forwarded, ...$attrs }"
|
|
38
|
+
<TooltipPortal>
|
|
39
|
+
<TooltipContent
|
|
40
|
+
data-slot="tooltip-content"
|
|
41
|
+
v-bind="{ ...forwarded, ...$attrs }"
|
|
42
42
|
:class="
|
|
43
43
|
cn(
|
|
44
44
|
'bg-white text-black animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-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 w-fit rounded-md px-3 py-1.5 font-body-medium border border-silver shadow-md',
|
|
45
45
|
props.class
|
|
46
46
|
)
|
|
47
|
-
"
|
|
48
|
-
>
|
|
49
|
-
<slot />
|
|
50
|
-
|
|
51
|
-
<TooltipArrow
|
|
52
|
-
class="bg-white fill-white z-50 size-2.5 translate-y-[calc(-50%_-_2px)] rotate-45 rounded-[2px] border-b border-silver shadow-md"
|
|
53
|
-
/>
|
|
54
|
-
</TooltipContent>
|
|
55
|
-
</TooltipPortal>
|
|
47
|
+
"
|
|
48
|
+
>
|
|
49
|
+
<slot />
|
|
50
|
+
|
|
51
|
+
<TooltipArrow
|
|
52
|
+
class="bg-white fill-white z-50 size-2.5 translate-y-[calc(-50%_-_2px)] rotate-45 rounded-[2px] border-b border-silver shadow-md"
|
|
53
|
+
/>
|
|
54
|
+
</TooltipContent>
|
|
55
|
+
</TooltipPortal>
|
|
56
56
|
</template>
|
|
@@ -8,10 +8,10 @@ const props = defineProps({
|
|
|
8
8
|
</script>
|
|
9
9
|
|
|
10
10
|
<template>
|
|
11
|
-
<TooltipTrigger
|
|
12
|
-
data-slot="tooltip-trigger"
|
|
13
|
-
v-bind="props"
|
|
14
|
-
>
|
|
15
|
-
<slot />
|
|
16
|
-
</TooltipTrigger>
|
|
11
|
+
<TooltipTrigger
|
|
12
|
+
data-slot="tooltip-trigger"
|
|
13
|
+
v-bind="props"
|
|
14
|
+
>
|
|
15
|
+
<slot />
|
|
16
|
+
</TooltipTrigger>
|
|
17
17
|
</template>
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<video ref="videoRef" :src="props.src" :poster="props?.poster" :autoplay="props.autoplay" :muted="props.muted"
|
|
2
|
+
<video ref="videoRef" :src="props.src" :poster="props?.poster" :autoplay="props.autoplay" :muted="props.muted"
|
|
3
3
|
:loop="props.loop" :controls="props.controls" :preload="props.preload" :style="{
|
|
4
4
|
width: props.fullWidth ? '100%' : `${props.width}px`,
|
|
5
5
|
height: props.fullHeight ? '100%' : `${props.height}px`,
|
|
6
6
|
objectFit: props.fit
|
|
7
|
-
}" @mouseenter="onMouseEnter" @mouseleave="onMouseLeave" />
|
|
7
|
+
}" @mouseenter="onMouseEnter" @mouseleave="onMouseLeave" />
|
|
8
8
|
</template>
|
|
9
9
|
|
|
10
10
|
<script setup>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const useApi: () => import("
|
|
1
|
+
export declare const useApi: () => import("nitropack").$Fetch<unknown, import("nitropack").NitroFetchRequest>;
|
|
@@ -1,72 +1,8 @@
|
|
|
1
|
-
import { useRuntimeConfig, useCookie,
|
|
2
|
-
import { $fetch } from "ofetch";
|
|
3
|
-
const provinceIdByHostCache = /* @__PURE__ */ new Map();
|
|
4
|
-
const provinceIdByHostPromise = /* @__PURE__ */ new Map();
|
|
5
|
-
const normalizeDomain = (value) => {
|
|
6
|
-
const input = value.trim().toLowerCase();
|
|
7
|
-
if (!input) return "";
|
|
8
|
-
try {
|
|
9
|
-
return new URL(input.includes("://") ? input : `https://${input}`).hostname;
|
|
10
|
-
} catch {
|
|
11
|
-
return input.split("/")[0]?.split(":")[0] || "";
|
|
12
|
-
}
|
|
13
|
-
};
|
|
14
|
-
const getCurrentHost = () => {
|
|
15
|
-
if (typeof window !== "undefined") {
|
|
16
|
-
return normalizeDomain(window.location.hostname);
|
|
17
|
-
}
|
|
18
|
-
try {
|
|
19
|
-
return normalizeDomain(useRequestURL().hostname);
|
|
20
|
-
} catch {
|
|
21
|
-
return "";
|
|
22
|
-
}
|
|
23
|
-
};
|
|
24
|
-
const resolveProvinceIdByHost = async (host, baseURL) => {
|
|
25
|
-
if (!host) return null;
|
|
26
|
-
if (provinceIdByHostCache.has(host)) {
|
|
27
|
-
return provinceIdByHostCache.get(host) ?? null;
|
|
28
|
-
}
|
|
29
|
-
const activePromise = provinceIdByHostPromise.get(host);
|
|
30
|
-
if (activePromise) return activePromise;
|
|
31
|
-
const promise = (async () => {
|
|
32
|
-
const response = await $fetch("/master/address/provinces", {
|
|
33
|
-
baseURL,
|
|
34
|
-
query: { page_size: 100 }
|
|
35
|
-
});
|
|
36
|
-
const provinces = response.data ?? [];
|
|
37
|
-
const province = provinces.find((item) => {
|
|
38
|
-
return normalizeDomain(String(item.domain || "")) === host;
|
|
39
|
-
});
|
|
40
|
-
const provinceId = province?.id ? String(province.id) : null;
|
|
41
|
-
provinceIdByHostCache.set(host, provinceId);
|
|
42
|
-
return provinceId;
|
|
43
|
-
})();
|
|
44
|
-
provinceIdByHostPromise.set(host, promise);
|
|
45
|
-
try {
|
|
46
|
-
return await promise;
|
|
47
|
-
} catch {
|
|
48
|
-
provinceIdByHostCache.set(host, null);
|
|
49
|
-
return null;
|
|
50
|
-
} finally {
|
|
51
|
-
provinceIdByHostPromise.delete(host);
|
|
52
|
-
}
|
|
53
|
-
};
|
|
54
|
-
const resolveProvinceId = async (provinceIdState, host, baseURL, configProvinceId) => {
|
|
55
|
-
if (provinceIdState.value) {
|
|
56
|
-
return String(provinceIdState.value);
|
|
57
|
-
}
|
|
58
|
-
const provinceIdByHost = await resolveProvinceIdByHost(host, baseURL);
|
|
59
|
-
if (provinceIdByHost) {
|
|
60
|
-
provinceIdState.value = provinceIdByHost;
|
|
61
|
-
return provinceIdByHost;
|
|
62
|
-
}
|
|
63
|
-
return configProvinceId ? String(configProvinceId) : "";
|
|
64
|
-
};
|
|
1
|
+
import { useRuntimeConfig, useCookie, useState } from "nuxt/app";
|
|
65
2
|
export const useApi = () => {
|
|
66
3
|
const config = useRuntimeConfig();
|
|
67
4
|
const baseURL = config.public.BASE_URL_API;
|
|
68
5
|
const provinceIdState = useState("pukaad:province-id", () => null);
|
|
69
|
-
const currentHost = getCurrentHost();
|
|
70
6
|
const configProvinceId = config.public.APP_PROVINCE_ID;
|
|
71
7
|
const { APP_TYPE } = config.public;
|
|
72
8
|
const secId = useCookie(
|
|
@@ -77,21 +13,14 @@ export const useApi = () => {
|
|
|
77
13
|
headers: {
|
|
78
14
|
Accept: "application/json"
|
|
79
15
|
},
|
|
80
|
-
// Interceptors
|
|
81
16
|
async onRequest({ options }) {
|
|
82
17
|
const headers = new Headers(options.headers);
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
headers.set("Authorization", `Bearer ${token}`);
|
|
18
|
+
if (secId.value) {
|
|
19
|
+
headers.set("Authorization", `Bearer ${secId.value}`);
|
|
86
20
|
}
|
|
87
|
-
const
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
baseURL,
|
|
91
|
-
configProvinceId
|
|
92
|
-
);
|
|
93
|
-
if (provinceId) {
|
|
94
|
-
headers.set("X-Province-ID", provinceId);
|
|
21
|
+
const pid = provinceIdState.value ?? configProvinceId;
|
|
22
|
+
if (pid) {
|
|
23
|
+
headers.set("X-Province-ID", String(pid));
|
|
95
24
|
}
|
|
96
25
|
options.headers = headers;
|
|
97
26
|
},
|
|
@@ -1,87 +1,87 @@
|
|
|
1
|
-
# OpenGISData-Thailand
|
|
2
|
-
Open GIS Data Sources in Thailand
|
|
3
|
-
|
|
4
|
-
## เป็นไฟล์รูปแบบ geojson มีทั้งหมด 3 ไฟล์คือ
|
|
5
|
-
- ชั้นข้อมูลขอบเขตจังหวัด 77 จังหวัด (provinces.geojson)
|
|
6
|
-
- ชั้นข้อมูลขอบเขตอำเภอ 928 อำเภอ (districts.geojson)
|
|
7
|
-
- ชั้นข้อมูลขอบเขตตำบล 7367 ตำบล (subdistricts.geojson)
|
|
8
|
-
- ชั้นข้อมูลขอบเขตภูมิภาค 7 ภูมิภาค (region_royin.geojson)
|
|
9
|
-
- ชั้นข้อมูลขอบเขตภูมิภาค 6 ภูมิภาค (region_nesdb.geojson)
|
|
10
|
-
|
|
11
|
-
## Data dictionary
|
|
12
|
-
**provinces**
|
|
13
|
-
|
|
14
|
-
|Field |Type |Key|Description |
|
|
15
|
-
|----------------|-------------------------------|-----------------------------|-----------------------------|
|
|
16
|
-
|gid|Integer(10)|PK|gid|
|
|
17
|
-
|tam_code|String(6)||รหัสตำบล|
|
|
18
|
-
|tam_th|String(254)||ชื่อตำบลภาษาไทย|
|
|
19
|
-
|tam_en|String(254)||ชื่อตำบลภาษาอังกฤษ|
|
|
20
|
-
|amp_code|String(4)||รหัสอำเภอ|
|
|
21
|
-
|amp_th|String(254)||ชื่ออำเภอภาษาไทย|
|
|
22
|
-
|amp_en|String(254)||ชื่ออำเภอภาษาอังกฤษ|
|
|
23
|
-
|pro_code|String(2)||รหัสจังหวัด|
|
|
24
|
-
|pro_th|String(254)||ชื่อจังหวัดภาษาไทย|
|
|
25
|
-
|pro_en|String(254)||ชื่อจังหวัดภาษาอังกฤษ|
|
|
26
|
-
|reg_nesdb|String(254)||เขตภูมิภาค|
|
|
27
|
-
|reg_royin|String(254)||เขตภูมิภาค|
|
|
28
|
-
|perimeter|Real(18,11)||เส้นรอบรูป กิโลเมตร|
|
|
29
|
-
|area_sqkm|Real(18,11)||เนื้อที่ ตารางกิโลเมตร|
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
----------
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
**districts**
|
|
36
|
-
|
|
37
|
-
|Field |Type |Key|Description |
|
|
38
|
-
|----------------|-------------------------------|-----------------------------|-----------------------------|
|
|
39
|
-
|amp_code|String(4)|PK|รหัสอำเภอ|
|
|
40
|
-
|amp_th|String(254)||ชื่ออำเภอภาษาไทย|
|
|
41
|
-
|amp_en|String(254)||ชื่ออำเภอภาษาอังกฤษ|
|
|
42
|
-
|pro_code|String(2)||รหัสจังหวัด|
|
|
43
|
-
|pro_th|String(254)||ชื่อจังหวัดภาษาไทย|
|
|
44
|
-
|pro_en|String(254)||ชื่อจังหวัดภาษาอังกฤษ|
|
|
45
|
-
|reg_nesdb|String(254)||เขตภูมิภาค|
|
|
46
|
-
|reg_royin|String(254)||เขตภูมิภาค|
|
|
47
|
-
|perimeter|Real(18,11)||เส้นรอบรูป กิโลเมตร|
|
|
48
|
-
|area_sqkm|Real(18,11)||เนื้อที่ ตารางกิโลเมตร|
|
|
49
|
-
|
|
50
|
-
----------
|
|
51
|
-
|
|
52
|
-
**subdistricts**
|
|
53
|
-
|
|
54
|
-
|Field |Type |Key|Description |
|
|
55
|
-
|----------------|-------------------------------|-----------------------------|-----------------------------|
|
|
56
|
-
|pro_code|String(2)|PK|รหัสจังหวัด|
|
|
57
|
-
|pro_th|String(254)||ชื่อจังหวัดภาษาไทย|
|
|
58
|
-
|pro_en|String(254)||ชื่อจังหวัดภาษาอังกฤษ|
|
|
59
|
-
|reg_nesdb|String(254)||เขตภูมิภาค|
|
|
60
|
-
|reg_royin|String(254)||เขตภูมิภาค|
|
|
61
|
-
|perimeter|Real(18,11)||เส้นรอบรูป กิโลเมตร|
|
|
62
|
-
|area_sqkm|Real(18,11)||เนื้อที่ ตารางกิโลเมตร|
|
|
63
|
-
|
|
64
|
-
----------
|
|
65
|
-
|
|
66
|
-
**region_royin**
|
|
67
|
-
|
|
68
|
-
|Field |Type |Key|Description |
|
|
69
|
-
|----------------|-------------------------------|-----------------------------|-----------------------------|
|
|
70
|
-
|reg_royin|String(254)||เขตภูมิภาค|
|
|
71
|
-
|perimeter|Real(18,11)||เส้นรอบรูป กิโลเมตร|
|
|
72
|
-
|area_sqkm|Real(18,11)||เนื้อที่ ตารางกิโลเมตร|
|
|
73
|
-
|
|
74
|
-
----------
|
|
75
|
-
|
|
76
|
-
**region_nesdb**
|
|
77
|
-
|
|
78
|
-
|Field |Type |Key|Description |
|
|
79
|
-
|----------------|-------------------------------|-----------------------------|-----------------------------|
|
|
80
|
-
|reg_nesdb|String(254)||เขตภูมิภาค|
|
|
81
|
-
|perimeter|Real(18,11)||เส้นรอบรูป กิโลเมตร|
|
|
82
|
-
|area_sqkm|Real(18,11)||เนื้อที่ ตารางกิโลเมตร|
|
|
83
|
-
|
|
84
|
-
----------
|
|
85
|
-
|
|
86
|
-
## แหล่งอ้างอิงข้อมูล
|
|
87
|
-
-
|
|
1
|
+
# OpenGISData-Thailand
|
|
2
|
+
Open GIS Data Sources in Thailand
|
|
3
|
+
|
|
4
|
+
## เป็นไฟล์รูปแบบ geojson มีทั้งหมด 3 ไฟล์คือ
|
|
5
|
+
- ชั้นข้อมูลขอบเขตจังหวัด 77 จังหวัด (provinces.geojson)
|
|
6
|
+
- ชั้นข้อมูลขอบเขตอำเภอ 928 อำเภอ (districts.geojson)
|
|
7
|
+
- ชั้นข้อมูลขอบเขตตำบล 7367 ตำบล (subdistricts.geojson)
|
|
8
|
+
- ชั้นข้อมูลขอบเขตภูมิภาค 7 ภูมิภาค (region_royin.geojson)
|
|
9
|
+
- ชั้นข้อมูลขอบเขตภูมิภาค 6 ภูมิภาค (region_nesdb.geojson)
|
|
10
|
+
|
|
11
|
+
## Data dictionary
|
|
12
|
+
**provinces**
|
|
13
|
+
|
|
14
|
+
|Field |Type |Key|Description |
|
|
15
|
+
|----------------|-------------------------------|-----------------------------|-----------------------------|
|
|
16
|
+
|gid|Integer(10)|PK|gid|
|
|
17
|
+
|tam_code|String(6)||รหัสตำบล|
|
|
18
|
+
|tam_th|String(254)||ชื่อตำบลภาษาไทย|
|
|
19
|
+
|tam_en|String(254)||ชื่อตำบลภาษาอังกฤษ|
|
|
20
|
+
|amp_code|String(4)||รหัสอำเภอ|
|
|
21
|
+
|amp_th|String(254)||ชื่ออำเภอภาษาไทย|
|
|
22
|
+
|amp_en|String(254)||ชื่ออำเภอภาษาอังกฤษ|
|
|
23
|
+
|pro_code|String(2)||รหัสจังหวัด|
|
|
24
|
+
|pro_th|String(254)||ชื่อจังหวัดภาษาไทย|
|
|
25
|
+
|pro_en|String(254)||ชื่อจังหวัดภาษาอังกฤษ|
|
|
26
|
+
|reg_nesdb|String(254)||เขตภูมิภาค|
|
|
27
|
+
|reg_royin|String(254)||เขตภูมิภาค|
|
|
28
|
+
|perimeter|Real(18,11)||เส้นรอบรูป กิโลเมตร|
|
|
29
|
+
|area_sqkm|Real(18,11)||เนื้อที่ ตารางกิโลเมตร|
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
----------
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
**districts**
|
|
36
|
+
|
|
37
|
+
|Field |Type |Key|Description |
|
|
38
|
+
|----------------|-------------------------------|-----------------------------|-----------------------------|
|
|
39
|
+
|amp_code|String(4)|PK|รหัสอำเภอ|
|
|
40
|
+
|amp_th|String(254)||ชื่ออำเภอภาษาไทย|
|
|
41
|
+
|amp_en|String(254)||ชื่ออำเภอภาษาอังกฤษ|
|
|
42
|
+
|pro_code|String(2)||รหัสจังหวัด|
|
|
43
|
+
|pro_th|String(254)||ชื่อจังหวัดภาษาไทย|
|
|
44
|
+
|pro_en|String(254)||ชื่อจังหวัดภาษาอังกฤษ|
|
|
45
|
+
|reg_nesdb|String(254)||เขตภูมิภาค|
|
|
46
|
+
|reg_royin|String(254)||เขตภูมิภาค|
|
|
47
|
+
|perimeter|Real(18,11)||เส้นรอบรูป กิโลเมตร|
|
|
48
|
+
|area_sqkm|Real(18,11)||เนื้อที่ ตารางกิโลเมตร|
|
|
49
|
+
|
|
50
|
+
----------
|
|
51
|
+
|
|
52
|
+
**subdistricts**
|
|
53
|
+
|
|
54
|
+
|Field |Type |Key|Description |
|
|
55
|
+
|----------------|-------------------------------|-----------------------------|-----------------------------|
|
|
56
|
+
|pro_code|String(2)|PK|รหัสจังหวัด|
|
|
57
|
+
|pro_th|String(254)||ชื่อจังหวัดภาษาไทย|
|
|
58
|
+
|pro_en|String(254)||ชื่อจังหวัดภาษาอังกฤษ|
|
|
59
|
+
|reg_nesdb|String(254)||เขตภูมิภาค|
|
|
60
|
+
|reg_royin|String(254)||เขตภูมิภาค|
|
|
61
|
+
|perimeter|Real(18,11)||เส้นรอบรูป กิโลเมตร|
|
|
62
|
+
|area_sqkm|Real(18,11)||เนื้อที่ ตารางกิโลเมตร|
|
|
63
|
+
|
|
64
|
+
----------
|
|
65
|
+
|
|
66
|
+
**region_royin**
|
|
67
|
+
|
|
68
|
+
|Field |Type |Key|Description |
|
|
69
|
+
|----------------|-------------------------------|-----------------------------|-----------------------------|
|
|
70
|
+
|reg_royin|String(254)||เขตภูมิภาค|
|
|
71
|
+
|perimeter|Real(18,11)||เส้นรอบรูป กิโลเมตร|
|
|
72
|
+
|area_sqkm|Real(18,11)||เนื้อที่ ตารางกิโลเมตร|
|
|
73
|
+
|
|
74
|
+
----------
|
|
75
|
+
|
|
76
|
+
**region_nesdb**
|
|
77
|
+
|
|
78
|
+
|Field |Type |Key|Description |
|
|
79
|
+
|----------------|-------------------------------|-----------------------------|-----------------------------|
|
|
80
|
+
|reg_nesdb|String(254)||เขตภูมิภาค|
|
|
81
|
+
|perimeter|Real(18,11)||เส้นรอบรูป กิโลเมตร|
|
|
82
|
+
|area_sqkm|Real(18,11)||เนื้อที่ ตารางกิโลเมตร|
|
|
83
|
+
|
|
84
|
+
----------
|
|
85
|
+
|
|
86
|
+
## แหล่งอ้างอิงข้อมูล
|
|
87
|
+
-
|