pukaad-ui-lib 1.0.1

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 (797) hide show
  1. package/dist/module.d.mts +14 -0
  2. package/dist/module.json +9 -0
  3. package/dist/module.mjs +130 -0
  4. package/dist/runtime/assets/css/fonts/Anuphan/Anuphan-Bold.ttf +0 -0
  5. package/dist/runtime/assets/css/fonts/Anuphan/Anuphan-ExtraLight.ttf +0 -0
  6. package/dist/runtime/assets/css/fonts/Anuphan/Anuphan-Light.ttf +0 -0
  7. package/dist/runtime/assets/css/fonts/Anuphan/Anuphan-Medium.ttf +0 -0
  8. package/dist/runtime/assets/css/fonts/Anuphan/Anuphan-Regular.ttf +0 -0
  9. package/dist/runtime/assets/css/fonts/Anuphan/Anuphan-SemiBold.ttf +0 -0
  10. package/dist/runtime/assets/css/fonts/Anuphan/Anuphan-Thin.ttf +0 -0
  11. package/dist/runtime/assets/css/fonts/Anuphan.css +1 -0
  12. package/dist/runtime/assets/css/fonts/Sarabun/Sarabun-Bold.ttf +0 -0
  13. package/dist/runtime/assets/css/fonts/Sarabun/Sarabun-BoldItalic.ttf +0 -0
  14. package/dist/runtime/assets/css/fonts/Sarabun/Sarabun-ExtraBold.ttf +0 -0
  15. package/dist/runtime/assets/css/fonts/Sarabun/Sarabun-ExtraBoldItalic.ttf +0 -0
  16. package/dist/runtime/assets/css/fonts/Sarabun/Sarabun-ExtraLight.ttf +0 -0
  17. package/dist/runtime/assets/css/fonts/Sarabun/Sarabun-ExtraLightItalic.ttf +0 -0
  18. package/dist/runtime/assets/css/fonts/Sarabun/Sarabun-Italic.ttf +0 -0
  19. package/dist/runtime/assets/css/fonts/Sarabun/Sarabun-Light.ttf +0 -0
  20. package/dist/runtime/assets/css/fonts/Sarabun/Sarabun-LightItalic.ttf +0 -0
  21. package/dist/runtime/assets/css/fonts/Sarabun/Sarabun-Medium.ttf +0 -0
  22. package/dist/runtime/assets/css/fonts/Sarabun/Sarabun-MediumItalic.ttf +0 -0
  23. package/dist/runtime/assets/css/fonts/Sarabun/Sarabun-Regular.ttf +0 -0
  24. package/dist/runtime/assets/css/fonts/Sarabun/Sarabun-SemiBold.ttf +0 -0
  25. package/dist/runtime/assets/css/fonts/Sarabun/Sarabun-SemiBoldItalic.ttf +0 -0
  26. package/dist/runtime/assets/css/fonts/Sarabun/Sarabun-Thin.ttf +0 -0
  27. package/dist/runtime/assets/css/fonts/Sarabun/Sarabun-ThinItalic.ttf +0 -0
  28. package/dist/runtime/assets/css/fonts/Sarabun.css +1 -0
  29. package/dist/runtime/assets/css/main.css +1 -0
  30. package/dist/runtime/assets/css/scroll-bar.css +1 -0
  31. package/dist/runtime/assets/css/system.css +1 -0
  32. package/dist/runtime/assets/json/social-icon.json +77 -0
  33. package/dist/runtime/assets/svg/bell-outline.svg +3 -0
  34. package/dist/runtime/assets/svg/bookmark-solid.svg +3 -0
  35. package/dist/runtime/assets/svg/box.svg +23 -0
  36. package/dist/runtime/assets/svg/camera-plus.svg +10 -0
  37. package/dist/runtime/assets/svg/check.svg +3 -0
  38. package/dist/runtime/assets/svg/clock-fading.svg +47 -0
  39. package/dist/runtime/assets/svg/coin.svg +21 -0
  40. package/dist/runtime/assets/svg/empty-document.svg +15 -0
  41. package/dist/runtime/assets/svg/memsg-circle.svg +7 -0
  42. package/dist/runtime/assets/svg/memsg-fade.svg +5 -0
  43. package/dist/runtime/assets/svg/memsg-logo-outline.svg +3 -0
  44. package/dist/runtime/assets/svg/memsg-square.svg +9 -0
  45. package/dist/runtime/assets/svg/message.svg +3 -0
  46. package/dist/runtime/assets/svg/page-not-found.svg +9 -0
  47. package/dist/runtime/assets/svg/share-from-square.svg +3 -0
  48. package/dist/runtime/assets/svg/share.svg +3 -0
  49. package/dist/runtime/assets/svg/shopping-cart.svg +17 -0
  50. package/dist/runtime/assets/svg/socials/Email.svg +12 -0
  51. package/dist/runtime/assets/svg/socials/Facebook.svg +4 -0
  52. package/dist/runtime/assets/svg/socials/Line.svg +11 -0
  53. package/dist/runtime/assets/svg/socials/LinkedIn.svg +5 -0
  54. package/dist/runtime/assets/svg/socials/Pinterest.svg +4 -0
  55. package/dist/runtime/assets/svg/socials/SnapChat.svg +5 -0
  56. package/dist/runtime/assets/svg/socials/Threads.svg +12 -0
  57. package/dist/runtime/assets/svg/socials/Tiktok.svg +6 -0
  58. package/dist/runtime/assets/svg/socials/Tumblr.svg +4 -0
  59. package/dist/runtime/assets/svg/socials/WeChat.svg +1 -0
  60. package/dist/runtime/assets/svg/socials/Website.svg +11 -0
  61. package/dist/runtime/assets/svg/socials/Whatsapp.svg +5 -0
  62. package/dist/runtime/assets/svg/socials/X.svg +4 -0
  63. package/dist/runtime/assets/svg/socials/Youtube.svg +5 -0
  64. package/dist/runtime/assets/svg/socials/instagram.svg +14 -0
  65. package/dist/runtime/assets/svg/thumbs-up-regular.svg +10 -0
  66. package/dist/runtime/assets/svg/thumbs-up-solid.svg +3 -0
  67. package/dist/runtime/assets/svg/vector.svg +3 -0
  68. package/dist/runtime/assets/svg/verify.svg +11 -0
  69. package/dist/runtime/assets/svg/write-review.svg +16 -0
  70. package/dist/runtime/components/button.d.vue.ts +27 -0
  71. package/dist/runtime/components/button.vue +19 -0
  72. package/dist/runtime/components/button.vue.d.ts +27 -0
  73. package/dist/runtime/components/card/card-announce2.d.vue.ts +32 -0
  74. package/dist/runtime/components/card/card-announce2.vue +133 -0
  75. package/dist/runtime/components/card/card-announce2.vue.d.ts +32 -0
  76. package/dist/runtime/components/card/card-place-detail.d.vue.ts +9 -0
  77. package/dist/runtime/components/card/card-place-detail.vue +108 -0
  78. package/dist/runtime/components/card/card-place-detail.vue.d.ts +9 -0
  79. package/dist/runtime/components/card/card-profile-about.d.vue.ts +3 -0
  80. package/dist/runtime/components/card/card-profile-about.vue +56 -0
  81. package/dist/runtime/components/card/card-profile-about.vue.d.ts +3 -0
  82. package/dist/runtime/components/card/card-profile-header.d.vue.ts +16 -0
  83. package/dist/runtime/components/card/card-profile-header.vue +127 -0
  84. package/dist/runtime/components/card/card-profile-header.vue.d.ts +16 -0
  85. package/dist/runtime/components/card/card-reaction.d.vue.ts +3 -0
  86. package/dist/runtime/components/card/card-reaction.vue +35 -0
  87. package/dist/runtime/components/card/card-reaction.vue.d.ts +3 -0
  88. package/dist/runtime/components/card/card-recommend-blog.d.vue.ts +16 -0
  89. package/dist/runtime/components/card/card-recommend-blog.vue +57 -0
  90. package/dist/runtime/components/card/card-recommend-blog.vue.d.ts +16 -0
  91. package/dist/runtime/components/card/card-recommend-place.d.vue.ts +21 -0
  92. package/dist/runtime/components/card/card-recommend-place.vue +62 -0
  93. package/dist/runtime/components/card/card-recommend-place.vue.d.ts +21 -0
  94. package/dist/runtime/components/card/card-recommend-publisher.d.vue.ts +24 -0
  95. package/dist/runtime/components/card/card-recommend-publisher.vue +63 -0
  96. package/dist/runtime/components/card/card-recommend-publisher.vue.d.ts +24 -0
  97. package/dist/runtime/components/card/card-review.d.vue.ts +17 -0
  98. package/dist/runtime/components/card/card-review.vue +134 -0
  99. package/dist/runtime/components/card/card-review.vue.d.ts +17 -0
  100. package/dist/runtime/components/card/card-user-blog.d.vue.ts +18 -0
  101. package/dist/runtime/components/card/card-user-blog.vue +110 -0
  102. package/dist/runtime/components/card/card-user-blog.vue.d.ts +18 -0
  103. package/dist/runtime/components/card/card-user-item.d.vue.ts +40 -0
  104. package/dist/runtime/components/card/card-user-item.vue +156 -0
  105. package/dist/runtime/components/card/card-user-item.vue.d.ts +40 -0
  106. package/dist/runtime/components/card/card.d.vue.ts +25 -0
  107. package/dist/runtime/components/card/card.vue +34 -0
  108. package/dist/runtime/components/card/card.vue.d.ts +25 -0
  109. package/dist/runtime/components/carousel.d.vue.ts +25 -0
  110. package/dist/runtime/components/carousel.vue +68 -0
  111. package/dist/runtime/components/carousel.vue.d.ts +25 -0
  112. package/dist/runtime/components/chip.d.vue.ts +24 -0
  113. package/dist/runtime/components/chip.vue +59 -0
  114. package/dist/runtime/components/chip.vue.d.ts +24 -0
  115. package/dist/runtime/components/collapse/collapse-multiple.d.vue.ts +34 -0
  116. package/dist/runtime/components/collapse/collapse-multiple.vue +64 -0
  117. package/dist/runtime/components/collapse/collapse-multiple.vue.d.ts +34 -0
  118. package/dist/runtime/components/collapse/collapse.d.vue.ts +26 -0
  119. package/dist/runtime/components/collapse/collapse.vue +39 -0
  120. package/dist/runtime/components/collapse/collapse.vue.d.ts +26 -0
  121. package/dist/runtime/components/comment.d.vue.ts +6 -0
  122. package/dist/runtime/components/comment.vue +308 -0
  123. package/dist/runtime/components/comment.vue.d.ts +6 -0
  124. package/dist/runtime/components/dialog/dialog-2FA-generate.d.vue.ts +18 -0
  125. package/dist/runtime/components/dialog/dialog-2FA-generate.vue +113 -0
  126. package/dist/runtime/components/dialog/dialog-2FA-generate.vue.d.ts +18 -0
  127. package/dist/runtime/components/dialog/dialog-2FA.d.vue.ts +18 -0
  128. package/dist/runtime/components/dialog/dialog-2FA.vue +65 -0
  129. package/dist/runtime/components/dialog/dialog-2FA.vue.d.ts +18 -0
  130. package/dist/runtime/components/dialog/dialog-email-OTP.d.vue.ts +20 -0
  131. package/dist/runtime/components/dialog/dialog-email-OTP.vue +120 -0
  132. package/dist/runtime/components/dialog/dialog-email-OTP.vue.d.ts +20 -0
  133. package/dist/runtime/components/dialog/dialog-phone-OTP.d.vue.ts +22 -0
  134. package/dist/runtime/components/dialog/dialog-phone-OTP.vue +62 -0
  135. package/dist/runtime/components/dialog/dialog-phone-OTP.vue.d.ts +22 -0
  136. package/dist/runtime/components/display/display-image-place.d.vue.ts +3 -0
  137. package/dist/runtime/components/display/display-image-place.vue +4 -0
  138. package/dist/runtime/components/display/display-image-place.vue.d.ts +3 -0
  139. package/dist/runtime/components/display/display-image-review.d.vue.ts +13 -0
  140. package/dist/runtime/components/display/display-image-review.vue +30 -0
  141. package/dist/runtime/components/display/display-image-review.vue.d.ts +13 -0
  142. package/dist/runtime/components/display/display-image.d.vue.ts +13 -0
  143. package/dist/runtime/components/display/display-image.vue +102 -0
  144. package/dist/runtime/components/display/display-image.vue.d.ts +13 -0
  145. package/dist/runtime/components/divider.d.vue.ts +10 -0
  146. package/dist/runtime/components/divider.vue +42 -0
  147. package/dist/runtime/components/divider.vue.d.ts +10 -0
  148. package/dist/runtime/components/draggable.d.vue.ts +23 -0
  149. package/dist/runtime/components/draggable.vue +38 -0
  150. package/dist/runtime/components/draggable.vue.d.ts +23 -0
  151. package/dist/runtime/components/drawer/drawer-notification.d.vue.ts +22 -0
  152. package/dist/runtime/components/drawer/drawer-notification.vue +340 -0
  153. package/dist/runtime/components/drawer/drawer-notification.vue.d.ts +22 -0
  154. package/dist/runtime/components/drawer/drawer-post-blog.d.vue.ts +10 -0
  155. package/dist/runtime/components/drawer/drawer-post-blog.vue +88 -0
  156. package/dist/runtime/components/drawer/drawer-post-blog.vue.d.ts +10 -0
  157. package/dist/runtime/components/drawer/drawer-profile-about.d.vue.ts +3 -0
  158. package/dist/runtime/components/drawer/drawer-profile-about.vue +44 -0
  159. package/dist/runtime/components/drawer/drawer-profile-about.vue.d.ts +3 -0
  160. package/dist/runtime/components/drawer/drawer.d.vue.ts +38 -0
  161. package/dist/runtime/components/drawer/drawer.vue +38 -0
  162. package/dist/runtime/components/drawer/drawer.vue.d.ts +38 -0
  163. package/dist/runtime/components/dropdown.d.vue.ts +13 -0
  164. package/dist/runtime/components/dropdown.vue +14 -0
  165. package/dist/runtime/components/dropdown.vue.d.ts +13 -0
  166. package/dist/runtime/components/filter/filter-list-chip.d.vue.ts +14 -0
  167. package/dist/runtime/components/filter/filter-list-chip.vue +39 -0
  168. package/dist/runtime/components/filter/filter-list-chip.vue.d.ts +14 -0
  169. package/dist/runtime/components/filter/filter-list.d.vue.ts +21 -0
  170. package/dist/runtime/components/filter/filter-list.vue +28 -0
  171. package/dist/runtime/components/filter/filter-list.vue.d.ts +21 -0
  172. package/dist/runtime/components/icons.d.vue.ts +8 -0
  173. package/dist/runtime/components/icons.vue +11 -0
  174. package/dist/runtime/components/icons.vue.d.ts +8 -0
  175. package/dist/runtime/components/image/image-cropper.d.vue.ts +88 -0
  176. package/dist/runtime/components/image/image-cropper.vue +134 -0
  177. package/dist/runtime/components/image/image-cropper.vue.d.ts +88 -0
  178. package/dist/runtime/components/image/image.d.vue.ts +11 -0
  179. package/dist/runtime/components/image/image.vue +66 -0
  180. package/dist/runtime/components/image/image.vue.d.ts +11 -0
  181. package/dist/runtime/components/input/input-OTP.d.vue.ts +24 -0
  182. package/dist/runtime/components/input/input-OTP.vue +51 -0
  183. package/dist/runtime/components/input/input-OTP.vue.d.ts +24 -0
  184. package/dist/runtime/components/input/input-address.d.vue.ts +3 -0
  185. package/dist/runtime/components/input/input-address.vue +87 -0
  186. package/dist/runtime/components/input/input-address.vue.d.ts +3 -0
  187. package/dist/runtime/components/input/input-autocomplete.d.vue.ts +29 -0
  188. package/dist/runtime/components/input/input-autocomplete.vue +335 -0
  189. package/dist/runtime/components/input/input-autocomplete.vue.d.ts +29 -0
  190. package/dist/runtime/components/input/input-checkbox.d.vue.ts +20 -0
  191. package/dist/runtime/components/input/input-checkbox.vue +119 -0
  192. package/dist/runtime/components/input/input-checkbox.vue.d.ts +20 -0
  193. package/dist/runtime/components/input/input-combobox.d.vue.ts +18 -0
  194. package/dist/runtime/components/input/input-combobox.vue +25 -0
  195. package/dist/runtime/components/input/input-combobox.vue.d.ts +18 -0
  196. package/dist/runtime/components/input/input-comment.d.vue.ts +13 -0
  197. package/dist/runtime/components/input/input-comment.vue +43 -0
  198. package/dist/runtime/components/input/input-comment.vue.d.ts +13 -0
  199. package/dist/runtime/components/input/input-content.d.vue.ts +19 -0
  200. package/dist/runtime/components/input/input-content.vue +67 -0
  201. package/dist/runtime/components/input/input-content.vue.d.ts +19 -0
  202. package/dist/runtime/components/input/input-date-opening.d.vue.ts +3 -0
  203. package/dist/runtime/components/input/input-date-opening.vue +181 -0
  204. package/dist/runtime/components/input/input-date-opening.vue.d.ts +3 -0
  205. package/dist/runtime/components/input/input-email.d.vue.ts +3 -0
  206. package/dist/runtime/components/input/input-email.vue +14 -0
  207. package/dist/runtime/components/input/input-email.vue.d.ts +3 -0
  208. package/dist/runtime/components/input/input-file.d.vue.ts +42 -0
  209. package/dist/runtime/components/input/input-file.vue +181 -0
  210. package/dist/runtime/components/input/input-file.vue.d.ts +42 -0
  211. package/dist/runtime/components/input/input-link.d.vue.ts +15 -0
  212. package/dist/runtime/components/input/input-link.vue +106 -0
  213. package/dist/runtime/components/input/input-link.vue.d.ts +15 -0
  214. package/dist/runtime/components/input/input-media.d.vue.ts +22 -0
  215. package/dist/runtime/components/input/input-media.vue +141 -0
  216. package/dist/runtime/components/input/input-media.vue.d.ts +22 -0
  217. package/dist/runtime/components/input/input-password.d.vue.ts +25 -0
  218. package/dist/runtime/components/input/input-password.vue +128 -0
  219. package/dist/runtime/components/input/input-password.vue.d.ts +25 -0
  220. package/dist/runtime/components/input/input-phone.d.vue.ts +20 -0
  221. package/dist/runtime/components/input/input-phone.vue +66 -0
  222. package/dist/runtime/components/input/input-phone.vue.d.ts +20 -0
  223. package/dist/runtime/components/input/input-radio.d.vue.ts +51 -0
  224. package/dist/runtime/components/input/input-radio.vue +161 -0
  225. package/dist/runtime/components/input/input-radio.vue.d.ts +51 -0
  226. package/dist/runtime/components/input/input-rating.d.vue.ts +25 -0
  227. package/dist/runtime/components/input/input-rating.vue +69 -0
  228. package/dist/runtime/components/input/input-rating.vue.d.ts +25 -0
  229. package/dist/runtime/components/input/input-recaptcha.d.vue.ts +21 -0
  230. package/dist/runtime/components/input/input-recaptcha.vue +57 -0
  231. package/dist/runtime/components/input/input-recaptcha.vue.d.ts +21 -0
  232. package/dist/runtime/components/input/input-search.d.vue.ts +3 -0
  233. package/dist/runtime/components/input/input-search.vue +69 -0
  234. package/dist/runtime/components/input/input-search.vue.d.ts +3 -0
  235. package/dist/runtime/components/input/input-select-tag.d.vue.ts +3 -0
  236. package/dist/runtime/components/input/input-select-tag.vue +57 -0
  237. package/dist/runtime/components/input/input-select-tag.vue.d.ts +3 -0
  238. package/dist/runtime/components/input/input-select.d.vue.ts +49 -0
  239. package/dist/runtime/components/input/input-select.vue +80 -0
  240. package/dist/runtime/components/input/input-select.vue.d.ts +49 -0
  241. package/dist/runtime/components/input/input-slider.d.vue.ts +24 -0
  242. package/dist/runtime/components/input/input-slider.vue +81 -0
  243. package/dist/runtime/components/input/input-slider.vue.d.ts +24 -0
  244. package/dist/runtime/components/input/input-switch.d.vue.ts +20 -0
  245. package/dist/runtime/components/input/input-switch.vue +55 -0
  246. package/dist/runtime/components/input/input-switch.vue.d.ts +20 -0
  247. package/dist/runtime/components/input/input-tag.d.vue.ts +3 -0
  248. package/dist/runtime/components/input/input-tag.vue +43 -0
  249. package/dist/runtime/components/input/input-tag.vue.d.ts +3 -0
  250. package/dist/runtime/components/input/input-text-field.d.vue.ts +70 -0
  251. package/dist/runtime/components/input/input-text-field.vue +135 -0
  252. package/dist/runtime/components/input/input-text-field.vue.d.ts +70 -0
  253. package/dist/runtime/components/input/input-textarea.d.vue.ts +50 -0
  254. package/dist/runtime/components/input/input-textarea.vue +149 -0
  255. package/dist/runtime/components/input/input-textarea.vue.d.ts +50 -0
  256. package/dist/runtime/components/label/label-announce-time.d.vue.ts +3 -0
  257. package/dist/runtime/components/label/label-announce-time.vue +15 -0
  258. package/dist/runtime/components/label/label-announce-time.vue.d.ts +3 -0
  259. package/dist/runtime/components/label/label-card-atom.d.vue.ts +3 -0
  260. package/dist/runtime/components/label/label-card-atom.vue +17 -0
  261. package/dist/runtime/components/label/label-card-atom.vue.d.ts +3 -0
  262. package/dist/runtime/components/list/list-menu.d.vue.ts +93 -0
  263. package/dist/runtime/components/list/list-menu.vue +34 -0
  264. package/dist/runtime/components/list/list-menu.vue.d.ts +93 -0
  265. package/dist/runtime/components/modal/modal-2FA-generate.d.vue.ts +18 -0
  266. package/dist/runtime/components/modal/modal-2FA-generate.vue +117 -0
  267. package/dist/runtime/components/modal/modal-2FA-generate.vue.d.ts +18 -0
  268. package/dist/runtime/components/modal/modal-2FA.d.vue.ts +18 -0
  269. package/dist/runtime/components/modal/modal-2FA.vue +66 -0
  270. package/dist/runtime/components/modal/modal-2FA.vue.d.ts +18 -0
  271. package/dist/runtime/components/modal/modal-account-disabled-alert.d.vue.ts +21 -0
  272. package/dist/runtime/components/modal/modal-account-disabled-alert.vue +55 -0
  273. package/dist/runtime/components/modal/modal-account-disabled-alert.vue.d.ts +21 -0
  274. package/dist/runtime/components/modal/modal-account-disabled-confirmed.d.vue.ts +21 -0
  275. package/dist/runtime/components/modal/modal-account-disabled-confirmed.vue +58 -0
  276. package/dist/runtime/components/modal/modal-account-disabled-confirmed.vue.d.ts +21 -0
  277. package/dist/runtime/components/modal/modal-account-disabled-reason.d.vue.ts +21 -0
  278. package/dist/runtime/components/modal/modal-account-disabled-reason.vue +92 -0
  279. package/dist/runtime/components/modal/modal-account-disabled-reason.vue.d.ts +21 -0
  280. package/dist/runtime/components/modal/modal-account-disabled.d.vue.ts +13 -0
  281. package/dist/runtime/components/modal/modal-account-disabled.vue +68 -0
  282. package/dist/runtime/components/modal/modal-account-disabled.vue.d.ts +13 -0
  283. package/dist/runtime/components/modal/modal-email-OTP.d.vue.ts +21 -0
  284. package/dist/runtime/components/modal/modal-email-OTP.vue +95 -0
  285. package/dist/runtime/components/modal/modal-email-OTP.vue.d.ts +21 -0
  286. package/dist/runtime/components/modal/modal-password-new.d.vue.ts +24 -0
  287. package/dist/runtime/components/modal/modal-password-new.vue +69 -0
  288. package/dist/runtime/components/modal/modal-password-new.vue.d.ts +24 -0
  289. package/dist/runtime/components/modal/modal-password.d.vue.ts +22 -0
  290. package/dist/runtime/components/modal/modal-password.vue +73 -0
  291. package/dist/runtime/components/modal/modal-password.vue.d.ts +22 -0
  292. package/dist/runtime/components/modal/modal-personal-card-ID.d.vue.ts +17 -0
  293. package/dist/runtime/components/modal/modal-personal-card-ID.vue +335 -0
  294. package/dist/runtime/components/modal/modal-personal-card-ID.vue.d.ts +17 -0
  295. package/dist/runtime/components/modal/modal-phone-OTP.d.vue.ts +22 -0
  296. package/dist/runtime/components/modal/modal-phone-OTP.vue +74 -0
  297. package/dist/runtime/components/modal/modal-phone-OTP.vue.d.ts +22 -0
  298. package/dist/runtime/components/modal/modal-profile-edit.d.vue.ts +17 -0
  299. package/dist/runtime/components/modal/modal-profile-edit.vue +316 -0
  300. package/dist/runtime/components/modal/modal-profile-edit.vue.d.ts +17 -0
  301. package/dist/runtime/components/modal/modal-province-domain.d.vue.ts +18 -0
  302. package/dist/runtime/components/modal/modal-province-domain.vue +55 -0
  303. package/dist/runtime/components/modal/modal-province-domain.vue.d.ts +18 -0
  304. package/dist/runtime/components/modal/modal-report.d.vue.ts +3 -0
  305. package/dist/runtime/components/modal/modal-report.vue +55 -0
  306. package/dist/runtime/components/modal/modal-report.vue.d.ts +3 -0
  307. package/dist/runtime/components/modal/modal-review-detail.d.vue.ts +21 -0
  308. package/dist/runtime/components/modal/modal-review-detail.vue +192 -0
  309. package/dist/runtime/components/modal/modal-review-detail.vue.d.ts +21 -0
  310. package/dist/runtime/components/modal/modal-secure.d.vue.ts +19 -0
  311. package/dist/runtime/components/modal/modal-secure.vue +170 -0
  312. package/dist/runtime/components/modal/modal-secure.vue.d.ts +19 -0
  313. package/dist/runtime/components/modal/modal-share.d.vue.ts +10 -0
  314. package/dist/runtime/components/modal/modal-share.vue +64 -0
  315. package/dist/runtime/components/modal/modal-share.vue.d.ts +10 -0
  316. package/dist/runtime/components/modal/modal-user-account-list.d.vue.ts +18 -0
  317. package/dist/runtime/components/modal/modal-user-account-list.vue +51 -0
  318. package/dist/runtime/components/modal/modal-user-account-list.vue.d.ts +18 -0
  319. package/dist/runtime/components/modal/modal-user-account-search.d.vue.ts +18 -0
  320. package/dist/runtime/components/modal/modal-user-account-search.vue +44 -0
  321. package/dist/runtime/components/modal/modal-user-account-search.vue.d.ts +18 -0
  322. package/dist/runtime/components/modal/modal.d.vue.ts +47 -0
  323. package/dist/runtime/components/modal/modal.vue +46 -0
  324. package/dist/runtime/components/modal/modal.vue.d.ts +47 -0
  325. package/dist/runtime/components/pagination.d.vue.ts +20 -0
  326. package/dist/runtime/components/pagination.vue +60 -0
  327. package/dist/runtime/components/pagination.vue.d.ts +20 -0
  328. package/dist/runtime/components/picker/picker-image-cover-profile.d.vue.ts +10 -0
  329. package/dist/runtime/components/picker/picker-image-cover-profile.vue +181 -0
  330. package/dist/runtime/components/picker/picker-image-cover-profile.vue.d.ts +10 -0
  331. package/dist/runtime/components/picker/picker-image-profile.d.vue.ts +20 -0
  332. package/dist/runtime/components/picker/picker-image-profile.vue +172 -0
  333. package/dist/runtime/components/picker/picker-image-profile.vue.d.ts +20 -0
  334. package/dist/runtime/components/picker/picker-option-menu/picker-option-menu-user.d.vue.ts +40 -0
  335. package/dist/runtime/components/picker/picker-option-menu/picker-option-menu-user.vue +231 -0
  336. package/dist/runtime/components/picker/picker-option-menu/picker-option-menu-user.vue.d.ts +40 -0
  337. package/dist/runtime/components/picker/picker-option-menu/picker-option-menu.d.vue.ts +13 -0
  338. package/dist/runtime/components/picker/picker-option-menu/picker-option-menu.vue +54 -0
  339. package/dist/runtime/components/picker/picker-option-menu/picker-option-menu.vue.d.ts +13 -0
  340. package/dist/runtime/components/profile-cover.d.vue.ts +3 -0
  341. package/dist/runtime/components/profile-cover.vue +86 -0
  342. package/dist/runtime/components/profile-cover.vue.d.ts +3 -0
  343. package/dist/runtime/components/progress-bar.d.vue.ts +10 -0
  344. package/dist/runtime/components/progress-bar.vue +36 -0
  345. package/dist/runtime/components/progress-bar.vue.d.ts +10 -0
  346. package/dist/runtime/components/read-more-text.d.vue.ts +7 -0
  347. package/dist/runtime/components/read-more-text.vue +76 -0
  348. package/dist/runtime/components/read-more-text.vue.d.ts +7 -0
  349. package/dist/runtime/components/tab.d.vue.ts +48 -0
  350. package/dist/runtime/components/tab.vue +176 -0
  351. package/dist/runtime/components/tab.vue.d.ts +48 -0
  352. package/dist/runtime/components/table.d.vue.ts +58 -0
  353. package/dist/runtime/components/table.vue +139 -0
  354. package/dist/runtime/components/table.vue.d.ts +58 -0
  355. package/dist/runtime/components/tooltip.d.vue.ts +20 -0
  356. package/dist/runtime/components/tooltip.vue +63 -0
  357. package/dist/runtime/components/tooltip.vue.d.ts +20 -0
  358. package/dist/runtime/components/ui/alert/Alert.d.vue.ts +19 -0
  359. package/dist/runtime/components/ui/alert/Alert.vue +18 -0
  360. package/dist/runtime/components/ui/alert/Alert.vue.d.ts +19 -0
  361. package/dist/runtime/components/ui/alert/AlertDescription.d.vue.ts +17 -0
  362. package/dist/runtime/components/ui/alert/AlertDescription.vue +15 -0
  363. package/dist/runtime/components/ui/alert/AlertDescription.vue.d.ts +17 -0
  364. package/dist/runtime/components/ui/alert/AlertTitle.d.vue.ts +17 -0
  365. package/dist/runtime/components/ui/alert/AlertTitle.vue +15 -0
  366. package/dist/runtime/components/ui/alert/AlertTitle.vue.d.ts +17 -0
  367. package/dist/runtime/components/ui/alert/index.d.ts +8 -0
  368. package/dist/runtime/components/ui/alert/index.js +18 -0
  369. package/dist/runtime/components/ui/alert-dialog/AlertDialog.d.vue.ts +21 -0
  370. package/dist/runtime/components/ui/alert-dialog/AlertDialog.vue +15 -0
  371. package/dist/runtime/components/ui/alert-dialog/AlertDialog.vue.d.ts +21 -0
  372. package/dist/runtime/components/ui/alert-dialog/AlertDialogAction.d.vue.ts +18 -0
  373. package/dist/runtime/components/ui/alert-dialog/AlertDialogAction.vue +18 -0
  374. package/dist/runtime/components/ui/alert-dialog/AlertDialogAction.vue.d.ts +18 -0
  375. package/dist/runtime/components/ui/alert-dialog/AlertDialogCancel.d.vue.ts +18 -0
  376. package/dist/runtime/components/ui/alert-dialog/AlertDialogCancel.vue +25 -0
  377. package/dist/runtime/components/ui/alert-dialog/AlertDialogCancel.vue.d.ts +18 -0
  378. package/dist/runtime/components/ui/alert-dialog/AlertDialogContent.d.vue.ts +32 -0
  379. package/dist/runtime/components/ui/alert-dialog/AlertDialogContent.vue +44 -0
  380. package/dist/runtime/components/ui/alert-dialog/AlertDialogContent.vue.d.ts +32 -0
  381. package/dist/runtime/components/ui/alert-dialog/AlertDialogDescription.d.vue.ts +18 -0
  382. package/dist/runtime/components/ui/alert-dialog/AlertDialogDescription.vue +21 -0
  383. package/dist/runtime/components/ui/alert-dialog/AlertDialogDescription.vue.d.ts +18 -0
  384. package/dist/runtime/components/ui/alert-dialog/AlertDialogFooter.d.vue.ts +17 -0
  385. package/dist/runtime/components/ui/alert-dialog/AlertDialogFooter.vue +20 -0
  386. package/dist/runtime/components/ui/alert-dialog/AlertDialogFooter.vue.d.ts +17 -0
  387. package/dist/runtime/components/ui/alert-dialog/AlertDialogHeader.d.vue.ts +17 -0
  388. package/dist/runtime/components/ui/alert-dialog/AlertDialogHeader.vue +15 -0
  389. package/dist/runtime/components/ui/alert-dialog/AlertDialogHeader.vue.d.ts +17 -0
  390. package/dist/runtime/components/ui/alert-dialog/AlertDialogTitle.d.vue.ts +18 -0
  391. package/dist/runtime/components/ui/alert-dialog/AlertDialogTitle.vue +21 -0
  392. package/dist/runtime/components/ui/alert-dialog/AlertDialogTitle.vue.d.ts +18 -0
  393. package/dist/runtime/components/ui/alert-dialog/AlertDialogTrigger.d.vue.ts +14 -0
  394. package/dist/runtime/components/ui/alert-dialog/AlertDialogTrigger.vue +13 -0
  395. package/dist/runtime/components/ui/alert-dialog/AlertDialogTrigger.vue.d.ts +14 -0
  396. package/dist/runtime/components/ui/alert-dialog/index.d.ts +9 -0
  397. package/dist/runtime/components/ui/alert-dialog/index.js +9 -0
  398. package/dist/runtime/components/ui/avatar/Avatar.d.vue.ts +17 -0
  399. package/dist/runtime/components/ui/avatar/Avatar.vue +16 -0
  400. package/dist/runtime/components/ui/avatar/Avatar.vue.d.ts +17 -0
  401. package/dist/runtime/components/ui/avatar/AvatarFallback.d.vue.ts +18 -0
  402. package/dist/runtime/components/ui/avatar/AvatarFallback.vue +27 -0
  403. package/dist/runtime/components/ui/avatar/AvatarFallback.vue.d.ts +18 -0
  404. package/dist/runtime/components/ui/avatar/AvatarImage.d.vue.ts +14 -0
  405. package/dist/runtime/components/ui/avatar/AvatarImage.vue +20 -0
  406. package/dist/runtime/components/ui/avatar/AvatarImage.vue.d.ts +14 -0
  407. package/dist/runtime/components/ui/avatar/index.d.ts +3 -0
  408. package/dist/runtime/components/ui/avatar/index.js +3 -0
  409. package/dist/runtime/components/ui/button/Button.d.vue.ts +24 -0
  410. package/dist/runtime/components/ui/button/Button.vue +24 -0
  411. package/dist/runtime/components/ui/button/Button.vue.d.ts +24 -0
  412. package/dist/runtime/components/ui/button/index.d.ts +9 -0
  413. package/dist/runtime/components/ui/button/index.js +96 -0
  414. package/dist/runtime/components/ui/card/Card.d.vue.ts +23 -0
  415. package/dist/runtime/components/ui/card/Card.vue +26 -0
  416. package/dist/runtime/components/ui/card/Card.vue.d.ts +23 -0
  417. package/dist/runtime/components/ui/card/CardAction.d.vue.ts +17 -0
  418. package/dist/runtime/components/ui/card/CardAction.vue +20 -0
  419. package/dist/runtime/components/ui/card/CardAction.vue.d.ts +17 -0
  420. package/dist/runtime/components/ui/card/CardContent.d.vue.ts +17 -0
  421. package/dist/runtime/components/ui/card/CardContent.vue +15 -0
  422. package/dist/runtime/components/ui/card/CardContent.vue.d.ts +17 -0
  423. package/dist/runtime/components/ui/card/CardDescription.d.vue.ts +17 -0
  424. package/dist/runtime/components/ui/card/CardDescription.vue +15 -0
  425. package/dist/runtime/components/ui/card/CardDescription.vue.d.ts +17 -0
  426. package/dist/runtime/components/ui/card/CardFooter.d.vue.ts +17 -0
  427. package/dist/runtime/components/ui/card/CardFooter.vue +17 -0
  428. package/dist/runtime/components/ui/card/CardFooter.vue.d.ts +17 -0
  429. package/dist/runtime/components/ui/card/CardHeader.d.vue.ts +17 -0
  430. package/dist/runtime/components/ui/card/CardHeader.vue +20 -0
  431. package/dist/runtime/components/ui/card/CardHeader.vue.d.ts +17 -0
  432. package/dist/runtime/components/ui/card/CardTitle.d.vue.ts +17 -0
  433. package/dist/runtime/components/ui/card/CardTitle.vue +15 -0
  434. package/dist/runtime/components/ui/card/CardTitle.vue.d.ts +17 -0
  435. package/dist/runtime/components/ui/card/index.d.ts +7 -0
  436. package/dist/runtime/components/ui/card/index.js +7 -0
  437. package/dist/runtime/components/ui/checkbox/Checkbox.d.vue.ts +22 -0
  438. package/dist/runtime/components/ui/checkbox/Checkbox.vue +42 -0
  439. package/dist/runtime/components/ui/checkbox/Checkbox.vue.d.ts +22 -0
  440. package/dist/runtime/components/ui/checkbox/index.d.ts +1 -0
  441. package/dist/runtime/components/ui/checkbox/index.js +1 -0
  442. package/dist/runtime/components/ui/command/Command.d.vue.ts +36 -0
  443. package/dist/runtime/components/ui/command/Command.vue +81 -0
  444. package/dist/runtime/components/ui/command/Command.vue.d.ts +36 -0
  445. package/dist/runtime/components/ui/command/CommandDialog.d.vue.ts +25 -0
  446. package/dist/runtime/components/ui/command/CommandDialog.vue +28 -0
  447. package/dist/runtime/components/ui/command/CommandDialog.vue.d.ts +25 -0
  448. package/dist/runtime/components/ui/command/CommandEmpty.d.vue.ts +18 -0
  449. package/dist/runtime/components/ui/command/CommandEmpty.vue +27 -0
  450. package/dist/runtime/components/ui/command/CommandEmpty.vue.d.ts +18 -0
  451. package/dist/runtime/components/ui/command/CommandGroup.d.vue.ts +19 -0
  452. package/dist/runtime/components/ui/command/CommandGroup.vue +40 -0
  453. package/dist/runtime/components/ui/command/CommandGroup.vue.d.ts +19 -0
  454. package/dist/runtime/components/ui/command/CommandInput.d.vue.ts +8 -0
  455. package/dist/runtime/components/ui/command/CommandInput.vue +37 -0
  456. package/dist/runtime/components/ui/command/CommandInput.vue.d.ts +8 -0
  457. package/dist/runtime/components/ui/command/CommandItem.d.vue.ts +22 -0
  458. package/dist/runtime/components/ui/command/CommandItem.vue +65 -0
  459. package/dist/runtime/components/ui/command/CommandItem.vue.d.ts +22 -0
  460. package/dist/runtime/components/ui/command/CommandList.d.vue.ts +18 -0
  461. package/dist/runtime/components/ui/command/CommandList.vue +24 -0
  462. package/dist/runtime/components/ui/command/CommandList.vue.d.ts +18 -0
  463. package/dist/runtime/components/ui/command/CommandSeparator.d.vue.ts +18 -0
  464. package/dist/runtime/components/ui/command/CommandSeparator.vue +23 -0
  465. package/dist/runtime/components/ui/command/CommandSeparator.vue.d.ts +18 -0
  466. package/dist/runtime/components/ui/command/CommandShortcut.d.vue.ts +17 -0
  467. package/dist/runtime/components/ui/command/CommandShortcut.vue +15 -0
  468. package/dist/runtime/components/ui/command/CommandShortcut.vue.d.ts +17 -0
  469. package/dist/runtime/components/ui/command/index.d.ts +90 -0
  470. package/dist/runtime/components/ui/command/index.js +12 -0
  471. package/dist/runtime/components/ui/dialog/Dialog.d.vue.ts +18 -0
  472. package/dist/runtime/components/ui/dialog/Dialog.vue +16 -0
  473. package/dist/runtime/components/ui/dialog/Dialog.vue.d.ts +18 -0
  474. package/dist/runtime/components/ui/dialog/DialogClose.d.vue.ts +14 -0
  475. package/dist/runtime/components/ui/dialog/DialogClose.vue +13 -0
  476. package/dist/runtime/components/ui/dialog/DialogClose.vue.d.ts +14 -0
  477. package/dist/runtime/components/ui/dialog/DialogContent.d.vue.ts +39 -0
  478. package/dist/runtime/components/ui/dialog/DialogContent.vue +57 -0
  479. package/dist/runtime/components/ui/dialog/DialogContent.vue.d.ts +39 -0
  480. package/dist/runtime/components/ui/dialog/DialogDescription.d.vue.ts +18 -0
  481. package/dist/runtime/components/ui/dialog/DialogDescription.vue +22 -0
  482. package/dist/runtime/components/ui/dialog/DialogDescription.vue.d.ts +18 -0
  483. package/dist/runtime/components/ui/dialog/DialogFooter.d.vue.ts +17 -0
  484. package/dist/runtime/components/ui/dialog/DialogFooter.vue +12 -0
  485. package/dist/runtime/components/ui/dialog/DialogFooter.vue.d.ts +17 -0
  486. package/dist/runtime/components/ui/dialog/DialogHeader.d.vue.ts +17 -0
  487. package/dist/runtime/components/ui/dialog/DialogHeader.vue +20 -0
  488. package/dist/runtime/components/ui/dialog/DialogHeader.vue.d.ts +17 -0
  489. package/dist/runtime/components/ui/dialog/DialogOverlay.d.vue.ts +18 -0
  490. package/dist/runtime/components/ui/dialog/DialogOverlay.vue +27 -0
  491. package/dist/runtime/components/ui/dialog/DialogOverlay.vue.d.ts +18 -0
  492. package/dist/runtime/components/ui/dialog/DialogScrollContent.d.vue.ts +32 -0
  493. package/dist/runtime/components/ui/dialog/DialogScrollContent.vue +57 -0
  494. package/dist/runtime/components/ui/dialog/DialogScrollContent.vue.d.ts +32 -0
  495. package/dist/runtime/components/ui/dialog/DialogTitle.d.vue.ts +18 -0
  496. package/dist/runtime/components/ui/dialog/DialogTitle.vue +22 -0
  497. package/dist/runtime/components/ui/dialog/DialogTitle.vue.d.ts +18 -0
  498. package/dist/runtime/components/ui/dialog/DialogTrigger.d.vue.ts +14 -0
  499. package/dist/runtime/components/ui/dialog/DialogTrigger.vue +13 -0
  500. package/dist/runtime/components/ui/dialog/DialogTrigger.vue.d.ts +14 -0
  501. package/dist/runtime/components/ui/dialog/index.d.ts +10 -0
  502. package/dist/runtime/components/ui/dialog/index.js +10 -0
  503. package/dist/runtime/components/ui/dropdown-menu/DropdownMenu.d.vue.ts +18 -0
  504. package/dist/runtime/components/ui/dropdown-menu/DropdownMenu.vue +20 -0
  505. package/dist/runtime/components/ui/dropdown-menu/DropdownMenu.vue.d.ts +18 -0
  506. package/dist/runtime/components/ui/dropdown-menu/DropdownMenuCheckboxItem.d.vue.ts +24 -0
  507. package/dist/runtime/components/ui/dropdown-menu/DropdownMenuCheckboxItem.vue +38 -0
  508. package/dist/runtime/components/ui/dropdown-menu/DropdownMenuCheckboxItem.vue.d.ts +24 -0
  509. package/dist/runtime/components/ui/dropdown-menu/DropdownMenuContent.d.vue.ts +32 -0
  510. package/dist/runtime/components/ui/dropdown-menu/DropdownMenuContent.vue +48 -0
  511. package/dist/runtime/components/ui/dropdown-menu/DropdownMenuContent.vue.d.ts +32 -0
  512. package/dist/runtime/components/ui/dropdown-menu/DropdownMenuGroup.d.vue.ts +14 -0
  513. package/dist/runtime/components/ui/dropdown-menu/DropdownMenuGroup.vue +16 -0
  514. package/dist/runtime/components/ui/dropdown-menu/DropdownMenuGroup.vue.d.ts +14 -0
  515. package/dist/runtime/components/ui/dropdown-menu/DropdownMenuItem.d.vue.ts +22 -0
  516. package/dist/runtime/components/ui/dropdown-menu/DropdownMenuItem.vue +28 -0
  517. package/dist/runtime/components/ui/dropdown-menu/DropdownMenuItem.vue.d.ts +22 -0
  518. package/dist/runtime/components/ui/dropdown-menu/DropdownMenuLabel.d.vue.ts +19 -0
  519. package/dist/runtime/components/ui/dropdown-menu/DropdownMenuLabel.vue +24 -0
  520. package/dist/runtime/components/ui/dropdown-menu/DropdownMenuLabel.vue.d.ts +19 -0
  521. package/dist/runtime/components/ui/dropdown-menu/DropdownMenuRadioGroup.d.vue.ts +18 -0
  522. package/dist/runtime/components/ui/dropdown-menu/DropdownMenuRadioGroup.vue +22 -0
  523. package/dist/runtime/components/ui/dropdown-menu/DropdownMenuRadioGroup.vue.d.ts +18 -0
  524. package/dist/runtime/components/ui/dropdown-menu/DropdownMenuRadioItem.d.vue.ts +24 -0
  525. package/dist/runtime/components/ui/dropdown-menu/DropdownMenuRadioItem.vue +44 -0
  526. package/dist/runtime/components/ui/dropdown-menu/DropdownMenuRadioItem.vue.d.ts +24 -0
  527. package/dist/runtime/components/ui/dropdown-menu/DropdownMenuSeparator.d.vue.ts +8 -0
  528. package/dist/runtime/components/ui/dropdown-menu/DropdownMenuSeparator.vue +21 -0
  529. package/dist/runtime/components/ui/dropdown-menu/DropdownMenuSeparator.vue.d.ts +8 -0
  530. package/dist/runtime/components/ui/dropdown-menu/DropdownMenuShortcut.d.vue.ts +17 -0
  531. package/dist/runtime/components/ui/dropdown-menu/DropdownMenuShortcut.vue +15 -0
  532. package/dist/runtime/components/ui/dropdown-menu/DropdownMenuShortcut.vue.d.ts +17 -0
  533. package/dist/runtime/components/ui/dropdown-menu/DropdownMenuSub.d.vue.ts +18 -0
  534. package/dist/runtime/components/ui/dropdown-menu/DropdownMenuSub.vue +18 -0
  535. package/dist/runtime/components/ui/dropdown-menu/DropdownMenuSub.vue.d.ts +18 -0
  536. package/dist/runtime/components/ui/dropdown-menu/DropdownMenuSubContent.d.vue.ts +34 -0
  537. package/dist/runtime/components/ui/dropdown-menu/DropdownMenuSubContent.vue +43 -0
  538. package/dist/runtime/components/ui/dropdown-menu/DropdownMenuSubContent.vue.d.ts +34 -0
  539. package/dist/runtime/components/ui/dropdown-menu/DropdownMenuSubTrigger.d.vue.ts +19 -0
  540. package/dist/runtime/components/ui/dropdown-menu/DropdownMenuSubTrigger.vue +32 -0
  541. package/dist/runtime/components/ui/dropdown-menu/DropdownMenuSubTrigger.vue.d.ts +19 -0
  542. package/dist/runtime/components/ui/dropdown-menu/DropdownMenuTrigger.d.vue.ts +14 -0
  543. package/dist/runtime/components/ui/dropdown-menu/DropdownMenuTrigger.vue +18 -0
  544. package/dist/runtime/components/ui/dropdown-menu/DropdownMenuTrigger.vue.d.ts +14 -0
  545. package/dist/runtime/components/ui/dropdown-menu/index.d.ts +15 -0
  546. package/dist/runtime/components/ui/dropdown-menu/index.js +15 -0
  547. package/dist/runtime/components/ui/form/FormControl.d.vue.ts +13 -0
  548. package/dist/runtime/components/ui/form/FormControl.vue +18 -0
  549. package/dist/runtime/components/ui/form/FormControl.vue.d.ts +13 -0
  550. package/dist/runtime/components/ui/form/FormDescription.d.vue.ts +17 -0
  551. package/dist/runtime/components/ui/form/FormDescription.vue +18 -0
  552. package/dist/runtime/components/ui/form/FormDescription.vue.d.ts +17 -0
  553. package/dist/runtime/components/ui/form/FormItem.d.vue.ts +17 -0
  554. package/dist/runtime/components/ui/form/FormItem.vue +17 -0
  555. package/dist/runtime/components/ui/form/FormItem.vue.d.ts +17 -0
  556. package/dist/runtime/components/ui/form/FormLabel.d.vue.ts +18 -0
  557. package/dist/runtime/components/ui/form/FormLabel.vue +23 -0
  558. package/dist/runtime/components/ui/form/FormLabel.vue.d.ts +18 -0
  559. package/dist/runtime/components/ui/form/FormMessage.d.vue.ts +7 -0
  560. package/dist/runtime/components/ui/form/FormMessage.vue +20 -0
  561. package/dist/runtime/components/ui/form/FormMessage.vue.d.ts +7 -0
  562. package/dist/runtime/components/ui/form/index.d.ts +7 -0
  563. package/dist/runtime/components/ui/form/index.js +11 -0
  564. package/dist/runtime/components/ui/form/injectionKeys.d.ts +2 -0
  565. package/dist/runtime/components/ui/form/injectionKeys.js +1 -0
  566. package/dist/runtime/components/ui/form/useFormField.d.ts +11 -0
  567. package/dist/runtime/components/ui/form/useFormField.js +25 -0
  568. package/dist/runtime/components/ui/input/Input.d.vue.ts +13 -0
  569. package/dist/runtime/components/ui/input/Input.vue +30 -0
  570. package/dist/runtime/components/ui/input/Input.vue.d.ts +13 -0
  571. package/dist/runtime/components/ui/input/index.d.ts +1 -0
  572. package/dist/runtime/components/ui/input/index.js +1 -0
  573. package/dist/runtime/components/ui/input-group/InputGroup.d.vue.ts +17 -0
  574. package/dist/runtime/components/ui/input-group/InputGroup.vue +31 -0
  575. package/dist/runtime/components/ui/input-group/InputGroup.vue.d.ts +17 -0
  576. package/dist/runtime/components/ui/input-group/InputGroupAddon.d.vue.ts +21 -0
  577. package/dist/runtime/components/ui/input-group/InputGroupAddon.vue +30 -0
  578. package/dist/runtime/components/ui/input-group/InputGroupAddon.vue.d.ts +21 -0
  579. package/dist/runtime/components/ui/input-group/InputGroupButton.d.vue.ts +17 -0
  580. package/dist/runtime/components/ui/input-group/InputGroupButton.vue +20 -0
  581. package/dist/runtime/components/ui/input-group/InputGroupButton.vue.d.ts +17 -0
  582. package/dist/runtime/components/ui/input-group/InputGroupInput.d.vue.ts +7 -0
  583. package/dist/runtime/components/ui/input-group/InputGroupInput.vue +19 -0
  584. package/dist/runtime/components/ui/input-group/InputGroupInput.vue.d.ts +7 -0
  585. package/dist/runtime/components/ui/input-group/InputGroupText.d.vue.ts +17 -0
  586. package/dist/runtime/components/ui/input-group/InputGroupText.vue +19 -0
  587. package/dist/runtime/components/ui/input-group/InputGroupText.vue.d.ts +17 -0
  588. package/dist/runtime/components/ui/input-group/InputGroupTextarea.d.vue.ts +7 -0
  589. package/dist/runtime/components/ui/input-group/InputGroupTextarea.vue +19 -0
  590. package/dist/runtime/components/ui/input-group/InputGroupTextarea.vue.d.ts +7 -0
  591. package/dist/runtime/components/ui/input-group/index.d.ts +22 -0
  592. package/dist/runtime/components/ui/input-group/index.js +39 -0
  593. package/dist/runtime/components/ui/label/Label.d.vue.ts +18 -0
  594. package/dist/runtime/components/ui/label/Label.vue +27 -0
  595. package/dist/runtime/components/ui/label/Label.vue.d.ts +18 -0
  596. package/dist/runtime/components/ui/label/index.d.ts +1 -0
  597. package/dist/runtime/components/ui/label/index.js +1 -0
  598. package/dist/runtime/components/ui/pagination/Pagination.d.vue.ts +25 -0
  599. package/dist/runtime/components/ui/pagination/Pagination.vue +31 -0
  600. package/dist/runtime/components/ui/pagination/Pagination.vue.d.ts +25 -0
  601. package/dist/runtime/components/ui/pagination/PaginationContent.d.vue.ts +25 -0
  602. package/dist/runtime/components/ui/pagination/PaginationContent.vue +22 -0
  603. package/dist/runtime/components/ui/pagination/PaginationContent.vue.d.ts +25 -0
  604. package/dist/runtime/components/ui/pagination/PaginationEllipsis.d.vue.ts +18 -0
  605. package/dist/runtime/components/ui/pagination/PaginationEllipsis.vue +24 -0
  606. package/dist/runtime/components/ui/pagination/PaginationEllipsis.vue.d.ts +18 -0
  607. package/dist/runtime/components/ui/pagination/PaginationFirst.d.vue.ts +22 -0
  608. package/dist/runtime/components/ui/pagination/PaginationFirst.vue +33 -0
  609. package/dist/runtime/components/ui/pagination/PaginationFirst.vue.d.ts +22 -0
  610. package/dist/runtime/components/ui/pagination/PaginationItem.d.vue.ts +23 -0
  611. package/dist/runtime/components/ui/pagination/PaginationItem.vue +31 -0
  612. package/dist/runtime/components/ui/pagination/PaginationItem.vue.d.ts +23 -0
  613. package/dist/runtime/components/ui/pagination/PaginationLast.d.vue.ts +22 -0
  614. package/dist/runtime/components/ui/pagination/PaginationLast.vue +33 -0
  615. package/dist/runtime/components/ui/pagination/PaginationLast.vue.d.ts +22 -0
  616. package/dist/runtime/components/ui/pagination/PaginationNext.d.vue.ts +22 -0
  617. package/dist/runtime/components/ui/pagination/PaginationNext.vue +33 -0
  618. package/dist/runtime/components/ui/pagination/PaginationNext.vue.d.ts +22 -0
  619. package/dist/runtime/components/ui/pagination/PaginationPrevious.d.vue.ts +22 -0
  620. package/dist/runtime/components/ui/pagination/PaginationPrevious.vue +33 -0
  621. package/dist/runtime/components/ui/pagination/PaginationPrevious.vue.d.ts +22 -0
  622. package/dist/runtime/components/ui/pagination/index.d.ts +8 -0
  623. package/dist/runtime/components/ui/pagination/index.js +8 -0
  624. package/dist/runtime/components/ui/pin-input/PinInput.d.vue.ts +23 -0
  625. package/dist/runtime/components/ui/pin-input/PinInput.vue +39 -0
  626. package/dist/runtime/components/ui/pin-input/PinInput.vue.d.ts +23 -0
  627. package/dist/runtime/components/ui/pin-input/PinInputGroup.d.vue.ts +18 -0
  628. package/dist/runtime/components/ui/pin-input/PinInputGroup.vue +22 -0
  629. package/dist/runtime/components/ui/pin-input/PinInputGroup.vue.d.ts +18 -0
  630. package/dist/runtime/components/ui/pin-input/PinInputSeparator.d.vue.ts +14 -0
  631. package/dist/runtime/components/ui/pin-input/PinInputSeparator.vue +14 -0
  632. package/dist/runtime/components/ui/pin-input/PinInputSeparator.vue.d.ts +14 -0
  633. package/dist/runtime/components/ui/pin-input/PinInputSlot.d.vue.ts +8 -0
  634. package/dist/runtime/components/ui/pin-input/PinInputSlot.vue +30 -0
  635. package/dist/runtime/components/ui/pin-input/PinInputSlot.vue.d.ts +8 -0
  636. package/dist/runtime/components/ui/pin-input/index.d.ts +4 -0
  637. package/dist/runtime/components/ui/pin-input/index.js +4 -0
  638. package/dist/runtime/components/ui/popover/Popover.d.vue.ts +21 -0
  639. package/dist/runtime/components/ui/popover/Popover.vue +20 -0
  640. package/dist/runtime/components/ui/popover/Popover.vue.d.ts +21 -0
  641. package/dist/runtime/components/ui/popover/PopoverAnchor.d.vue.ts +14 -0
  642. package/dist/runtime/components/ui/popover/PopoverAnchor.vue +17 -0
  643. package/dist/runtime/components/ui/popover/PopoverAnchor.vue.d.ts +14 -0
  644. package/dist/runtime/components/ui/popover/PopoverContent.d.vue.ts +35 -0
  645. package/dist/runtime/components/ui/popover/PopoverContent.vue +56 -0
  646. package/dist/runtime/components/ui/popover/PopoverContent.vue.d.ts +35 -0
  647. package/dist/runtime/components/ui/popover/PopoverTrigger.d.vue.ts +14 -0
  648. package/dist/runtime/components/ui/popover/PopoverTrigger.vue +16 -0
  649. package/dist/runtime/components/ui/popover/PopoverTrigger.vue.d.ts +14 -0
  650. package/dist/runtime/components/ui/popover/index.d.ts +4 -0
  651. package/dist/runtime/components/ui/popover/index.js +4 -0
  652. package/dist/runtime/components/ui/select/Select.d.vue.ts +24 -0
  653. package/dist/runtime/components/ui/select/Select.vue +28 -0
  654. package/dist/runtime/components/ui/select/Select.vue.d.ts +24 -0
  655. package/dist/runtime/components/ui/select/SelectContent.d.vue.ts +28 -0
  656. package/dist/runtime/components/ui/select/SelectContent.vue +61 -0
  657. package/dist/runtime/components/ui/select/SelectContent.vue.d.ts +28 -0
  658. package/dist/runtime/components/ui/select/SelectGroup.d.vue.ts +14 -0
  659. package/dist/runtime/components/ui/select/SelectGroup.vue +16 -0
  660. package/dist/runtime/components/ui/select/SelectGroup.vue.d.ts +14 -0
  661. package/dist/runtime/components/ui/select/SelectItem.d.vue.ts +20 -0
  662. package/dist/runtime/components/ui/select/SelectItem.vue +46 -0
  663. package/dist/runtime/components/ui/select/SelectItem.vue.d.ts +20 -0
  664. package/dist/runtime/components/ui/select/SelectItemText.d.vue.ts +14 -0
  665. package/dist/runtime/components/ui/select/SelectItemText.vue +16 -0
  666. package/dist/runtime/components/ui/select/SelectItemText.vue.d.ts +14 -0
  667. package/dist/runtime/components/ui/select/SelectLabel.d.vue.ts +18 -0
  668. package/dist/runtime/components/ui/select/SelectLabel.vue +21 -0
  669. package/dist/runtime/components/ui/select/SelectLabel.vue.d.ts +18 -0
  670. package/dist/runtime/components/ui/select/SelectScrollDownButton.d.vue.ts +18 -0
  671. package/dist/runtime/components/ui/select/SelectScrollDownButton.vue +21 -0
  672. package/dist/runtime/components/ui/select/SelectScrollDownButton.vue.d.ts +18 -0
  673. package/dist/runtime/components/ui/select/SelectScrollUpButton.d.vue.ts +18 -0
  674. package/dist/runtime/components/ui/select/SelectScrollUpButton.vue +21 -0
  675. package/dist/runtime/components/ui/select/SelectScrollUpButton.vue.d.ts +18 -0
  676. package/dist/runtime/components/ui/select/SelectSeparator.d.vue.ts +8 -0
  677. package/dist/runtime/components/ui/select/SelectSeparator.vue +19 -0
  678. package/dist/runtime/components/ui/select/SelectSeparator.vue.d.ts +8 -0
  679. package/dist/runtime/components/ui/select/SelectTrigger.d.vue.ts +21 -0
  680. package/dist/runtime/components/ui/select/SelectTrigger.vue +35 -0
  681. package/dist/runtime/components/ui/select/SelectTrigger.vue.d.ts +21 -0
  682. package/dist/runtime/components/ui/select/SelectValue.d.vue.ts +14 -0
  683. package/dist/runtime/components/ui/select/SelectValue.vue +17 -0
  684. package/dist/runtime/components/ui/select/SelectValue.vue.d.ts +14 -0
  685. package/dist/runtime/components/ui/select/index.d.ts +11 -0
  686. package/dist/runtime/components/ui/select/index.js +11 -0
  687. package/dist/runtime/components/ui/sheet/Sheet.d.vue.ts +18 -0
  688. package/dist/runtime/components/ui/sheet/Sheet.vue +16 -0
  689. package/dist/runtime/components/ui/sheet/Sheet.vue.d.ts +18 -0
  690. package/dist/runtime/components/ui/sheet/SheetClose.d.vue.ts +14 -0
  691. package/dist/runtime/components/ui/sheet/SheetClose.vue +13 -0
  692. package/dist/runtime/components/ui/sheet/SheetClose.vue.d.ts +14 -0
  693. package/dist/runtime/components/ui/sheet/SheetContent.d.vue.ts +39 -0
  694. package/dist/runtime/components/ui/sheet/SheetContent.vue +64 -0
  695. package/dist/runtime/components/ui/sheet/SheetContent.vue.d.ts +39 -0
  696. package/dist/runtime/components/ui/sheet/SheetDescription.d.vue.ts +18 -0
  697. package/dist/runtime/components/ui/sheet/SheetDescription.vue +21 -0
  698. package/dist/runtime/components/ui/sheet/SheetDescription.vue.d.ts +18 -0
  699. package/dist/runtime/components/ui/sheet/SheetFooter.d.vue.ts +17 -0
  700. package/dist/runtime/components/ui/sheet/SheetFooter.vue +15 -0
  701. package/dist/runtime/components/ui/sheet/SheetFooter.vue.d.ts +17 -0
  702. package/dist/runtime/components/ui/sheet/SheetHeader.d.vue.ts +17 -0
  703. package/dist/runtime/components/ui/sheet/SheetHeader.vue +15 -0
  704. package/dist/runtime/components/ui/sheet/SheetHeader.vue.d.ts +17 -0
  705. package/dist/runtime/components/ui/sheet/SheetOverlay.d.vue.ts +18 -0
  706. package/dist/runtime/components/ui/sheet/SheetOverlay.vue +27 -0
  707. package/dist/runtime/components/ui/sheet/SheetOverlay.vue.d.ts +18 -0
  708. package/dist/runtime/components/ui/sheet/SheetTitle.d.vue.ts +18 -0
  709. package/dist/runtime/components/ui/sheet/SheetTitle.vue +21 -0
  710. package/dist/runtime/components/ui/sheet/SheetTitle.vue.d.ts +18 -0
  711. package/dist/runtime/components/ui/sheet/SheetTrigger.d.vue.ts +14 -0
  712. package/dist/runtime/components/ui/sheet/SheetTrigger.vue +13 -0
  713. package/dist/runtime/components/ui/sheet/SheetTrigger.vue.d.ts +14 -0
  714. package/dist/runtime/components/ui/sheet/index.d.ts +8 -0
  715. package/dist/runtime/components/ui/sheet/index.js +8 -0
  716. package/dist/runtime/components/ui/spinner/Spinner.d.vue.ts +7 -0
  717. package/dist/runtime/components/ui/spinner/Spinner.vue +15 -0
  718. package/dist/runtime/components/ui/spinner/Spinner.vue.d.ts +7 -0
  719. package/dist/runtime/components/ui/spinner/index.d.ts +1 -0
  720. package/dist/runtime/components/ui/spinner/index.js +1 -0
  721. package/dist/runtime/components/ui/table/Table.d.vue.ts +17 -0
  722. package/dist/runtime/components/ui/table/Table.vue +14 -0
  723. package/dist/runtime/components/ui/table/Table.vue.d.ts +17 -0
  724. package/dist/runtime/components/ui/table/TableBody.d.vue.ts +17 -0
  725. package/dist/runtime/components/ui/table/TableBody.vue +15 -0
  726. package/dist/runtime/components/ui/table/TableBody.vue.d.ts +17 -0
  727. package/dist/runtime/components/ui/table/TableCaption.d.vue.ts +17 -0
  728. package/dist/runtime/components/ui/table/TableCaption.vue +15 -0
  729. package/dist/runtime/components/ui/table/TableCaption.vue.d.ts +17 -0
  730. package/dist/runtime/components/ui/table/TableCell.d.vue.ts +17 -0
  731. package/dist/runtime/components/ui/table/TableCell.vue +20 -0
  732. package/dist/runtime/components/ui/table/TableCell.vue.d.ts +17 -0
  733. package/dist/runtime/components/ui/table/TableEmpty.d.vue.ts +20 -0
  734. package/dist/runtime/components/ui/table/TableEmpty.vue +29 -0
  735. package/dist/runtime/components/ui/table/TableEmpty.vue.d.ts +20 -0
  736. package/dist/runtime/components/ui/table/TableFooter.d.vue.ts +17 -0
  737. package/dist/runtime/components/ui/table/TableFooter.vue +15 -0
  738. package/dist/runtime/components/ui/table/TableFooter.vue.d.ts +17 -0
  739. package/dist/runtime/components/ui/table/TableHead.d.vue.ts +17 -0
  740. package/dist/runtime/components/ui/table/TableHead.vue +15 -0
  741. package/dist/runtime/components/ui/table/TableHead.vue.d.ts +17 -0
  742. package/dist/runtime/components/ui/table/TableHeader.d.vue.ts +17 -0
  743. package/dist/runtime/components/ui/table/TableHeader.vue +15 -0
  744. package/dist/runtime/components/ui/table/TableHeader.vue.d.ts +17 -0
  745. package/dist/runtime/components/ui/table/TableRow.d.vue.ts +17 -0
  746. package/dist/runtime/components/ui/table/TableRow.vue +15 -0
  747. package/dist/runtime/components/ui/table/TableRow.vue.d.ts +17 -0
  748. package/dist/runtime/components/ui/table/index.d.ts +9 -0
  749. package/dist/runtime/components/ui/table/index.js +9 -0
  750. package/dist/runtime/components/ui/table/utils.d.ts +3 -0
  751. package/dist/runtime/components/ui/table/utils.js +4 -0
  752. package/dist/runtime/components/ui/tabs/Tabs.d.vue.ts +24 -0
  753. package/dist/runtime/components/ui/tabs/Tabs.vue +30 -0
  754. package/dist/runtime/components/ui/tabs/Tabs.vue.d.ts +24 -0
  755. package/dist/runtime/components/ui/tabs/TabsContent.d.vue.ts +18 -0
  756. package/dist/runtime/components/ui/tabs/TabsContent.vue +23 -0
  757. package/dist/runtime/components/ui/tabs/TabsContent.vue.d.ts +18 -0
  758. package/dist/runtime/components/ui/tabs/TabsList.d.vue.ts +18 -0
  759. package/dist/runtime/components/ui/tabs/TabsList.vue +25 -0
  760. package/dist/runtime/components/ui/tabs/TabsList.vue.d.ts +18 -0
  761. package/dist/runtime/components/ui/tabs/TabsTrigger.d.vue.ts +18 -0
  762. package/dist/runtime/components/ui/tabs/TabsTrigger.vue +27 -0
  763. package/dist/runtime/components/ui/tabs/TabsTrigger.vue.d.ts +18 -0
  764. package/dist/runtime/components/ui/tabs/index.d.ts +4 -0
  765. package/dist/runtime/components/ui/tabs/index.js +4 -0
  766. package/dist/runtime/components/ui/textarea/Textarea.d.vue.ts +13 -0
  767. package/dist/runtime/components/ui/textarea/Textarea.vue +27 -0
  768. package/dist/runtime/components/ui/textarea/Textarea.vue.d.ts +13 -0
  769. package/dist/runtime/components/ui/textarea/index.d.ts +1 -0
  770. package/dist/runtime/components/ui/textarea/index.js +1 -0
  771. package/dist/runtime/components/video.d.vue.ts +16 -0
  772. package/dist/runtime/components/video.vue +40 -0
  773. package/dist/runtime/components/video.vue.d.ts +16 -0
  774. package/dist/runtime/composables/useCopy.d.ts +5 -0
  775. package/dist/runtime/composables/useCopy.js +42 -0
  776. package/dist/runtime/composables/useCountDown.d.ts +4 -0
  777. package/dist/runtime/composables/useCountDown.js +47 -0
  778. package/dist/runtime/plugins/alert.d.ts +22 -0
  779. package/dist/runtime/plugins/alert.js +111 -0
  780. package/dist/runtime/plugins/dayjs.d.ts +8 -0
  781. package/dist/runtime/plugins/dayjs.js +19 -0
  782. package/dist/runtime/plugins/loadingPage.d.ts +2 -0
  783. package/dist/runtime/plugins/loadingPage.js +89 -0
  784. package/dist/runtime/plugins/lodash.d.ts +2 -0
  785. package/dist/runtime/plugins/lodash.js +5 -0
  786. package/dist/runtime/plugins/quill.client.d.ts +7 -0
  787. package/dist/runtime/plugins/quill.client.js +9 -0
  788. package/dist/runtime/plugins/re-captcha.d.ts +2 -0
  789. package/dist/runtime/plugins/re-captcha.js +13 -0
  790. package/dist/runtime/plugins/shadcn.d.ts +2 -0
  791. package/dist/runtime/plugins/shadcn.js +5 -0
  792. package/dist/runtime/plugins/toast.d.ts +30 -0
  793. package/dist/runtime/plugins/toast.js +104 -0
  794. package/dist/runtime/utils/phone.d.ts +3 -0
  795. package/dist/runtime/utils/phone.js +39 -0
  796. package/dist/types.d.mts +3 -0
  797. package/package.json +90 -0
