pukaad-ui-lib 1.3.3 → 1.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (303) hide show
  1. package/dist/module.json +1 -1
  2. package/dist/runtime/assets/json/social-icon.json +77 -77
  3. package/dist/runtime/assets/svg/bell-outline.svg +3 -3
  4. package/dist/runtime/assets/svg/bookmark-solid.svg +2 -2
  5. package/dist/runtime/assets/svg/box.svg +22 -22
  6. package/dist/runtime/assets/svg/camera-plus.svg +9 -9
  7. package/dist/runtime/assets/svg/clock-fading.svg +46 -46
  8. package/dist/runtime/assets/svg/coin.svg +20 -20
  9. package/dist/runtime/assets/svg/empty-document.svg +15 -15
  10. package/dist/runtime/assets/svg/memsg-circle.svg +7 -7
  11. package/dist/runtime/assets/svg/memsg-fade.svg +5 -5
  12. package/dist/runtime/assets/svg/memsg-logo-outline.svg +3 -3
  13. package/dist/runtime/assets/svg/memsg-square.svg +9 -9
  14. package/dist/runtime/assets/svg/message.svg +3 -3
  15. package/dist/runtime/assets/svg/page-not-found.svg +9 -9
  16. package/dist/runtime/assets/svg/share-from-square.svg +3 -3
  17. package/dist/runtime/assets/svg/share.svg +2 -2
  18. package/dist/runtime/assets/svg/shopping-cart.svg +16 -16
  19. package/dist/runtime/assets/svg/socials/Email.svg +12 -12
  20. package/dist/runtime/assets/svg/socials/Line.svg +11 -11
  21. package/dist/runtime/assets/svg/socials/LinkedIn.svg +5 -5
  22. package/dist/runtime/assets/svg/socials/Pinterest.svg +4 -4
  23. package/dist/runtime/assets/svg/socials/SnapChat.svg +5 -5
  24. package/dist/runtime/assets/svg/socials/Threads.svg +12 -12
  25. package/dist/runtime/assets/svg/socials/Tiktok.svg +6 -6
  26. package/dist/runtime/assets/svg/socials/Tumblr.svg +4 -4
  27. package/dist/runtime/assets/svg/socials/Website.svg +11 -11
  28. package/dist/runtime/assets/svg/socials/Whatsapp.svg +5 -5
  29. package/dist/runtime/assets/svg/socials/X.svg +4 -4
  30. package/dist/runtime/assets/svg/socials/Youtube.svg +5 -5
  31. package/dist/runtime/assets/svg/socials/{Facebook.svg → facebook.svg} +4 -4
  32. package/dist/runtime/assets/svg/socials/instagram.svg +14 -14
  33. package/dist/runtime/assets/svg/thumbs-up-regular.svg +9 -9
  34. package/dist/runtime/assets/svg/thumbs-up-solid.svg +2 -2
  35. package/dist/runtime/assets/svg/vector.svg +2 -2
  36. package/dist/runtime/assets/svg/verify.svg +10 -10
  37. package/dist/runtime/assets/svg/write-review.svg +15 -15
  38. package/dist/runtime/components/button.d.vue.ts +1 -1
  39. package/dist/runtime/components/button.vue +8 -8
  40. package/dist/runtime/components/button.vue.d.ts +1 -1
  41. package/dist/runtime/components/card/card-announce2.vue +104 -102
  42. package/dist/runtime/components/card/card-place-detail.vue +90 -90
  43. package/dist/runtime/components/card/card-profile-about.vue +50 -50
  44. package/dist/runtime/components/card/card-profile-header.vue +94 -94
  45. package/dist/runtime/components/card/card-reaction.vue +29 -29
  46. package/dist/runtime/components/card/card-recommend-blog.vue +49 -49
  47. package/dist/runtime/components/card/card-recommend-place.vue +50 -50
  48. package/dist/runtime/components/card/card-recommend-publisher.vue +51 -51
  49. package/dist/runtime/components/card/card-review.vue +74 -74
  50. package/dist/runtime/components/card/card-user-blog.vue +66 -66
  51. package/dist/runtime/components/card/card-user-item.vue +54 -54
  52. package/dist/runtime/components/card/card.vue +25 -25
  53. package/dist/runtime/components/carousel.vue +29 -29
  54. package/dist/runtime/components/chip.vue +12 -12
  55. package/dist/runtime/components/collapse/collapse-multiple.vue +38 -38
  56. package/dist/runtime/components/collapse/collapse.vue +23 -23
  57. package/dist/runtime/components/comment.vue +216 -216
  58. package/dist/runtime/components/dialog/dialog-2FA-generate.vue +58 -58
  59. package/dist/runtime/components/dialog/dialog-2FA.vue +20 -20
  60. package/dist/runtime/components/dialog/dialog-email-OTP.vue +26 -26
  61. package/dist/runtime/components/dialog/dialog-phone-OTP.vue +25 -25
  62. package/dist/runtime/components/display/display-image-place.vue +4 -4
  63. package/dist/runtime/components/display/display-image-review.vue +16 -16
  64. package/dist/runtime/components/display/display-image.vue +49 -49
  65. package/dist/runtime/components/divider.vue +8 -8
  66. package/dist/runtime/components/draggable.vue +13 -13
  67. package/dist/runtime/components/drawer/drawer-notification.vue +286 -286
  68. package/dist/runtime/components/drawer/drawer-post-blog.vue +80 -80
  69. package/dist/runtime/components/drawer/drawer-profile-about.vue +38 -38
  70. package/dist/runtime/components/drawer/drawer.vue +16 -16
  71. package/dist/runtime/components/dropdown.vue +8 -8
  72. package/dist/runtime/components/filter/filter-list-chip.vue +15 -15
  73. package/dist/runtime/components/filter/filter-list.vue +17 -17
  74. package/dist/runtime/components/icons.vue +1 -1
  75. package/dist/runtime/components/image/image-cropper.d.vue.ts +1 -1
  76. package/dist/runtime/components/image/image-cropper.vue +9 -9
  77. package/dist/runtime/components/image/image-cropper.vue.d.ts +1 -1
  78. package/dist/runtime/components/image/image.vue +29 -29
  79. package/dist/runtime/components/input/input-OTP.vue +16 -16
  80. package/dist/runtime/components/input/input-address.vue +81 -81
  81. package/dist/runtime/components/input/input-autocomplete.d.vue.ts +8 -11
  82. package/dist/runtime/components/input/input-autocomplete.vue +90 -122
  83. package/dist/runtime/components/input/input-autocomplete.vue.d.ts +8 -11
  84. package/dist/runtime/components/input/input-checkbox.vue +103 -103
  85. package/dist/runtime/components/input/input-combobox.vue +82 -82
  86. package/dist/runtime/components/input/input-comment.vue +6 -6
  87. package/dist/runtime/components/input/input-content.vue +5 -5
  88. package/dist/runtime/components/input/input-date-opening.vue +176 -175
  89. package/dist/runtime/components/input/input-email.vue +8 -8
  90. package/dist/runtime/components/input/input-file.d.vue.ts +1 -1
  91. package/dist/runtime/components/input/input-file.vue +76 -76
  92. package/dist/runtime/components/input/input-file.vue.d.ts +1 -1
  93. package/dist/runtime/components/input/input-link.vue +39 -39
  94. package/dist/runtime/components/input/input-media.vue +36 -36
  95. package/dist/runtime/components/input/input-password.d.vue.ts +1 -1
  96. package/dist/runtime/components/input/input-password.vue +40 -40
  97. package/dist/runtime/components/input/input-password.vue.d.ts +1 -1
  98. package/dist/runtime/components/input/input-phone.vue +6 -6
  99. package/dist/runtime/components/input/input-radio.vue +87 -87
  100. package/dist/runtime/components/input/input-rating.vue +13 -13
  101. package/dist/runtime/components/input/input-recaptcha.vue +19 -19
  102. package/dist/runtime/components/input/input-search.vue +69 -69
  103. package/dist/runtime/components/input/input-select-province.d.vue.ts +10 -0
  104. package/dist/runtime/components/input/input-select-province.vue +104 -0
  105. package/dist/runtime/components/input/input-select-province.vue.d.ts +10 -0
  106. package/dist/runtime/components/input/input-select-tag.vue +51 -51
  107. package/dist/runtime/components/input/input-select.vue +42 -42
  108. package/dist/runtime/components/input/input-slider.d.vue.ts +1 -1
  109. package/dist/runtime/components/input/input-slider.vue +19 -19
  110. package/dist/runtime/components/input/input-slider.vue.d.ts +1 -1
  111. package/dist/runtime/components/input/input-switch.vue +25 -25
  112. package/dist/runtime/components/input/input-tag.vue +37 -37
  113. package/dist/runtime/components/input/input-text-field.vue +83 -83
  114. package/dist/runtime/components/input/input-textarea.d.vue.ts +1 -1
  115. package/dist/runtime/components/input/input-textarea.vue +54 -54
  116. package/dist/runtime/components/input/input-textarea.vue.d.ts +1 -1
  117. package/dist/runtime/components/label/label-announce-time.vue +9 -9
  118. package/dist/runtime/components/label/label-card-atom.vue +8 -8
  119. package/dist/runtime/components/list/list-menu.vue +13 -13
  120. package/dist/runtime/components/modal/modal-2FA-generate.vue +62 -62
  121. package/dist/runtime/components/modal/modal-2FA.vue +21 -21
  122. package/dist/runtime/components/modal/modal-account-disabled-alert.vue +33 -33
  123. package/dist/runtime/components/modal/modal-account-disabled-confirmed.vue +32 -32
  124. package/dist/runtime/components/modal/modal-account-disabled-reason.vue +45 -45
  125. package/dist/runtime/components/modal/modal-account-disabled.vue +9 -9
  126. package/dist/runtime/components/modal/modal-email-OTP.vue +31 -31
  127. package/dist/runtime/components/modal/modal-password-new.vue +27 -27
  128. package/dist/runtime/components/modal/modal-password.vue +27 -27
  129. package/dist/runtime/components/modal/modal-personal-card-ID.vue +194 -194
  130. package/dist/runtime/components/modal/modal-phone-OTP.vue +38 -38
  131. package/dist/runtime/components/modal/modal-profile-edit.vue +165 -165
  132. package/dist/runtime/components/modal/modal-province-domain.vue +23 -23
  133. package/dist/runtime/components/modal/modal-report.vue +49 -49
  134. package/dist/runtime/components/modal/modal-review-detail.vue +118 -118
  135. package/dist/runtime/components/modal/modal-secure.vue +10 -10
  136. package/dist/runtime/components/modal/modal-share.vue +24 -24
  137. package/dist/runtime/components/modal/modal-user-account-list.vue +29 -29
  138. package/dist/runtime/components/modal/modal-user-account-search.vue +24 -24
  139. package/dist/runtime/components/modal/modal.vue +27 -27
  140. package/dist/runtime/components/pagination.vue +43 -43
  141. package/dist/runtime/components/picker/picker-image-cover-profile.vue +91 -91
  142. package/dist/runtime/components/picker/picker-image-profile.vue +82 -82
  143. package/dist/runtime/components/picker/picker-option-menu/picker-option-menu-user.vue +14 -14
  144. package/dist/runtime/components/picker/picker-option-menu/picker-option-menu.vue +27 -27
  145. package/dist/runtime/components/profile-cover.vue +80 -80
  146. package/dist/runtime/components/progress-bar.vue +9 -9
  147. package/dist/runtime/components/read-more-text.vue +1 -1
  148. package/dist/runtime/components/tab.vue +78 -78
  149. package/dist/runtime/components/table.vue +82 -82
  150. package/dist/runtime/components/tooltip.vue +19 -19
  151. package/dist/runtime/components/ui/alert/Alert.vue +7 -7
  152. package/dist/runtime/components/ui/alert/AlertDescription.vue +6 -6
  153. package/dist/runtime/components/ui/alert/AlertTitle.vue +6 -6
  154. package/dist/runtime/components/ui/alert-dialog/AlertDialog.vue +3 -3
  155. package/dist/runtime/components/ui/alert-dialog/AlertDialogAction.vue +3 -3
  156. package/dist/runtime/components/ui/alert-dialog/AlertDialogCancel.vue +6 -6
  157. package/dist/runtime/components/ui/alert-dialog/AlertDialogContent.vue +13 -13
  158. package/dist/runtime/components/ui/alert-dialog/AlertDialogDescription.vue +7 -7
  159. package/dist/runtime/components/ui/alert-dialog/AlertDialogFooter.vue +6 -6
  160. package/dist/runtime/components/ui/alert-dialog/AlertDialogHeader.vue +6 -6
  161. package/dist/runtime/components/ui/alert-dialog/AlertDialogTitle.vue +7 -7
  162. package/dist/runtime/components/ui/alert-dialog/AlertDialogTrigger.vue +3 -3
  163. package/dist/runtime/components/ui/avatar/Avatar.vue +6 -6
  164. package/dist/runtime/components/ui/avatar/AvatarFallback.vue +7 -7
  165. package/dist/runtime/components/ui/avatar/AvatarImage.vue +7 -7
  166. package/dist/runtime/components/ui/button/Button.vue +8 -8
  167. package/dist/runtime/components/ui/button/index.d.ts +1 -1
  168. package/dist/runtime/components/ui/button/index.js +24 -2
  169. package/dist/runtime/components/ui/card/Card.vue +8 -8
  170. package/dist/runtime/components/ui/card/CardAction.vue +6 -6
  171. package/dist/runtime/components/ui/card/CardContent.vue +6 -6
  172. package/dist/runtime/components/ui/card/CardDescription.vue +6 -6
  173. package/dist/runtime/components/ui/card/CardFooter.vue +6 -6
  174. package/dist/runtime/components/ui/card/CardHeader.vue +6 -6
  175. package/dist/runtime/components/ui/card/CardTitle.vue +6 -6
  176. package/dist/runtime/components/ui/carousel/Carousel.d.vue.ts +37 -0
  177. package/dist/runtime/components/ui/carousel/Carousel.vue +47 -0
  178. package/dist/runtime/components/ui/carousel/Carousel.vue.d.ts +37 -0
  179. package/dist/runtime/components/ui/carousel/CarouselContent.d.vue.ts +14 -0
  180. package/dist/runtime/components/ui/carousel/CarouselContent.vue +32 -0
  181. package/dist/runtime/components/ui/carousel/CarouselContent.vue.d.ts +14 -0
  182. package/dist/runtime/components/ui/carousel/CarouselItem.d.vue.ts +14 -0
  183. package/dist/runtime/components/ui/carousel/CarouselItem.vue +23 -0
  184. package/dist/runtime/components/ui/carousel/CarouselItem.vue.d.ts +14 -0
  185. package/dist/runtime/components/ui/carousel/CarouselNext.d.vue.ts +22 -0
  186. package/dist/runtime/components/ui/carousel/CarouselNext.vue +33 -0
  187. package/dist/runtime/components/ui/carousel/CarouselNext.vue.d.ts +22 -0
  188. package/dist/runtime/components/ui/carousel/CarouselPrevious.d.vue.ts +22 -0
  189. package/dist/runtime/components/ui/carousel/CarouselPrevious.vue +33 -0
  190. package/dist/runtime/components/ui/carousel/CarouselPrevious.vue.d.ts +22 -0
  191. package/dist/runtime/components/ui/carousel/index.d.ts +7 -0
  192. package/dist/runtime/components/ui/carousel/index.js +6 -0
  193. package/dist/runtime/components/ui/carousel/interface.d.ts +20 -0
  194. package/dist/runtime/components/ui/carousel/interface.js +0 -0
  195. package/dist/runtime/components/ui/carousel/useCarousel.d.ts +20 -0
  196. package/dist/runtime/components/ui/carousel/useCarousel.js +43 -0
  197. package/dist/runtime/components/ui/checkbox/Checkbox.vue +14 -14
  198. package/dist/runtime/components/ui/command/Command.vue +7 -7
  199. package/dist/runtime/components/ui/command/CommandDialog.vue +11 -11
  200. package/dist/runtime/components/ui/command/CommandEmpty.vue +10 -10
  201. package/dist/runtime/components/ui/command/CommandGroup.vue +12 -12
  202. package/dist/runtime/components/ui/command/CommandInput.vue +13 -13
  203. package/dist/runtime/components/ui/command/CommandItem.vue +25 -16
  204. package/dist/runtime/components/ui/command/CommandList.vue +14 -9
  205. package/dist/runtime/components/ui/command/CommandSeparator.vue +7 -7
  206. package/dist/runtime/components/ui/command/CommandShortcut.vue +6 -6
  207. package/dist/runtime/components/ui/dialog/Dialog.vue +3 -3
  208. package/dist/runtime/components/ui/dialog/DialogClose.vue +3 -3
  209. package/dist/runtime/components/ui/dialog/DialogContent.vue +21 -21
  210. package/dist/runtime/components/ui/dialog/DialogDescription.vue +7 -7
  211. package/dist/runtime/components/ui/dialog/DialogFooter.vue +3 -3
  212. package/dist/runtime/components/ui/dialog/DialogHeader.vue +6 -6
  213. package/dist/runtime/components/ui/dialog/DialogOverlay.vue +7 -7
  214. package/dist/runtime/components/ui/dialog/DialogScrollContent.vue +20 -20
  215. package/dist/runtime/components/ui/dialog/DialogTitle.vue +7 -7
  216. package/dist/runtime/components/ui/dialog/DialogTrigger.vue +3 -3
  217. package/dist/runtime/components/ui/dropdown-menu/DropdownMenu.vue +6 -6
  218. package/dist/runtime/components/ui/dropdown-menu/DropdownMenuCheckboxItem.vue +12 -12
  219. package/dist/runtime/components/ui/dropdown-menu/DropdownMenuContent.vue +9 -9
  220. package/dist/runtime/components/ui/dropdown-menu/DropdownMenuGroup.vue +6 -6
  221. package/dist/runtime/components/ui/dropdown-menu/DropdownMenuItem.vue +9 -9
  222. package/dist/runtime/components/ui/dropdown-menu/DropdownMenuLabel.vue +8 -8
  223. package/dist/runtime/components/ui/dropdown-menu/DropdownMenuRadioGroup.vue +6 -6
  224. package/dist/runtime/components/ui/dropdown-menu/DropdownMenuRadioItem.vue +16 -16
  225. package/dist/runtime/components/ui/dropdown-menu/DropdownMenuSeparator.vue +5 -5
  226. package/dist/runtime/components/ui/dropdown-menu/DropdownMenuShortcut.vue +6 -6
  227. package/dist/runtime/components/ui/dropdown-menu/DropdownMenuSub.vue +3 -3
  228. package/dist/runtime/components/ui/dropdown-menu/DropdownMenuSubContent.vue +7 -7
  229. package/dist/runtime/components/ui/dropdown-menu/DropdownMenuSubTrigger.vue +8 -8
  230. package/dist/runtime/components/ui/dropdown-menu/DropdownMenuTrigger.vue +6 -6
  231. package/dist/runtime/components/ui/form/FormControl.vue +8 -8
  232. package/dist/runtime/components/ui/form/FormDescription.vue +7 -7
  233. package/dist/runtime/components/ui/form/FormItem.vue +3 -3
  234. package/dist/runtime/components/ui/form/FormLabel.vue +8 -8
  235. package/dist/runtime/components/ui/form/FormMessage.vue +7 -7
  236. package/dist/runtime/components/ui/input/Input.vue +5 -5
  237. package/dist/runtime/components/ui/input-group/InputGroup.vue +7 -7
  238. package/dist/runtime/components/ui/input-group/InputGroupAddon.vue +9 -9
  239. package/dist/runtime/components/ui/input-group/InputGroupButton.d.vue.ts +1 -1
  240. package/dist/runtime/components/ui/input-group/InputGroupButton.vue +7 -7
  241. package/dist/runtime/components/ui/input-group/InputGroupButton.vue.d.ts +1 -1
  242. package/dist/runtime/components/ui/input-group/InputGroupInput.vue +4 -4
  243. package/dist/runtime/components/ui/input-group/InputGroupText.vue +5 -5
  244. package/dist/runtime/components/ui/input-group/InputGroupTextarea.vue +4 -4
  245. package/dist/runtime/components/ui/label/Label.vue +7 -7
  246. package/dist/runtime/components/ui/pagination/Pagination.vue +8 -8
  247. package/dist/runtime/components/ui/pagination/PaginationContent.vue +8 -8
  248. package/dist/runtime/components/ui/pagination/PaginationEllipsis.vue +10 -10
  249. package/dist/runtime/components/ui/pagination/PaginationFirst.vue +10 -10
  250. package/dist/runtime/components/ui/pagination/PaginationItem.vue +7 -7
  251. package/dist/runtime/components/ui/pagination/PaginationLast.vue +10 -10
  252. package/dist/runtime/components/ui/pagination/PaginationNext.vue +10 -10
  253. package/dist/runtime/components/ui/pagination/PaginationPrevious.vue +10 -10
  254. package/dist/runtime/components/ui/pin-input/PinInput.vue +8 -8
  255. package/dist/runtime/components/ui/pin-input/PinInputGroup.vue +7 -7
  256. package/dist/runtime/components/ui/pin-input/PinInputSeparator.vue +3 -3
  257. package/dist/runtime/components/ui/pin-input/PinInputSlot.vue +5 -5
  258. package/dist/runtime/components/ui/popover/Popover.vue +7 -7
  259. package/dist/runtime/components/ui/popover/PopoverAnchor.vue +6 -6
  260. package/dist/runtime/components/ui/popover/PopoverContent.vue +12 -12
  261. package/dist/runtime/components/ui/popover/PopoverTrigger.vue +6 -6
  262. package/dist/runtime/components/ui/select/Select.vue +7 -7
  263. package/dist/runtime/components/ui/select/SelectContent.vue +10 -10
  264. package/dist/runtime/components/ui/select/SelectGroup.vue +6 -6
  265. package/dist/runtime/components/ui/select/SelectItem.vue +17 -17
  266. package/dist/runtime/components/ui/select/SelectItemText.vue +6 -6
  267. package/dist/runtime/components/ui/select/SelectLabel.vue +6 -6
  268. package/dist/runtime/components/ui/select/SelectScrollDownButton.vue +6 -6
  269. package/dist/runtime/components/ui/select/SelectScrollUpButton.vue +6 -6
  270. package/dist/runtime/components/ui/select/SelectSeparator.vue +5 -5
  271. package/dist/runtime/components/ui/select/SelectTrigger.vue +11 -11
  272. package/dist/runtime/components/ui/select/SelectValue.vue +6 -6
  273. package/dist/runtime/components/ui/separator/Separator.d.vue.ts +11 -0
  274. package/dist/runtime/components/ui/separator/Separator.vue +26 -0
  275. package/dist/runtime/components/ui/separator/Separator.vue.d.ts +11 -0
  276. package/dist/runtime/components/ui/separator/index.d.ts +1 -0
  277. package/dist/runtime/components/ui/separator/index.js +1 -0
  278. package/dist/runtime/components/ui/sheet/Sheet.vue +3 -3
  279. package/dist/runtime/components/ui/sheet/SheetClose.vue +3 -3
  280. package/dist/runtime/components/ui/sheet/SheetContent.vue +20 -20
  281. package/dist/runtime/components/ui/sheet/SheetDescription.vue +7 -7
  282. package/dist/runtime/components/ui/sheet/SheetFooter.vue +6 -6
  283. package/dist/runtime/components/ui/sheet/SheetHeader.vue +6 -6
  284. package/dist/runtime/components/ui/sheet/SheetOverlay.vue +7 -7
  285. package/dist/runtime/components/ui/sheet/SheetTitle.vue +7 -7
  286. package/dist/runtime/components/ui/sheet/SheetTrigger.vue +3 -3
  287. package/dist/runtime/components/ui/spinner/Spinner.vue +5 -5
  288. package/dist/runtime/components/ui/table/Table.vue +5 -5
  289. package/dist/runtime/components/ui/table/TableBody.vue +6 -6
  290. package/dist/runtime/components/ui/table/TableCaption.vue +6 -6
  291. package/dist/runtime/components/ui/table/TableCell.vue +6 -6
  292. package/dist/runtime/components/ui/table/TableEmpty.vue +10 -10
  293. package/dist/runtime/components/ui/table/TableFooter.vue +6 -6
  294. package/dist/runtime/components/ui/table/TableHead.vue +6 -6
  295. package/dist/runtime/components/ui/table/TableHeader.vue +6 -6
  296. package/dist/runtime/components/ui/table/TableRow.vue +6 -6
  297. package/dist/runtime/components/ui/tabs/Tabs.vue +8 -8
  298. package/dist/runtime/components/ui/tabs/TabsContent.vue +7 -7
  299. package/dist/runtime/components/ui/tabs/TabsList.vue +7 -7
  300. package/dist/runtime/components/ui/tabs/TabsTrigger.vue +7 -7
  301. package/dist/runtime/components/ui/textarea/Textarea.vue +5 -5
  302. package/dist/runtime/components/video.vue +2 -2
  303. package/package.json +3 -2
@@ -1,5 +1,5 @@
1
1
  <template>
2
- <div>แก้หมด</div>
2
+ <div>แก้หมด</div>
3
3
  </template>
4
4
 
5
5
  <script setup>
@@ -1,104 +1,104 @@
1
1
  <template>
2
- <div v-if="!props.disabledHeader">
3
- <div class="relative">
4
- <button
5
- v-if="!isTabScrollLeft"
2
+ <div v-if="!props.disabledHeader">
3
+ <div class="relative">
4
+ <button
5
+ v-if="!isTabScrollLeft"
6
6
  :class="[
7
7
  'absolute flex items-center justify-start left-0 top-1/2 transform -translate-y-1/2',
8
8
  'bg-gradient-to-r from-white via-white to-transparent w-12 cursor-pointer',
9
9
  buttonSize
10
- ]"
11
- @click="onScrollLeft"
12
- >
13
- <Icon name="mdi:chevron-left" size="24" />
14
- </button>
15
-
16
- <div
17
- ref="tabHeaderRef"
18
- class="flex overflow-x-hidden"
10
+ ]"
11
+ @click="onScrollLeft"
12
+ >
13
+ <Icon name="mdi:chevron-left" size="24" />
14
+ </button>
15
+
16
+ <div
17
+ ref="tabHeaderRef"
18
+ class="flex overflow-x-hidden"
19
19
  :style="{