@@ -0,0 +1,13 @@
1
+ declare var __VLS_12: {};
2
+ type __VLS_Slots = {} & {
3
+ default?: (props: typeof __VLS_12) => any;
4
+ };
5
+ declare const __VLS_base: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
6
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
7
+ declare const _default: typeof __VLS_export;
8
+ export default _default;
9
+ type __VLS_WithSlots<T, S> = T & {
10
+ new (): {
11
+ $slots: S;
12
+ };
13
+ };
@@ -0,0 +1,14 @@
1
+ interface Chip {
2
+ label: string;
3
+ checked: boolean;
4
+ }
5
+ type __VLS_ModelProps = {
6
+ modelValue?: Chip[];
7
+ };
8
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
9
+ "update:modelValue": (value: Chip[]) => any;
10
+ }, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
11
+ "onUpdate:modelValue"?: ((value: Chip[]) => any) | undefined;
12
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
13
+ declare const _default: typeof __VLS_export;
14
+ export default _default;
@@ -0,0 +1,39 @@
1
+ <template>
2
+ <div v-if="hasSelectedChips" class="flex gap-[8px] flex-wrap">
3
+ <Chip
4
+ v-for="(chip, index) in selectedChips"
5
+ :key="index"
6
+ color="primary"
7
+ closable
8
+ @closable="onClosable(chip)"
9
+ >
10
+ {{ chip.label }}
11
+ </Chip>
12
+
13
+ <Button variant="text" color="primary" padding="8" @click="clearAll">
14
+ ล้างตัวกรอง
15
+ </Button>
16
+ </div>
17
+ </template>
18
+
19
+ <script setup>
20
+ import { computed } from "vue";
21
+ const modelValue = defineModel({ type: Array, ...{
22
+ default: () => []
23
+ } });
24
+ const onClosable = (chip) => {
25
+ chip.checked = false;
26
+ };
27
+ const hasSelectedChips = computed(
28
+ () => modelValue.value.some((chip) => chip.checked)
29
+ );
30
+ const selectedChips = computed(
31
+ () => modelValue.value.filter((chip) => chip.checked)
32
+ );
33
+ const clearAll = () => {
34
+ modelValue.value.map((chip) => {
35
+ chip.checked = false;
36
+ return chip;
37
+ });
38
+ };
39
+ </script>
@@ -0,0 +1,14 @@
1
+ interface Chip {
2
+ label: string;
3
+ checked: boolean;
4
+ }
5
+ type __VLS_ModelProps = {
6
+ modelValue?: Chip[];
7
+ };
8
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
9
+ "update:modelValue": (value: Chip[]) => any;
10
+ }, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
11
+ "onUpdate:modelValue"?: ((value: Chip[]) => any) | undefined;
12
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
13
+ declare const _default: typeof __VLS_export;
14
+ export default _default;
@@ -0,0 +1,21 @@
1
+ interface TypeItem {
2
+ label: string;
3
+ checked: boolean;
4
+ disabled: boolean;
5
+ }
6
+ type __VLS_Props = {
7
+ label?: string;
8
+ };
9
+ type __VLS_ModelProps = {
10
+ modelValue?: TypeItem[];
11
+ };
12
+ type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
13
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
14
+ "update:modelValue": (value: TypeItem[]) => any;
15
+ }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
16
+ "onUpdate:modelValue"?: ((value: TypeItem[]) => any) | undefined;
17
+ }>, {
18
+ label: string;
19
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
20
+ declare const _default: typeof __VLS_export;
21
+ export default _default;
@@ -0,0 +1,28 @@
1
+ <template>
2
+ <div class="flex flex-col gap-[8px]">
3
+ <div class="text-gray font-body-large-prominent">
4
+ {{ props.label }}
5
+ </div>
6
+
7
+ <InputCheckbox
8
+ v-for="(item, index) in modelValue"
9
+ :key="index"
10
+ :label="item.label"
11
+ label-position="left"
12
+ :disabled="item.disabled"
13
+ labelGap="auto"
14
+ v-model="item.checked"
15
+ />
16
+
17
+ <Button type="text" variant="primary"> แสดงเพิ่มเติม </Button>
18
+ </div>
19
+ </template>
20
+
21
+ <script setup>
22
+ const props = defineProps({
23
+ label: { type: String, required: false, default: "" }
24
+ });
25
+ const modelValue = defineModel({ type: Array, ...{
26
+ default: () => []
27
+ } });
28
+ </script>
@@ -0,0 +1,21 @@
1
+ interface TypeItem {
2
+ label: string;
3
+ checked: boolean;
4
+ disabled: boolean;
5
+ }
6
+ type __VLS_Props = {
7
+ label?: string;
8
+ };
9
+ type __VLS_ModelProps = {
10
+ modelValue?: TypeItem[];
11
+ };
12
+ type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
13
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
14
+ "update:modelValue": (value: TypeItem[]) => any;
15
+ }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
16
+ "onUpdate:modelValue"?: ((value: TypeItem[]) => any) | undefined;
17
+ }>, {
18
+ label: string;
19
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
20
+ declare const _default: typeof __VLS_export;
21
+ export default _default;
@@ -0,0 +1,8 @@
1
+ type __VLS_Props = {
2
+ name?: string;
3
+ size?: number;
4
+ color?: string;
5
+ };
6
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
7
+ declare const _default: typeof __VLS_export;
8
+ export default _default;
@@ -0,0 +1,11 @@
1
+ <template>
2
+ <Icon :name="props.name" :size="props.size" :color="props.color" />
3
+ </template>
4
+
5
+ <script setup>
6
+ const props = defineProps({
7
+ name: { type: String, required: false },
8
+ size: { type: Number, required: false },
9
+ color: { type: String, required: false }
10
+ });
11
+ </script>
@@ -0,0 +1,8 @@
1
+ type __VLS_Props = {
2
+ name?: string;
3
+ size?: number;
4
+ color?: string;
5
+ };
6
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
7
+ declare const _default: typeof __VLS_export;
8
+ export default _default;
@@ -0,0 +1,88 @@
1
+ import Cropper from "cropperjs";
2
+ import "cropperjs/dist/cropper.css";
3
+ import type { ImageCropperProps } from "@/types/components/image/image-cropper";
4
+ declare const __VLS_export: import("vue").DefineComponent<ImageCropperProps, {
5
+ getCropper: () => {
6
+ clear: () => Cropper;
7
+ crop: () => Cropper;
8
+ destroy: () => Cropper;
9
+ disable: () => Cropper;
10
+ enable: () => Cropper;
11
+ getCanvasData: () => Cropper.CanvasData;
12
+ getContainerData: () => Cropper.ContainerData;
13
+ getCropBoxData: () => Cropper.CropBoxData;
14
+ getCroppedCanvas: (options?: Cropper.GetCroppedCanvasOptions) => HTMLCanvasElement;
15
+ getData: (rounded?: boolean) => Cropper.Data;
16
+ getImageData: () => Cropper.ImageData;
17
+ move: (offsetX: number, offsetY?: number) => Cropper;
18
+ moveTo: (x: number, y?: number) => Cropper;
19
+ replace: (url: string, onlyColorChanged?: boolean) => Cropper;
20
+ reset: () => Cropper;
21
+ rotate: (degree: number) => Cropper;
22
+ rotateTo: (degree: number) => Cropper;
23
+ scale: (scaleX: number, scaleY?: number) => Cropper;
24
+ scaleX: (scaleX: number) => Cropper;
25
+ scaleY: (scaleY: number) => Cropper;
26
+ setAspectRatio: (aspectRatio: number) => Cropper;
27
+ setCanvasData: (data: Cropper.SetCanvasDataOptions) => Cropper;
28
+ setCropBoxData: (data: Cropper.SetCropBoxDataOptions) => Cropper;
29
+ setData: (data: Cropper.SetDataOptions) => Cropper;
30
+ setDragMode: (dragMode: Cropper.DragMode) => Cropper;
31
+ zoom: (ratio: number) => Cropper;
32
+ zoomTo: (ratio: number, pivot?: {
33
+ x: number;
34
+ y: number;
35
+ } | undefined) => Cropper;
36
+ } | null;
37
+ reset: import("vue").Ref<() => Cropper | undefined, () => Cropper | undefined>;
38
+ clear: import("vue").Ref<() => Cropper | undefined, () => Cropper | undefined>;
39
+ initCrop: import("vue").Ref<() => Cropper | undefined, () => Cropper | undefined>;
40
+ replace: import("vue").Ref<(url: string, onlyColorChanged?: boolean) => Cropper | undefined, (url: string, onlyColorChanged?: boolean) => Cropper | undefined>;
41
+ enable: import("vue").Ref<() => Cropper | undefined, () => Cropper | undefined>;
42
+ disable: import("vue").Ref<() => Cropper | undefined, () => Cropper | undefined>;
43
+ destroy: import("vue").Ref<() => Cropper | undefined, () => Cropper | undefined>;
44
+ move: import("vue").Ref<(offsetX: number, offsetY: number) => Cropper | undefined, (offsetX: number, offsetY: number) => Cropper | undefined>;
45
+ moveTo: import("vue").Ref<(x: number, y?: number) => Cropper | undefined, (x: number, y?: number) => Cropper | undefined>;
46
+ relativeZoom: import("vue").Ref<(ratio: number, _originalEvent?: Event) => Cropper | undefined, (ratio: number, _originalEvent?: Event) => Cropper | undefined>;
47
+ zoomTo: import("vue").Ref<(ratio: number, _originalEvent?: Event) => Cropper | undefined, (ratio: number, _originalEvent?: Event) => Cropper | undefined>;
48
+ rotate: import("vue").Ref<(degree: number) => Cropper | undefined, (degree: number) => Cropper | undefined>;
49
+ rotateTo: import("vue").Ref<(degree: number) => Cropper | undefined, (degree: number) => Cropper | undefined>;
50
+ scaleX: import("vue").Ref<(scaleX: number) => Cropper | undefined, (scaleX: number) => Cropper | undefined>;
51
+ scaleY: import("vue").Ref<(scaleY: number) => Cropper | undefined, (scaleY: number) => Cropper | undefined>;
52
+ scale: import("vue").Ref<(scaleX: number, scaleY?: number) => Cropper | undefined, (scaleX: number, scaleY?: number) => Cropper | undefined>;
53
+ getData: import("vue").Ref<(rounded?: boolean) => Cropper.Data | undefined, (rounded?: boolean) => Cropper.Data | undefined>;
54
+ setData: import("vue").Ref<(data: Record<string, any>) => Cropper | undefined, (data: Record<string, any>) => Cropper | undefined>;
55
+ getContainerData: import("vue").Ref<() => Cropper.ContainerData | undefined, () => Cropper.ContainerData | undefined>;
56
+ getImageData: import("vue").Ref<() => Cropper.ImageData | undefined, () => Cropper.ImageData | undefined>;
57
+ getCanvasData: import("vue").Ref<() => Cropper.CanvasData | undefined, () => Cropper.CanvasData | undefined>;
58
+ setCanvasData: import("vue").Ref<(data: Record<string, any>) => Cropper | undefined, (data: Record<string, any>) => Cropper | undefined>;
59
+ getCropBoxData: import("vue").Ref<() => Cropper.CropBoxData | undefined, () => Cropper.CropBoxData | undefined>;
60
+ setCropBoxData: import("vue").Ref<(data: Record<string, any>) => Cropper | undefined, (data: Record<string, any>) => Cropper | undefined>;
61
+ getCroppedCanvas: import("vue").Ref<(options?: Record<string, any>) => HTMLCanvasElement | undefined, (options?: Record<string, any>) => HTMLCanvasElement | undefined>;
62
+ setAspectRatio: import("vue").Ref<(aspectRatio: number) => Cropper | undefined, (aspectRatio: number) => Cropper | undefined>;
63
+ setDragMode: import("vue").Ref<(mode: "crop" | "move" | "none") => Cropper | undefined, (mode: "crop" | "move" | "none") => Cropper | undefined>;
64
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ImageCropperProps> & Readonly<{}>, {
65
+ center: boolean;
66
+ src: string;
67
+ responsive: boolean;
68
+ restore: boolean;
69
+ checkCrossOrigin: boolean;
70
+ checkOrientation: boolean;
71
+ crossorigin: "" | "anonymous" | "use-credentials";
72
+ modal: boolean;
73
+ guides: boolean;
74
+ highlight: boolean;
75
+ background: boolean;
76
+ autoCrop: boolean;
77
+ movable: boolean;
78
+ rotatable: boolean;
79
+ scalable: boolean;
80
+ zoomable: boolean;
81
+ zoomOnTouch: boolean;
82
+ zoomOnWheel: boolean;
83
+ cropBoxMovable: boolean;
84
+ cropBoxResizable: boolean;
85
+ toggleDragModeOnDblclick: boolean;
86
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
87
+ declare const _default: typeof __VLS_export;
88
+ export default _default;
@@ -0,0 +1,134 @@
1
+ <template>
2
+ <div :style="containerStyle">
3
+ <img
4
+ ref="imgRef"
5
+ :src="src"
6
+ :alt="alt || 'image'"
7
+ :style="[{ 'max-width': '100%' }, imgStyle]"
8
+ :crossorigin="crossorigin"
9
+ />
10
+ </div>
11
+ </template>
12
+
13
+ <script setup>
14
+ import {
15
+ ref,
16
+ onMounted,
17
+ watch,
18
+ reactive,
19
+ toRefs,
20
+ onUnmounted,
21
+ nextTick
22
+ } from "vue";
23
+ import Cropper from "cropperjs";
24
+ import "cropperjs/dist/cropper.css";
25
+ const props = defineProps({
26
+ containerStyle: { type: Object, required: false },
27
+ src: { type: String, required: true, default: "" },
28
+ alt: { type: String, required: false },
29
+ imgStyle: { type: Object, required: false },
30
+ viewMode: { type: Number, required: false },
31
+ dragMode: { type: String, required: false },
32
+ initialAspectRatio: { type: Number, required: false },
33
+ aspectRatio: { type: Number, required: false },
34
+ data: { type: Object, required: false },
35
+ preview: { type: [String, Array, Object], required: false },
36
+ responsive: { type: Boolean, required: false, default: true },
37
+ restore: { type: Boolean, required: false, default: true },
38
+ checkCrossOrigin: { type: Boolean, required: false, default: true },
39
+ checkOrientation: { type: Boolean, required: false, default: true },
40
+ crossorigin: { type: String, required: false, default: "" },
41
+ modal: { type: Boolean, required: false, default: true },
42
+ guides: { type: Boolean, required: false, default: true },
43
+ center: { type: Boolean, required: false, default: true },
44
+ highlight: { type: Boolean, required: false, default: true },
45
+ background: { type: Boolean, required: false, default: true },
46
+ autoCrop: { type: Boolean, required: false, default: true },
47
+ autoCropArea: { type: Number, required: false },
48
+ movable: { type: Boolean, required: false, default: true },
49
+ rotatable: { type: Boolean, required: false, default: true },
50
+ scalable: { type: Boolean, required: false, default: true },
51
+ zoomable: { type: Boolean, required: false, default: true },
52
+ zoomOnTouch: { type: Boolean, required: false, default: true },
53
+ zoomOnWheel: { type: Boolean, required: false, default: true },
54
+ wheelZoomRatio: { type: Number, required: false },
55
+ cropBoxMovable: { type: Boolean, required: false, default: true },
56
+ cropBoxResizable: { type: Boolean, required: false, default: true },
57
+ toggleDragModeOnDblclick: { type: Boolean, required: false, default: true },
58
+ minCanvasWidth: { type: Number, required: false },
59
+ minCanvasHeight: { type: Number, required: false },
60
+ minCropBoxWidth: { type: Number, required: false },
61
+ minCropBoxHeight: { type: Number, required: false },
62
+ minContainerWidth: { type: Number, required: false },
63
+ minContainerHeight: { type: Number, required: false },
64
+ ready: { type: Function, required: false },
65
+ cropstart: { type: Function, required: false },
66
+ cropmove: { type: Function, required: false },
67
+ cropend: { type: Function, required: false },
68
+ crop: { type: Function, required: false },
69
+ zoom: { type: Function, required: false }
70
+ });
71
+ const imgRef = ref(null);
72
+ const cropperInstance = ref(null);
73
+ onMounted(() => {
74
+ const { containerStyle, src, alt, imgStyle, ...options } = props;
75
+ const filteredOptions = {};
76
+ for (const key in options) {
77
+ if (options[key] !== void 0) {
78
+ filteredOptions[key] = options[key];
79
+ }
80
+ }
81
+ nextTick(() => {
82
+ if (imgRef.value) {
83
+ cropperInstance.value = new Cropper(imgRef.value, filteredOptions);
84
+ }
85
+ });
86
+ });
87
+ watch(
88
+ () => props.src,
89
+ (newSrc, oldSrc) => {
90
+ if (newSrc && newSrc !== oldSrc && cropperInstance.value) {
91
+ cropperInstance.value.replace(newSrc);
92
+ }
93
+ }
94
+ );
95
+ const cropperMethods = reactive({
96
+ reset: () => cropperInstance.value?.reset(),
97
+ clear: () => cropperInstance.value?.clear(),
98
+ initCrop: () => cropperInstance.value?.crop(),
99
+ replace: (url, onlyColorChanged = false) => cropperInstance.value?.replace(url, onlyColorChanged),
100
+ enable: () => cropperInstance.value?.enable(),
101
+ disable: () => cropperInstance.value?.disable(),
102
+ destroy: () => cropperInstance.value?.destroy(),
103
+ move: (offsetX, offsetY) => cropperInstance.value?.move(offsetX, offsetY),
104
+ moveTo: (x, y = x) => cropperInstance.value?.moveTo(x, y),
105
+ relativeZoom: (ratio, _originalEvent) => cropperInstance.value?.zoom(ratio),
106
+ zoomTo: (ratio, _originalEvent) => cropperInstance.value?.zoomTo(ratio),
107
+ rotate: (degree) => cropperInstance.value?.rotate(degree),
108
+ rotateTo: (degree) => cropperInstance.value?.rotateTo(degree),
109
+ scaleX: (scaleX) => cropperInstance.value?.scaleX(scaleX),
110
+ scaleY: (scaleY) => cropperInstance.value?.scaleY(scaleY),
111
+ scale: (scaleX, scaleY = scaleX) => cropperInstance.value?.scale(scaleX, scaleY),
112
+ getData: (rounded = false) => cropperInstance.value?.getData(rounded),
113
+ setData: (data) => cropperInstance.value?.setData(data),
114
+ getContainerData: () => cropperInstance.value?.getContainerData(),
115
+ getImageData: () => cropperInstance.value?.getImageData(),
116
+ getCanvasData: () => cropperInstance.value?.getCanvasData(),
117
+ setCanvasData: (data) => cropperInstance.value?.setCanvasData(data),
118
+ getCropBoxData: () => cropperInstance.value?.getCropBoxData(),
119
+ setCropBoxData: (data) => cropperInstance.value?.setCropBoxData(data),
120
+ getCroppedCanvas: (options = {}) => cropperInstance.value?.getCroppedCanvas(options),
121
+ setAspectRatio: (aspectRatio) => cropperInstance.value?.setAspectRatio(aspectRatio),
122
+ setDragMode: (mode) => cropperInstance.value?.setDragMode(mode)
123
+ });
124
+ onUnmounted(() => {
125
+ if (cropperInstance.value) {
126
+ cropperInstance.value.destroy();
127
+ cropperInstance.value = null;
128
+ }
129
+ });
130
+ defineExpose({
131
+ ...toRefs(cropperMethods),
132
+ getCropper: () => cropperInstance.value
133
+ });
134
+ </script>
@@ -0,0 +1,88 @@
1
+ import Cropper from "cropperjs";
2
+ import "cropperjs/dist/cropper.css";
3
+ import type { ImageCropperProps } from "@/types/components/image/image-cropper";
4
+ declare const __VLS_export: import("vue").DefineComponent<ImageCropperProps, {
5
+ getCropper: () => {
6
+ clear: () => Cropper;
7
+ crop: () => Cropper;
8
+ destroy: () => Cropper;
9
+ disable: () => Cropper;
10
+ enable: () => Cropper;
11
+ getCanvasData: () => Cropper.CanvasData;
12
+ getContainerData: () => Cropper.ContainerData;
13
+ getCropBoxData: () => Cropper.CropBoxData;
14
+ getCroppedCanvas: (options?: Cropper.GetCroppedCanvasOptions) => HTMLCanvasElement;
15
+ getData: (rounded?: boolean) => Cropper.Data;
16
+ getImageData: () => Cropper.ImageData;
17
+ move: (offsetX: number, offsetY?: number) => Cropper;
18
+ moveTo: (x: number, y?: number) => Cropper;
19
+ replace: (url: string, onlyColorChanged?: boolean) => Cropper;
20
+ reset: () => Cropper;
21
+ rotate: (degree: number) => Cropper;
22
+ rotateTo: (degree: number) => Cropper;
23
+ scale: (scaleX: number, scaleY?: number) => Cropper;
24
+ scaleX: (scaleX: number) => Cropper;
25
+ scaleY: (scaleY: number) => Cropper;
26
+ setAspectRatio: (aspectRatio: number) => Cropper;
27
+ setCanvasData: (data: Cropper.SetCanvasDataOptions) => Cropper;
28
+ setCropBoxData: (data: Cropper.SetCropBoxDataOptions) => Cropper;
29
+ setData: (data: Cropper.SetDataOptions) => Cropper;
30
+ setDragMode: (dragMode: Cropper.DragMode) => Cropper;
31
+ zoom: (ratio: number) => Cropper;
32
+ zoomTo: (ratio: number, pivot?: {
33
+ x: number;
34
+ y: number;
35
+ } | undefined) => Cropper;
36
+ } | null;
37
+ reset: import("vue").Ref<() => Cropper | undefined, () => Cropper | undefined>;
38
+ clear: import("vue").Ref<() => Cropper | undefined, () => Cropper | undefined>;
39
+ initCrop: import("vue").Ref<() => Cropper | undefined, () => Cropper | undefined>;
40
+ replace: import("vue").Ref<(url: string, onlyColorChanged?: boolean) => Cropper | undefined, (url: string, onlyColorChanged?: boolean) => Cropper | undefined>;
41
+ enable: import("vue").Ref<() => Cropper | undefined, () => Cropper | undefined>;
42
+ disable: import("vue").Ref<() => Cropper | undefined, () => Cropper | undefined>;
43
+ destroy: import("vue").Ref<() => Cropper | undefined, () => Cropper | undefined>;
44
+ move: import("vue").Ref<(offsetX: number, offsetY: number) => Cropper | undefined, (offsetX: number, offsetY: number) => Cropper | undefined>;
45
+ moveTo: import("vue").Ref<(x: number, y?: number) => Cropper | undefined, (x: number, y?: number) => Cropper | undefined>;
46
+ relativeZoom: import("vue").Ref<(ratio: number, _originalEvent?: Event) => Cropper | undefined, (ratio: number, _originalEvent?: Event) => Cropper | undefined>;
47
+ zoomTo: import("vue").Ref<(ratio: number, _originalEvent?: Event) => Cropper | undefined, (ratio: number, _originalEvent?: Event) => Cropper | undefined>;
48
+ rotate: import("vue").Ref<(degree: number) => Cropper | undefined, (degree: number) => Cropper | undefined>;
49
+ rotateTo: import("vue").Ref<(degree: number) => Cropper | undefined, (degree: number) => Cropper | undefined>;
50
+ scaleX: import("vue").Ref<(scaleX: number) => Cropper | undefined, (scaleX: number) => Cropper | undefined>;
51
+ scaleY: import("vue").Ref<(scaleY: number) => Cropper | undefined, (scaleY: number) => Cropper | undefined>;
52
+ scale: import("vue").Ref<(scaleX: number, scaleY?: number) => Cropper | undefined, (scaleX: number, scaleY?: number) => Cropper | undefined>;
53
+ getData: import("vue").Ref<(rounded?: boolean) => Cropper.Data | undefined, (rounded?: boolean) => Cropper.Data | undefined>;
54
+ setData: import("vue").Ref<(data: Record<string, any>) => Cropper | undefined, (data: Record<string, any>) => Cropper | undefined>;
55
+ getContainerData: import("vue").Ref<() => Cropper.ContainerData | undefined, () => Cropper.ContainerData | undefined>;
56
+ getImageData: import("vue").Ref<() => Cropper.ImageData | undefined, () => Cropper.ImageData | undefined>;
57
+ getCanvasData: import("vue").Ref<() => Cropper.CanvasData | undefined, () => Cropper.CanvasData | undefined>;
58
+ setCanvasData: import("vue").Ref<(data: Record<string, any>) => Cropper | undefined, (data: Record<string, any>) => Cropper | undefined>;
59
+ getCropBoxData: import("vue").Ref<() => Cropper.CropBoxData | undefined, () => Cropper.CropBoxData | undefined>;
60
+ setCropBoxData: import("vue").Ref<(data: Record<string, any>) => Cropper | undefined, (data: Record<string, any>) => Cropper | undefined>;
61
+ getCroppedCanvas: import("vue").Ref<(options?: Record<string, any>) => HTMLCanvasElement | undefined, (options?: Record<string, any>) => HTMLCanvasElement | undefined>;
62
+ setAspectRatio: import("vue").Ref<(aspectRatio: number) => Cropper | undefined, (aspectRatio: number) => Cropper | undefined>;
63
+ setDragMode: import("vue").Ref<(mode: "crop" | "move" | "none") => Cropper | undefined, (mode: "crop" | "move" | "none") => Cropper | undefined>;
64
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ImageCropperProps> & Readonly<{}>, {
65
+ center: boolean;
66
+ src: string;
67
+ responsive: boolean;
68
+ restore: boolean;
69
+ checkCrossOrigin: boolean;
70
+ checkOrientation: boolean;
71
+ crossorigin: "" | "anonymous" | "use-credentials";
72
+ modal: boolean;
73
+ guides: boolean;
74
+ highlight: boolean;
75
+ background: boolean;
76
+ autoCrop: boolean;
77
+ movable: boolean;
78
+ rotatable: boolean;
79
+ scalable: boolean;
80
+ zoomable: boolean;
81
+ zoomOnTouch: boolean;
82
+ zoomOnWheel: boolean;
83
+ cropBoxMovable: boolean;
84
+ cropBoxResizable: boolean;
85
+ toggleDragModeOnDblclick: boolean;
86
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
87
+ declare const _default: typeof __VLS_export;
88
+ export default _default;
@@ -0,0 +1,11 @@
1
+ import type { ImageProps } from "@/types/components/image/image";
2
+ declare const __VLS_export: import("vue").DefineComponent<ImageProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ImageProps> & Readonly<{}>, {
3
+ class: string;
4
+ width: number | string;
5
+ height: number | string;
6
+ src: string;
7
+ fit: import("@/types/components/image/image").ImageFit;
8
+ alt: string;
9
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
10
+ declare const _default: typeof __VLS_export;
11
+ export default _default;
@@ -0,0 +1,66 @@
1
+ <template>
2
+ <NuxtImg
3
+ :class="props.class"
4
+ :src="props.src"
5
+ :alt="props.alt"
6
+ :custom="true"
7
+ :style="{
8
+ width: props.width == 'auto' ? '100%' : `${props.width}px`,
9
+ height: props.height == 'auto' ? '100%' : `${props.height}px`,
10
+ objectFit: props.fit
11
+ }"
12
+ loading="lazy"
13
+ v-slot="{ src, isLoaded, imgAttrs }"
14
+ >
15
+ <div
16
+ v-if="isLoaded || src"
17
+ :style="{
18
+ width: props.width == 'auto' ? '100%' : `${props.width}px`,
19
+ height: props.height == 'auto' ? '100%' : `${props.height}px`
20
+ }"
21
+ >
22
+ <img
23
+ v-bind="imgAttrs"
24
+ :src="src"
25
+ :alt="props.alt"
26
+ :style="{
27
+ width: '100%',
28
+ height: '100%',
29
+ objectFit: props.fit
30
+ }"
31
+ />
32
+ </div>
33
+ <div
34
+ v-else
35
+ ref="refLazy"
36
+ :class="['flex justify-center items-center bg-fade', props.class]"
37
+ :style="{
38
+ width: props.width == 'auto' ? '100%' : `${props.width}px`,
39
+ height: props.height == 'auto' ? '100%' : `${props.height}px`
40
+ }"
41
+ ></div>
42
+
43
+
44
+ </NuxtImg>
45
+ </template>
46
+
47
+ <script setup>
48
+ import { computed, ref } from "vue";
49
+ const props = defineProps({
50
+ class: { type: String, required: false, default: "" },
51
+ src: { type: String, required: false, default: "" },
52
+ width: { type: [Number, String], required: false, default: "" },
53
+ height: { type: [Number, String], required: false, default: "" },
54
+ fit: { type: String, required: false, default: "cover" },
55
+ alt: { type: String, required: false, default: "" }
56
+ });
57
+ const refLazy = ref(null);
58
+ const iconSize = computed(() => {
59
+ const containerWidth = refLazy.value?.clientWidth;
60
+ const containerHeight = refLazy.value?.clientHeight;
61
+ const size = Math.min(containerWidth ?? 0, containerHeight ?? 0) * 0.5;
62
+ if (size > 150) return 150;
63
+ if (size < 24) return 24;
64
+ return size;
65
+ });
66
+ </script>
@@ -0,0 +1,11 @@
1
+ import type { ImageProps } from "@/types/components/image/image";
2
+ declare const __VLS_export: import("vue").DefineComponent<ImageProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ImageProps> & Readonly<{}>, {
3
+ class: string;
4
+ width: number | string;
5
+ height: number | string;
6
+ src: string;
7
+ fit: import("@/types/components/image/image").ImageFit;
8
+ alt: string;
9
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
10
+ declare const _default: typeof __VLS_export;
11
+ export default _default;
@@ -0,0 +1,24 @@
1
+ export interface InputOTPProps {
2
+ id?: string;
3
+ name?: string;
4
+ digit?: number | string;
5
+ rules?: object | string | Function;
6
+ disabled?: boolean;
7
+ }
8
+ type __VLS_Props = InputOTPProps;
9
+ type __VLS_ModelProps = {
10
+ modelValue?: string;
11
+ };
12
+ type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
13
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
14
+ "update:modelValue": (value: string) => any;
15
+ }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
16
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
17
+ }>, {
18
+ id: string;
19
+ name: string;
20
+ disabled: boolean;
21
+ digit: number | string;
22
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
23
+ declare const _default: typeof __VLS_export;
24
+ export default _default;