20
20
  columnGap: `${props.tabButtonGap}px`
21
- }"
22
- >
23
- <div v-for="(tab, i) in items" :key="i" @click="activeTab = tab.value">
24
- <slot
25
- :name="`tab-${tab.value}-label`"
26
- :active="activeTab == tab.value"
27
- :disabled="tab.disabled"
28
- >
29
- <button
21
+ }"
22
+ >
23
+ <div v-for="(tab, i) in items" :key="i" @click="activeTab = tab.value">
24
+ <slot
25
+ :name="`tab-${tab.value}-label`"
26
+ :active="activeTab == tab.value"
27
+ :disabled="tab.disabled"
28
+ >
29
+ <button
30
30
  :class="[
31
31
  'flex items-center justify-center font-body-large p-[16px] gap-[8px] text-nowrap',
32
32
  'cursor-pointer disabled:cursor-not-allowed',
33
33
  tab.disabled ? 'text-cloud' : 'text-gray',
34
34
  color(tab.value),
35
35
  buttonSize
36
- ]"
37
- :disabled="tab.disabled"
38
- >
39
- <slot :name="`tab-${tab.value}-label-text`">
40
- <slot
36
+ ]"
37
+ :disabled="tab.disabled"
38
+ >
39
+ <slot :name="`tab-${tab.value}-label-text`">
40
+ <slot
41
41
  v-if="
42
42
  $slots[`tab-${tab.value}-label-text-prepend-icon`] || props.tabButtonPrependIcon
43
- "
44
- :name="`tab-${tab.value}-label-text-prepend-icon`"
45
- >
46
- <Icon :name="props.tabButtonPrependIcon" />
47
- </slot>
48
- <slot :name="`tab-${tab.value}-label-text-word`">
49
- {{ tab.label }}
50
- </slot>
51
- <slot
43
+ "
44
+ :name="`tab-${tab.value}-label-text-prepend-icon`"
45
+ >
46
+ <Icon :name="props.tabButtonPrependIcon" />
47
+ </slot>
48
+ <slot :name="`tab-${tab.value}-label-text-word`">
49
+ {{ tab.label }}
50
+ </slot>
51
+ <slot
52
52
  v-if="
53
53
  $slots[`tab-${tab.value}-label-text-append-icon`] || props.tabButtonAppendIcon
54
- "
55
- :name="`tab-${tab.value}-label-text-append-icon`"
56
- >
57
- <Icon :name="props.tabButtonAppendIcon" />
58
- </slot>
59
- </slot>
60
- </button>
61
- </slot>
62
- </div>
63
- </div>
64
-
65
- <button
66
- v-if="!isTabScrollRight"
54
+ "
55
+ :name="`tab-${tab.value}-label-text-append-icon`"
56
+ >
57
+ <Icon :name="props.tabButtonAppendIcon" />
58
+ </slot>
59
+ </slot>
60
+ </button>
61
+ </slot>
62
+ </div>
63
+ </div>
64
+
65
+ <button
66
+ v-if="!isTabScrollRight"
67
67
  :class="[
68
68
  'absolute flex items-center justify-end right-0 top-1/2 transform -translate-y-1/2',
69
69
  'bg-gradient-to-l from-white via-white to-transparent w-12 cursor-pointer',
70
70
  buttonSize
71
- ]"
72
- @click="onScrollRight"
73
- >
74
- <Icon name="mdi:chevron-right" size="24" />
75
- </button>
76
- </div>
77
-
78
- <Divider
79
- v-if="!props.disabledHeaderDivider && props.variant == 'text'"
80
- class="mt-[-2px]"
81
- />
82
- </div>
83
-
84
- <div
85
- v-if="!props.disabledContent"
86
- v-for="(content, i_content) in items"
87
- :key="i_content"
88
- v-show="activeTab == content.value"
71
+ ]"
72
+ @click="onScrollRight"
73
+ >
74
+ <Icon name="mdi:chevron-right" size="24" />
75
+ </button>
76
+ </div>
77
+
78
+ <Divider
79
+ v-if="!props.disabledHeaderDivider && props.variant == 'text'"
80
+ class="mt-[-2px]"
81
+ />
82
+ </div>
83
+
84
+ <div
85
+ v-if="!props.disabledContent"
86
+ v-for="(content, i_content) in items"
87
+ :key="i_content"
88
+ v-show="activeTab == content.value"
89
89
  :style="{
90
90
  marginTop: !props.disabledHeader ? `${props.tabContentGab}px` : '0px'
91
- }"
92
- >
93
- <slot
94
- :name="`tab-content-${content.value}`"
95
- :active="activeTab == content.value"
96
- >
97
- <div class="font-body-medium">
98
- {{ content.content }}
99
- </div>
100
- </slot>
101
- </div>
91
+ }"
92
+ >
93
+ <slot
94
+ :name="`tab-content-${content.value}`"
95
+ :active="activeTab == content.value"
96
+ >
97
+ <div class="font-body-medium">
98
+ {{ content.content }}
99
+ </div>
100
+ </slot>
101
+ </div>
102
102
  </template>
103
103
 
104
104
  <script setup>
@@ -1,93 +1,93 @@
1
1
  <template>
2
- <div class="bg-white rounded-[8px] h-full">
3
- <div
4
- class="overflow-auto"
2
+ <div class="bg-white rounded-[8px] h-full">
3
+ <div
4
+ class="overflow-auto"
5
5
  :style="{
6
6
  height: props.fullHeight ? '100%' : `${props.height}px`
7
- }"
8
- >
9
- <table class="w-full">
10
- <thead v-if="!props.disabledHeader">
11
- <slot name="header" :item="props.itemHeader">
12
- <tr>
13
- <template v-for="(header, i) in itemHeaders" :key="i">
14
- <th class="sticky top-0 bg-white">
15
- <div
16
- class="p-[14px] flex gap-[8px] text-gray font-label-sans-serif-large"
7
+ }"
8
+ >
9
+ <table class="w-full">
10
+ <thead v-if="!props.disabledHeader">
11
+ <slot name="header" :item="props.itemHeader">
12
+ <tr>
13
+ <template v-for="(header, i) in itemHeaders" :key="i">
14
+ <th class="sticky top-0 bg-white">
15
+ <div
16
+ class="p-[14px] flex gap-[8px] text-gray font-label-sans-serif-large"
17
17
  :style="{
18
18
  justifyContent: header.alinement || props.headerAlinement
19
- }"
20
- >
21
- <div class="flex">
22
- {{ header.label }}
23
- </div>
24
- <div
19
+ }"
20
+ >
21
+ <div class="flex">
22
+ {{ header.label }}
23
+ </div>
24
+ <div
25
25
  :class="[
26
26
  'flex justify-center items-center cursor-pointer',
27
27
  sortkey === header.key && 'text-primary'
28
- ]"
29
- @click="onSortBy(header.key)"
30
- >
31
- <Icon name="fa6-solid:sort" size="16" />
32
- </div>
33
- </div>
34
- </th>
35
- </template>
36
- </tr>
37
- </slot>
38
- </thead>
39
-
40
- <slot name="body" :items="items" :header="itemHeaders">
41
- <tbody>
42
- <tr
43
- v-for="(body, i_body) in items"
44
- :key="i_body"
45
- @click="emit('click-row', body, i_body)"
46
- >
47
- <slot
48
- name="item"
49
- :item="body"
50
- :header="itemHeaders"
51
- :index="i_body"
52
- >
53
- <td
54
- v-for="(header, i_header) in itemHeaders"
55
- :key="i_header"
56
- class="font-body-medium border-y-[1px] border-mercury p-[14px]"
57
- >
58
- <slot :name="`item-${header.key}`" :item="body">
59
- <div>
60
- {{ body[header.key] }}
61
- </div>
62
- </slot>
63
- </td>
64
- </slot>
65
- </tr>
66
- </tbody>
67
- </slot>
68
- </table>
69
- </div>
70
-
71
- <div
72
- v-if="items.length === 0"
73
- class="w-full h-full flex justify-center items-center p-[16px]"
74
- >
75
- <Icon name="pukaad:page-not-found" size="150"></Icon>
76
- </div>
77
-
78
- <div
79
- v-if="items.length > 0"
80
- class="p-[14px] flex justify-center items-center"
81
- >
82
- <Pagination
83
- :totalPage="props.totalPage"
84
- :totalVisible="props.paginationVisible"
85
- @change="(e) => emit('change-page', e)"
86
- @select="(e) => emit('select-page', e)"
87
- v-model="page"
88
- />
89
- </div>
90
- </div>
28
+ ]"
29
+ @click="onSortBy(header.key)"
30
+ >
31
+ <Icon name="fa6-solid:sort" size="16" />
32
+ </div>
33
+ </div>
34
+ </th>
35
+ </template>
36
+ </tr>
37
+ </slot>
38
+ </thead>
39
+
40
+ <slot name="body" :items="items" :header="itemHeaders">
41
+ <tbody>
42
+ <tr
43
+ v-for="(body, i_body) in items"
44
+ :key="i_body"
45
+ @click="emit('click-row', body, i_body)"
46
+ >
47
+ <slot
48
+ name="item"
49
+ :item="body"
50
+ :header="itemHeaders"
51
+ :index="i_body"
52
+ >
53
+ <td
54
+ v-for="(header, i_header) in itemHeaders"
55
+ :key="i_header"
56
+ class="font-body-medium border-y-[1px] border-mercury p-[14px]"
57
+ >
58
+ <slot :name="`item-${header.key}`" :item="body">
59
+ <div>
60
+ {{ body[header.key] }}
61
+ </div>
62
+ </slot>
63
+ </td>
64
+ </slot>
65
+ </tr>
66
+ </tbody>
67
+ </slot>
68
+ </table>
69
+ </div>
70
+
71
+ <div
72
+ v-if="items.length === 0"
73
+ class="w-full h-full flex justify-center items-center p-[16px]"
74
+ >
75
+ <Icon name="pukaad:page-not-found" size="150"></Icon>
76
+ </div>
77
+
78
+ <div
79
+ v-if="items.length > 0"
80
+ class="p-[14px] flex justify-center items-center"
81
+ >
82
+ <Pagination
83
+ :totalPage="props.totalPage"
84
+ :totalVisible="props.paginationVisible"
85
+ @change="(e) => emit('change-page', e)"
86
+ @select="(e) => emit('select-page', e)"
87
+ v-model="page"
88
+ />
89
+ </div>
90
+ </div>
91
91
  </template>
92
92
 
93
93
  <script setup>
@@ -1,23 +1,23 @@
1
1
  <template>
2
- <div
3
- class="relative inline-block"
4
- @mouseenter="onMouseEnter"
5
- @mouseleave="onMouseLeave"
6
- >
7
- <slot name="default" />
8
- <transition name="fade">
9
- <div
10
- v-if="isShowTooltip"
11
- :class="['tooltip', positionClass, { 'has-arrow': props.arrow }]"
12
- >
13
- <slot v-if="$slots.text || props.text" name="text">
14
- <div class="font-body-small">
15
- {{ props.text }}
16
- </div>
17
- </slot>
18
- </div>
19
- </transition>
20
- </div>
2
+ <div
3
+ class="relative inline-block"
4
+ @mouseenter="onMouseEnter"
5
+ @mouseleave="onMouseLeave"
6
+ >
7
+ <slot name="default" />
8
+ <transition name="fade">
9
+ <div
10
+ v-if="isShowTooltip"
11
+ :class="['tooltip', positionClass, { 'has-arrow': props.arrow }]"
12
+ >
13
+ <slot v-if="$slots.text || props.text" name="text">
14
+ <div class="font-body-small">
15
+ {{ props.text }}
16
+ </div>
17
+ </slot>
18
+ </div>
19
+ </transition>
20
+ </div>
21
21
  </template>
22
22
 
23
23
  <script setup>
@@ -8,11 +8,11 @@ const props = defineProps({
8
8
  </script>
9
9
 
10
10
  <template>
11
- <div
12
- data-slot="alert"
13
- :class="cn(alertVariants({ variant }), props.class)"
14
- role="alert"
15
- >
16
- <slot />
17
- </div>
11
+ <div
12
+ data-slot="alert"
13
+ :class="cn(alertVariants({ variant }), props.class)"
14
+ role="alert"
15
+ >
16
+ <slot />
17
+ </div>
18
18
  </template>
@@ -6,10 +6,10 @@ const props = defineProps({
6
6
  </script>
7
7
 
8
8
  <template>
9
- <div
10
- data-slot="alert-description"
11
- :class="cn('text-muted-foreground col-start-2 grid justify-items-start gap-1 text-sm [&_p]:leading-relaxed', props.class)"
12
- >
13
- <slot />
14
- </div>
9
+ <div
10
+ data-slot="alert-description"
11
+ :class="cn('text-muted-foreground col-start-2 grid justify-items-start gap-1 text-sm [&_p]:leading-relaxed', props.class)"
12
+ >
13
+ <slot />
14
+ </div>
15
15
  </template>
@@ -6,10 +6,10 @@ const props = defineProps({
6
6
  </script>
7
7
 
8
8
  <template>
9
- <div
10
- data-slot="alert-title"
11
- :class="cn('col-start-2 line-clamp-1 min-h-4 font-medium tracking-tight', props.class)"
12
- >
13
- <slot />
14
- </div>
9
+ <div
10
+ data-slot="alert-title"
11
+ :class="cn('col-start-2 line-clamp-1 min-h-4 font-medium tracking-tight', props.class)"
12
+ >
13
+ <slot />
14
+ </div>
15
15
  </template>
@@ -9,7 +9,7 @@ const forwarded = useForwardPropsEmits(props, emits);
9
9
  </script>
10
10
 
11
11
  <template>
12
- <AlertDialogRoot v-slot="slotProps" data-slot="alert-dialog" v-bind="forwarded">
13
- <slot v-bind="slotProps" />
14
- </AlertDialogRoot>
12
+ <AlertDialogRoot v-slot="slotProps" data-slot="alert-dialog" v-bind="forwarded">
13
+ <slot v-bind="slotProps" />
14
+ </AlertDialogRoot>
15
15
  </template>
@@ -12,7 +12,7 @@ const delegatedProps = reactiveOmit(props, "class");
12
12
  </script>
13
13
 
14
14
  <template>
15
- <AlertDialogAction v-bind="delegatedProps" :class="cn(buttonVariants(), props.class)">
16
- <slot />
17
- </AlertDialogAction>
15
+ <AlertDialogAction v-bind="delegatedProps" :class="cn(buttonVariants(), props.class)">
16
+ <slot />
17
+ </AlertDialogAction>
18
18
  </template>
@@ -12,14 +12,14 @@ const delegatedProps = reactiveOmit(props, "class");
12
12
  </script>
13
13
 
14
14
  <template>
15
- <AlertDialogCancel
16
- v-bind="delegatedProps"
15
+ <AlertDialogCancel
16
+ v-bind="delegatedProps"
17
17
  :class="cn(
18
18
  buttonVariants({ variant: 'outline' }),
19
19
  'mt-2 sm:mt-0',
20
20
  props.class
21
- )"
22
- >
23
- <slot />
24
- </AlertDialogCancel>
21
+ )"
22
+ >
23
+ <slot />
24
+ </AlertDialogCancel>
25
25
  </template>
@@ -23,22 +23,22 @@ const forwarded = useForwardPropsEmits(delegatedProps, emits);
23
23
  </script>
24
24
 
25
25
  <template>
26
- <AlertDialogPortal>
27
- <AlertDialogOverlay
28
- data-slot="alert-dialog-overlay"
29
- class="data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/80"
30
- />
31
- <AlertDialogContent
32
- data-slot="alert-dialog-content"
33
- v-bind="{ ...$attrs, ...forwarded }"
26
+ <AlertDialogPortal>
27
+ <AlertDialogOverlay
28
+ data-slot="alert-dialog-overlay"
29
+ class="data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/80"
30
+ />
31
+ <AlertDialogContent
32
+ data-slot="alert-dialog-content"
33
+ v-bind="{ ...$attrs, ...forwarded }"
34
34
  :class="
35
35
  cn(
36
36
  'bg-background data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 rounded-lg border p-6 shadow-lg duration-200 sm:max-w-lg',
37
37
  props.class
38
38
  )
39
- "
40
- >
41
- <slot />
42
- </AlertDialogContent>
43
- </AlertDialogPortal>
39
+ "
40
+ >
41
+ <slot />
42
+ </AlertDialogContent>
43
+ </AlertDialogPortal>
44
44
  </template>
@@ -11,11 +11,11 @@ const delegatedProps = reactiveOmit(props, "class");
11
11
  </script>
12
12
 
13
13
  <template>
14
- <AlertDialogDescription
15
- data-slot="alert-dialog-description"
16
- v-bind="delegatedProps"
17
- :class="cn('font-body-medium text-gray', props.class)"
18
- >
19
- <slot />
20
- </AlertDialogDescription>
14
+ <AlertDialogDescription
15
+ data-slot="alert-dialog-description"
16
+ v-bind="delegatedProps"
17
+ :class="cn('font-body-medium text-gray', props.class)"
18
+ >
19
+ <slot />
20
+ </AlertDialogDescription>
21
21
  </template>
@@ -6,15 +6,15 @@ const props = defineProps({
6
6
  </script>
7
7
 
8
8
  <template>
9
- <div
10
- data-slot="alert-dialog-footer"
9
+ <div
10
+ data-slot="alert-dialog-footer"
11
11
  :class="
12
12
  cn(
13
13
  'flex flex-col-reverse gap-2 sm:flex-row sm:justify-end',
14
14
  props.class
15
15
  )
16
- "
17
- >
18
- <slot />
19
- </div>
16
+ "
17
+ >
18
+ <slot />
19
+ </div>
20
20
  </template>
@@ -6,10 +6,10 @@ const props = defineProps({
6
6
  </script>
7
7
 
8
8
  <template>
9
- <div
10
- data-slot="alert-dialog-header"
11
- :class="cn('flex flex-col gap-2 text-center sm:text-left', props.class)"
12
- >
13
- <slot />
14
- </div>
9
+ <div
10
+ data-slot="alert-dialog-header"
11
+ :class="cn('flex flex-col gap-2 text-center sm:text-left', props.class)"
12
+ >
13
+ <slot />
14
+ </div>
15
15
  </template>
@@ -11,11 +11,11 @@ const delegatedProps = reactiveOmit(props, "class");
11
11
  </script>
12
12
 
13
13
  <template>
14
- <AlertDialogTitle
15
- data-slot="alert-dialog-title"
16
- v-bind="delegatedProps"
17
- :class="cn('font-body-large-prominent', props.class)"
18
- >
19
- <slot />
20
- </AlertDialogTitle>
14
+ <AlertDialogTitle
15
+ data-slot="alert-dialog-title"
16
+ v-bind="delegatedProps"
17
+ :class="cn('font-body-large-prominent', props.class)"
18
+ >
19
+ <slot />
20
+ </AlertDialogTitle>
21
21
  </template>
@@ -7,7 +7,7 @@ const props = defineProps({
7
7
  </script>
8
8
 
9
9
  <template>
10
- <AlertDialogTrigger data-slot="alert-dialog-trigger" v-bind="props">
11
- <slot />
12
- </AlertDialogTrigger>
10
+ <AlertDialogTrigger data-slot="alert-dialog-trigger" v-bind="props">
11
+ <slot />
12
+ </AlertDialogTrigger>
13
13
  </template>
@@ -7,10 +7,10 @@ const props = defineProps({
7
7
  </script>
8
8
 
9
9
  <template>
10
- <AvatarRoot
11
- data-slot="avatar"
12
- :class="cn('relative flex size-8 shrink-0 overflow-hidden rounded-full', props.class)"
13
- >
14
- <slot />
15
- </AvatarRoot>
10
+ <AvatarRoot
11
+ data-slot="avatar"
12
+ :class="cn('relative flex size-8 shrink-0 overflow-hidden rounded-full', props.class)"
13
+ >
14
+ <slot />
15
+ </AvatarRoot>
16
16
  </template>