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.
- package/dist/module.d.mts +14 -0
- package/dist/module.json +9 -0
- package/dist/module.mjs +130 -0
- package/dist/runtime/assets/css/fonts/Anuphan/Anuphan-Bold.ttf +0 -0
- package/dist/runtime/assets/css/fonts/Anuphan/Anuphan-ExtraLight.ttf +0 -0
- package/dist/runtime/assets/css/fonts/Anuphan/Anuphan-Light.ttf +0 -0
- package/dist/runtime/assets/css/fonts/Anuphan/Anuphan-Medium.ttf +0 -0
- package/dist/runtime/assets/css/fonts/Anuphan/Anuphan-Regular.ttf +0 -0
- package/dist/runtime/assets/css/fonts/Anuphan/Anuphan-SemiBold.ttf +0 -0
- package/dist/runtime/assets/css/fonts/Anuphan/Anuphan-Thin.ttf +0 -0
- package/dist/runtime/assets/css/fonts/Anuphan.css +1 -0
- package/dist/runtime/assets/css/fonts/Sarabun/Sarabun-Bold.ttf +0 -0
- package/dist/runtime/assets/css/fonts/Sarabun/Sarabun-BoldItalic.ttf +0 -0
- package/dist/runtime/assets/css/fonts/Sarabun/Sarabun-ExtraBold.ttf +0 -0
- package/dist/runtime/assets/css/fonts/Sarabun/Sarabun-ExtraBoldItalic.ttf +0 -0
- package/dist/runtime/assets/css/fonts/Sarabun/Sarabun-ExtraLight.ttf +0 -0
- package/dist/runtime/assets/css/fonts/Sarabun/Sarabun-ExtraLightItalic.ttf +0 -0
- package/dist/runtime/assets/css/fonts/Sarabun/Sarabun-Italic.ttf +0 -0
- package/dist/runtime/assets/css/fonts/Sarabun/Sarabun-Light.ttf +0 -0
- package/dist/runtime/assets/css/fonts/Sarabun/Sarabun-LightItalic.ttf +0 -0
- package/dist/runtime/assets/css/fonts/Sarabun/Sarabun-Medium.ttf +0 -0
- package/dist/runtime/assets/css/fonts/Sarabun/Sarabun-MediumItalic.ttf +0 -0
- package/dist/runtime/assets/css/fonts/Sarabun/Sarabun-Regular.ttf +0 -0
- package/dist/runtime/assets/css/fonts/Sarabun/Sarabun-SemiBold.ttf +0 -0
- package/dist/runtime/assets/css/fonts/Sarabun/Sarabun-SemiBoldItalic.ttf +0 -0
- package/dist/runtime/assets/css/fonts/Sarabun/Sarabun-Thin.ttf +0 -0
- package/dist/runtime/assets/css/fonts/Sarabun/Sarabun-ThinItalic.ttf +0 -0
- package/dist/runtime/assets/css/fonts/Sarabun.css +1 -0
- package/dist/runtime/assets/css/main.css +1 -0
- package/dist/runtime/assets/css/scroll-bar.css +1 -0
- package/dist/runtime/assets/css/system.css +1 -0
- package/dist/runtime/assets/json/social-icon.json +77 -0
- package/dist/runtime/assets/svg/bell-outline.svg +3 -0
- package/dist/runtime/assets/svg/bookmark-solid.svg +3 -0
- package/dist/runtime/assets/svg/box.svg +23 -0
- package/dist/runtime/assets/svg/camera-plus.svg +10 -0
- package/dist/runtime/assets/svg/check.svg +3 -0
- package/dist/runtime/assets/svg/clock-fading.svg +47 -0
- package/dist/runtime/assets/svg/coin.svg +21 -0
- package/dist/runtime/assets/svg/empty-document.svg +15 -0
- package/dist/runtime/assets/svg/memsg-circle.svg +7 -0
- package/dist/runtime/assets/svg/memsg-fade.svg +5 -0
- package/dist/runtime/assets/svg/memsg-logo-outline.svg +3 -0
- package/dist/runtime/assets/svg/memsg-square.svg +9 -0
- package/dist/runtime/assets/svg/message.svg +3 -0
- package/dist/runtime/assets/svg/page-not-found.svg +9 -0
- package/dist/runtime/assets/svg/share-from-square.svg +3 -0
- package/dist/runtime/assets/svg/share.svg +3 -0
- package/dist/runtime/assets/svg/shopping-cart.svg +17 -0
- package/dist/runtime/assets/svg/socials/Email.svg +12 -0
- package/dist/runtime/assets/svg/socials/Facebook.svg +4 -0
- package/dist/runtime/assets/svg/socials/Line.svg +11 -0
- package/dist/runtime/assets/svg/socials/LinkedIn.svg +5 -0
- package/dist/runtime/assets/svg/socials/Pinterest.svg +4 -0
- package/dist/runtime/assets/svg/socials/SnapChat.svg +5 -0
- package/dist/runtime/assets/svg/socials/Threads.svg +12 -0
- package/dist/runtime/assets/svg/socials/Tiktok.svg +6 -0
- package/dist/runtime/assets/svg/socials/Tumblr.svg +4 -0
- package/dist/runtime/assets/svg/socials/WeChat.svg +1 -0
- package/dist/runtime/assets/svg/socials/Website.svg +11 -0
- package/dist/runtime/assets/svg/socials/Whatsapp.svg +5 -0
- package/dist/runtime/assets/svg/socials/X.svg +4 -0
- package/dist/runtime/assets/svg/socials/Youtube.svg +5 -0
- package/dist/runtime/assets/svg/socials/instagram.svg +14 -0
- package/dist/runtime/assets/svg/thumbs-up-regular.svg +10 -0
- package/dist/runtime/assets/svg/thumbs-up-solid.svg +3 -0
- package/dist/runtime/assets/svg/vector.svg +3 -0
- package/dist/runtime/assets/svg/verify.svg +11 -0
- package/dist/runtime/assets/svg/write-review.svg +16 -0
- package/dist/runtime/components/button.d.vue.ts +27 -0
- package/dist/runtime/components/button.vue +19 -0
- package/dist/runtime/components/button.vue.d.ts +27 -0
- package/dist/runtime/components/card/card-announce2.d.vue.ts +32 -0
- package/dist/runtime/components/card/card-announce2.vue +133 -0
- package/dist/runtime/components/card/card-announce2.vue.d.ts +32 -0
- package/dist/runtime/components/card/card-place-detail.d.vue.ts +9 -0
- package/dist/runtime/components/card/card-place-detail.vue +108 -0
- package/dist/runtime/components/card/card-place-detail.vue.d.ts +9 -0
- package/dist/runtime/components/card/card-profile-about.d.vue.ts +3 -0
- package/dist/runtime/components/card/card-profile-about.vue +56 -0
- package/dist/runtime/components/card/card-profile-about.vue.d.ts +3 -0
- package/dist/runtime/components/card/card-profile-header.d.vue.ts +16 -0
- package/dist/runtime/components/card/card-profile-header.vue +127 -0
- package/dist/runtime/components/card/card-profile-header.vue.d.ts +16 -0
- package/dist/runtime/components/card/card-reaction.d.vue.ts +3 -0
- package/dist/runtime/components/card/card-reaction.vue +35 -0
- package/dist/runtime/components/card/card-reaction.vue.d.ts +3 -0
- package/dist/runtime/components/card/card-recommend-blog.d.vue.ts +16 -0
- package/dist/runtime/components/card/card-recommend-blog.vue +57 -0
- package/dist/runtime/components/card/card-recommend-blog.vue.d.ts +16 -0
- package/dist/runtime/components/card/card-recommend-place.d.vue.ts +21 -0
- package/dist/runtime/components/card/card-recommend-place.vue +62 -0
- package/dist/runtime/components/card/card-recommend-place.vue.d.ts +21 -0
- package/dist/runtime/components/card/card-recommend-publisher.d.vue.ts +24 -0
- package/dist/runtime/components/card/card-recommend-publisher.vue +63 -0
- package/dist/runtime/components/card/card-recommend-publisher.vue.d.ts +24 -0
- package/dist/runtime/components/card/card-review.d.vue.ts +17 -0
- package/dist/runtime/components/card/card-review.vue +134 -0
- package/dist/runtime/components/card/card-review.vue.d.ts +17 -0
- package/dist/runtime/components/card/card-user-blog.d.vue.ts +18 -0
- package/dist/runtime/components/card/card-user-blog.vue +110 -0
- package/dist/runtime/components/card/card-user-blog.vue.d.ts +18 -0
- package/dist/runtime/components/card/card-user-item.d.vue.ts +40 -0
- package/dist/runtime/components/card/card-user-item.vue +156 -0
- package/dist/runtime/components/card/card-user-item.vue.d.ts +40 -0
- package/dist/runtime/components/card/card.d.vue.ts +25 -0
- package/dist/runtime/components/card/card.vue +34 -0
- package/dist/runtime/components/card/card.vue.d.ts +25 -0
- package/dist/runtime/components/carousel.d.vue.ts +25 -0
- package/dist/runtime/components/carousel.vue +68 -0
- package/dist/runtime/components/carousel.vue.d.ts +25 -0
- package/dist/runtime/components/chip.d.vue.ts +24 -0
- package/dist/runtime/components/chip.vue +59 -0
- package/dist/runtime/components/chip.vue.d.ts +24 -0
- package/dist/runtime/components/collapse/collapse-multiple.d.vue.ts +34 -0
- package/dist/runtime/components/collapse/collapse-multiple.vue +64 -0
- package/dist/runtime/components/collapse/collapse-multiple.vue.d.ts +34 -0
- package/dist/runtime/components/collapse/collapse.d.vue.ts +26 -0
- package/dist/runtime/components/collapse/collapse.vue +39 -0
- package/dist/runtime/components/collapse/collapse.vue.d.ts +26 -0
- package/dist/runtime/components/comment.d.vue.ts +6 -0
- package/dist/runtime/components/comment.vue +308 -0
- package/dist/runtime/components/comment.vue.d.ts +6 -0
- package/dist/runtime/components/dialog/dialog-2FA-generate.d.vue.ts +18 -0
- package/dist/runtime/components/dialog/dialog-2FA-generate.vue +113 -0
- package/dist/runtime/components/dialog/dialog-2FA-generate.vue.d.ts +18 -0
- package/dist/runtime/components/dialog/dialog-2FA.d.vue.ts +18 -0
- package/dist/runtime/components/dialog/dialog-2FA.vue +65 -0
- package/dist/runtime/components/dialog/dialog-2FA.vue.d.ts +18 -0
- package/dist/runtime/components/dialog/dialog-email-OTP.d.vue.ts +20 -0
- package/dist/runtime/components/dialog/dialog-email-OTP.vue +120 -0
- package/dist/runtime/components/dialog/dialog-email-OTP.vue.d.ts +20 -0
- package/dist/runtime/components/dialog/dialog-phone-OTP.d.vue.ts +22 -0
- package/dist/runtime/components/dialog/dialog-phone-OTP.vue +62 -0
- package/dist/runtime/components/dialog/dialog-phone-OTP.vue.d.ts +22 -0
- package/dist/runtime/components/display/display-image-place.d.vue.ts +3 -0
- package/dist/runtime/components/display/display-image-place.vue +4 -0
- package/dist/runtime/components/display/display-image-place.vue.d.ts +3 -0
- package/dist/runtime/components/display/display-image-review.d.vue.ts +13 -0
- package/dist/runtime/components/display/display-image-review.vue +30 -0
- package/dist/runtime/components/display/display-image-review.vue.d.ts +13 -0
- package/dist/runtime/components/display/display-image.d.vue.ts +13 -0
- package/dist/runtime/components/display/display-image.vue +102 -0
- package/dist/runtime/components/display/display-image.vue.d.ts +13 -0
- package/dist/runtime/components/divider.d.vue.ts +10 -0
- package/dist/runtime/components/divider.vue +42 -0
- package/dist/runtime/components/divider.vue.d.ts +10 -0
- package/dist/runtime/components/draggable.d.vue.ts +23 -0
- package/dist/runtime/components/draggable.vue +38 -0
- package/dist/runtime/components/draggable.vue.d.ts +23 -0
- package/dist/runtime/components/drawer/drawer-notification.d.vue.ts +22 -0
- package/dist/runtime/components/drawer/drawer-notification.vue +340 -0
- package/dist/runtime/components/drawer/drawer-notification.vue.d.ts +22 -0
- package/dist/runtime/components/drawer/drawer-post-blog.d.vue.ts +10 -0
- package/dist/runtime/components/drawer/drawer-post-blog.vue +88 -0
- package/dist/runtime/components/drawer/drawer-post-blog.vue.d.ts +10 -0
- package/dist/runtime/components/drawer/drawer-profile-about.d.vue.ts +3 -0
- package/dist/runtime/components/drawer/drawer-profile-about.vue +44 -0
- package/dist/runtime/components/drawer/drawer-profile-about.vue.d.ts +3 -0
- package/dist/runtime/components/drawer/drawer.d.vue.ts +38 -0
- package/dist/runtime/components/drawer/drawer.vue +38 -0
- package/dist/runtime/components/drawer/drawer.vue.d.ts +38 -0
- package/dist/runtime/components/dropdown.d.vue.ts +13 -0
- package/dist/runtime/components/dropdown.vue +14 -0
- package/dist/runtime/components/dropdown.vue.d.ts +13 -0
- package/dist/runtime/components/filter/filter-list-chip.d.vue.ts +14 -0
- package/dist/runtime/components/filter/filter-list-chip.vue +39 -0
- package/dist/runtime/components/filter/filter-list-chip.vue.d.ts +14 -0
- package/dist/runtime/components/filter/filter-list.d.vue.ts +21 -0
- package/dist/runtime/components/filter/filter-list.vue +28 -0
- package/dist/runtime/components/filter/filter-list.vue.d.ts +21 -0
- package/dist/runtime/components/icons.d.vue.ts +8 -0
- package/dist/runtime/components/icons.vue +11 -0
- package/dist/runtime/components/icons.vue.d.ts +8 -0
- package/dist/runtime/components/image/image-cropper.d.vue.ts +88 -0
- package/dist/runtime/components/image/image-cropper.vue +134 -0
- package/dist/runtime/components/image/image-cropper.vue.d.ts +88 -0
- package/dist/runtime/components/image/image.d.vue.ts +11 -0
- package/dist/runtime/components/image/image.vue +66 -0
- package/dist/runtime/components/image/image.vue.d.ts +11 -0
- package/dist/runtime/components/input/input-OTP.d.vue.ts +24 -0
- package/dist/runtime/components/input/input-OTP.vue +51 -0
- package/dist/runtime/components/input/input-OTP.vue.d.ts +24 -0
- package/dist/runtime/components/input/input-address.d.vue.ts +3 -0
- package/dist/runtime/components/input/input-address.vue +87 -0
- package/dist/runtime/components/input/input-address.vue.d.ts +3 -0
- package/dist/runtime/components/input/input-autocomplete.d.vue.ts +29 -0
- package/dist/runtime/components/input/input-autocomplete.vue +335 -0
- package/dist/runtime/components/input/input-autocomplete.vue.d.ts +29 -0
- package/dist/runtime/components/input/input-checkbox.d.vue.ts +20 -0
- package/dist/runtime/components/input/input-checkbox.vue +119 -0
- package/dist/runtime/components/input/input-checkbox.vue.d.ts +20 -0
- package/dist/runtime/components/input/input-combobox.d.vue.ts +18 -0
- package/dist/runtime/components/input/input-combobox.vue +25 -0
- package/dist/runtime/components/input/input-combobox.vue.d.ts +18 -0
- package/dist/runtime/components/input/input-comment.d.vue.ts +13 -0
- package/dist/runtime/components/input/input-comment.vue +43 -0
- package/dist/runtime/components/input/input-comment.vue.d.ts +13 -0
- package/dist/runtime/components/input/input-content.d.vue.ts +19 -0
- package/dist/runtime/components/input/input-content.vue +67 -0
- package/dist/runtime/components/input/input-content.vue.d.ts +19 -0
- package/dist/runtime/components/input/input-date-opening.d.vue.ts +3 -0
- package/dist/runtime/components/input/input-date-opening.vue +181 -0
- package/dist/runtime/components/input/input-date-opening.vue.d.ts +3 -0
- package/dist/runtime/components/input/input-email.d.vue.ts +3 -0
- package/dist/runtime/components/input/input-email.vue +14 -0
- package/dist/runtime/components/input/input-email.vue.d.ts +3 -0
- package/dist/runtime/components/input/input-file.d.vue.ts +42 -0
- package/dist/runtime/components/input/input-file.vue +181 -0
- package/dist/runtime/components/input/input-file.vue.d.ts +42 -0
- package/dist/runtime/components/input/input-link.d.vue.ts +15 -0
- package/dist/runtime/components/input/input-link.vue +106 -0
- package/dist/runtime/components/input/input-link.vue.d.ts +15 -0
- package/dist/runtime/components/input/input-media.d.vue.ts +22 -0
- package/dist/runtime/components/input/input-media.vue +141 -0
- package/dist/runtime/components/input/input-media.vue.d.ts +22 -0
- package/dist/runtime/components/input/input-password.d.vue.ts +25 -0
- package/dist/runtime/components/input/input-password.vue +128 -0
- package/dist/runtime/components/input/input-password.vue.d.ts +25 -0
- package/dist/runtime/components/input/input-phone.d.vue.ts +20 -0
- package/dist/runtime/components/input/input-phone.vue +66 -0
- package/dist/runtime/components/input/input-phone.vue.d.ts +20 -0
- package/dist/runtime/components/input/input-radio.d.vue.ts +51 -0
- package/dist/runtime/components/input/input-radio.vue +161 -0
- package/dist/runtime/components/input/input-radio.vue.d.ts +51 -0
- package/dist/runtime/components/input/input-rating.d.vue.ts +25 -0
- package/dist/runtime/components/input/input-rating.vue +69 -0
- package/dist/runtime/components/input/input-rating.vue.d.ts +25 -0
- package/dist/runtime/components/input/input-recaptcha.d.vue.ts +21 -0
- package/dist/runtime/components/input/input-recaptcha.vue +57 -0
- package/dist/runtime/components/input/input-recaptcha.vue.d.ts +21 -0
- package/dist/runtime/components/input/input-search.d.vue.ts +3 -0
- package/dist/runtime/components/input/input-search.vue +69 -0
- package/dist/runtime/components/input/input-search.vue.d.ts +3 -0
- package/dist/runtime/components/input/input-select-tag.d.vue.ts +3 -0
- package/dist/runtime/components/input/input-select-tag.vue +57 -0
- package/dist/runtime/components/input/input-select-tag.vue.d.ts +3 -0
- package/dist/runtime/components/input/input-select.d.vue.ts +49 -0
- package/dist/runtime/components/input/input-select.vue +80 -0
- package/dist/runtime/components/input/input-select.vue.d.ts +49 -0
- package/dist/runtime/components/input/input-slider.d.vue.ts +24 -0
- package/dist/runtime/components/input/input-slider.vue +81 -0
- package/dist/runtime/components/input/input-slider.vue.d.ts +24 -0
- package/dist/runtime/components/input/input-switch.d.vue.ts +20 -0
- package/dist/runtime/components/input/input-switch.vue +55 -0
- package/dist/runtime/components/input/input-switch.vue.d.ts +20 -0
- package/dist/runtime/components/input/input-tag.d.vue.ts +3 -0
- package/dist/runtime/components/input/input-tag.vue +43 -0
- package/dist/runtime/components/input/input-tag.vue.d.ts +3 -0
- package/dist/runtime/components/input/input-text-field.d.vue.ts +70 -0
- package/dist/runtime/components/input/input-text-field.vue +135 -0
- package/dist/runtime/components/input/input-text-field.vue.d.ts +70 -0
- package/dist/runtime/components/input/input-textarea.d.vue.ts +50 -0
- package/dist/runtime/components/input/input-textarea.vue +149 -0
- package/dist/runtime/components/input/input-textarea.vue.d.ts +50 -0
- package/dist/runtime/components/label/label-announce-time.d.vue.ts +3 -0
- package/dist/runtime/components/label/label-announce-time.vue +15 -0
- package/dist/runtime/components/label/label-announce-time.vue.d.ts +3 -0
- package/dist/runtime/components/label/label-card-atom.d.vue.ts +3 -0
- package/dist/runtime/components/label/label-card-atom.vue +17 -0
- package/dist/runtime/components/label/label-card-atom.vue.d.ts +3 -0
- package/dist/runtime/components/list/list-menu.d.vue.ts +93 -0
- package/dist/runtime/components/list/list-menu.vue +34 -0
- package/dist/runtime/components/list/list-menu.vue.d.ts +93 -0
- package/dist/runtime/components/modal/modal-2FA-generate.d.vue.ts +18 -0
- package/dist/runtime/components/modal/modal-2FA-generate.vue +117 -0
- package/dist/runtime/components/modal/modal-2FA-generate.vue.d.ts +18 -0
- package/dist/runtime/components/modal/modal-2FA.d.vue.ts +18 -0
- package/dist/runtime/components/modal/modal-2FA.vue +66 -0
- package/dist/runtime/components/modal/modal-2FA.vue.d.ts +18 -0
- package/dist/runtime/components/modal/modal-account-disabled-alert.d.vue.ts +21 -0
- package/dist/runtime/components/modal/modal-account-disabled-alert.vue +55 -0
- package/dist/runtime/components/modal/modal-account-disabled-alert.vue.d.ts +21 -0
- package/dist/runtime/components/modal/modal-account-disabled-confirmed.d.vue.ts +21 -0
- package/dist/runtime/components/modal/modal-account-disabled-confirmed.vue +58 -0
- package/dist/runtime/components/modal/modal-account-disabled-confirmed.vue.d.ts +21 -0
- package/dist/runtime/components/modal/modal-account-disabled-reason.d.vue.ts +21 -0
- package/dist/runtime/components/modal/modal-account-disabled-reason.vue +92 -0
- package/dist/runtime/components/modal/modal-account-disabled-reason.vue.d.ts +21 -0
- package/dist/runtime/components/modal/modal-account-disabled.d.vue.ts +13 -0
- package/dist/runtime/components/modal/modal-account-disabled.vue +68 -0
- package/dist/runtime/components/modal/modal-account-disabled.vue.d.ts +13 -0
- package/dist/runtime/components/modal/modal-email-OTP.d.vue.ts +21 -0
- package/dist/runtime/components/modal/modal-email-OTP.vue +95 -0
- package/dist/runtime/components/modal/modal-email-OTP.vue.d.ts +21 -0
- package/dist/runtime/components/modal/modal-password-new.d.vue.ts +24 -0
- package/dist/runtime/components/modal/modal-password-new.vue +69 -0
- package/dist/runtime/components/modal/modal-password-new.vue.d.ts +24 -0
- package/dist/runtime/components/modal/modal-password.d.vue.ts +22 -0
- package/dist/runtime/components/modal/modal-password.vue +73 -0
- package/dist/runtime/components/modal/modal-password.vue.d.ts +22 -0
- package/dist/runtime/components/modal/modal-personal-card-ID.d.vue.ts +17 -0
- package/dist/runtime/components/modal/modal-personal-card-ID.vue +335 -0
- package/dist/runtime/components/modal/modal-personal-card-ID.vue.d.ts +17 -0
- package/dist/runtime/components/modal/modal-phone-OTP.d.vue.ts +22 -0
- package/dist/runtime/components/modal/modal-phone-OTP.vue +74 -0
- package/dist/runtime/components/modal/modal-phone-OTP.vue.d.ts +22 -0
- package/dist/runtime/components/modal/modal-profile-edit.d.vue.ts +17 -0
- package/dist/runtime/components/modal/modal-profile-edit.vue +316 -0
- package/dist/runtime/components/modal/modal-profile-edit.vue.d.ts +17 -0
- package/dist/runtime/components/modal/modal-province-domain.d.vue.ts +18 -0
- package/dist/runtime/components/modal/modal-province-domain.vue +55 -0
- package/dist/runtime/components/modal/modal-province-domain.vue.d.ts +18 -0
- package/dist/runtime/components/modal/modal-report.d.vue.ts +3 -0
- package/dist/runtime/components/modal/modal-report.vue +55 -0
- package/dist/runtime/components/modal/modal-report.vue.d.ts +3 -0
- package/dist/runtime/components/modal/modal-review-detail.d.vue.ts +21 -0
- package/dist/runtime/components/modal/modal-review-detail.vue +192 -0
- package/dist/runtime/components/modal/modal-review-detail.vue.d.ts +21 -0
- package/dist/runtime/components/modal/modal-secure.d.vue.ts +19 -0
- package/dist/runtime/components/modal/modal-secure.vue +170 -0
- package/dist/runtime/components/modal/modal-secure.vue.d.ts +19 -0
- package/dist/runtime/components/modal/modal-share.d.vue.ts +10 -0
- package/dist/runtime/components/modal/modal-share.vue +64 -0
- package/dist/runtime/components/modal/modal-share.vue.d.ts +10 -0
- package/dist/runtime/components/modal/modal-user-account-list.d.vue.ts +18 -0
- package/dist/runtime/components/modal/modal-user-account-list.vue +51 -0
- package/dist/runtime/components/modal/modal-user-account-list.vue.d.ts +18 -0
- package/dist/runtime/components/modal/modal-user-account-search.d.vue.ts +18 -0
- package/dist/runtime/components/modal/modal-user-account-search.vue +44 -0
- package/dist/runtime/components/modal/modal-user-account-search.vue.d.ts +18 -0
- package/dist/runtime/components/modal/modal.d.vue.ts +47 -0
- package/dist/runtime/components/modal/modal.vue +46 -0
- package/dist/runtime/components/modal/modal.vue.d.ts +47 -0
- package/dist/runtime/components/pagination.d.vue.ts +20 -0
- package/dist/runtime/components/pagination.vue +60 -0
- package/dist/runtime/components/pagination.vue.d.ts +20 -0
- package/dist/runtime/components/picker/picker-image-cover-profile.d.vue.ts +10 -0
- package/dist/runtime/components/picker/picker-image-cover-profile.vue +181 -0
- package/dist/runtime/components/picker/picker-image-cover-profile.vue.d.ts +10 -0
- package/dist/runtime/components/picker/picker-image-profile.d.vue.ts +20 -0
- package/dist/runtime/components/picker/picker-image-profile.vue +172 -0
- package/dist/runtime/components/picker/picker-image-profile.vue.d.ts +20 -0
- package/dist/runtime/components/picker/picker-option-menu/picker-option-menu-user.d.vue.ts +40 -0
- package/dist/runtime/components/picker/picker-option-menu/picker-option-menu-user.vue +231 -0
- package/dist/runtime/components/picker/picker-option-menu/picker-option-menu-user.vue.d.ts +40 -0
- package/dist/runtime/components/picker/picker-option-menu/picker-option-menu.d.vue.ts +13 -0
- package/dist/runtime/components/picker/picker-option-menu/picker-option-menu.vue +54 -0
- package/dist/runtime/components/picker/picker-option-menu/picker-option-menu.vue.d.ts +13 -0
- package/dist/runtime/components/profile-cover.d.vue.ts +3 -0
- package/dist/runtime/components/profile-cover.vue +86 -0
- package/dist/runtime/components/profile-cover.vue.d.ts +3 -0
- package/dist/runtime/components/progress-bar.d.vue.ts +10 -0
- package/dist/runtime/components/progress-bar.vue +36 -0
- package/dist/runtime/components/progress-bar.vue.d.ts +10 -0
- package/dist/runtime/components/read-more-text.d.vue.ts +7 -0
- package/dist/runtime/components/read-more-text.vue +76 -0
- package/dist/runtime/components/read-more-text.vue.d.ts +7 -0
- package/dist/runtime/components/tab.d.vue.ts +48 -0
- package/dist/runtime/components/tab.vue +176 -0
- package/dist/runtime/components/tab.vue.d.ts +48 -0
- package/dist/runtime/components/table.d.vue.ts +58 -0
- package/dist/runtime/components/table.vue +139 -0
- package/dist/runtime/components/table.vue.d.ts +58 -0
- package/dist/runtime/components/tooltip.d.vue.ts +20 -0
- package/dist/runtime/components/tooltip.vue +63 -0
- package/dist/runtime/components/tooltip.vue.d.ts +20 -0
- package/dist/runtime/components/ui/alert/Alert.d.vue.ts +19 -0
- package/dist/runtime/components/ui/alert/Alert.vue +18 -0
- package/dist/runtime/components/ui/alert/Alert.vue.d.ts +19 -0
- package/dist/runtime/components/ui/alert/AlertDescription.d.vue.ts +17 -0
- package/dist/runtime/components/ui/alert/AlertDescription.vue +15 -0
- package/dist/runtime/components/ui/alert/AlertDescription.vue.d.ts +17 -0
- package/dist/runtime/components/ui/alert/AlertTitle.d.vue.ts +17 -0
- package/dist/runtime/components/ui/alert/AlertTitle.vue +15 -0
- package/dist/runtime/components/ui/alert/AlertTitle.vue.d.ts +17 -0
- package/dist/runtime/components/ui/alert/index.d.ts +8 -0
- package/dist/runtime/components/ui/alert/index.js +18 -0
- package/dist/runtime/components/ui/alert-dialog/AlertDialog.d.vue.ts +21 -0
- package/dist/runtime/components/ui/alert-dialog/AlertDialog.vue +15 -0
- package/dist/runtime/components/ui/alert-dialog/AlertDialog.vue.d.ts +21 -0
- package/dist/runtime/components/ui/alert-dialog/AlertDialogAction.d.vue.ts +18 -0
- package/dist/runtime/components/ui/alert-dialog/AlertDialogAction.vue +18 -0
- package/dist/runtime/components/ui/alert-dialog/AlertDialogAction.vue.d.ts +18 -0
- package/dist/runtime/components/ui/alert-dialog/AlertDialogCancel.d.vue.ts +18 -0
- package/dist/runtime/components/ui/alert-dialog/AlertDialogCancel.vue +25 -0
- package/dist/runtime/components/ui/alert-dialog/AlertDialogCancel.vue.d.ts +18 -0
- package/dist/runtime/components/ui/alert-dialog/AlertDialogContent.d.vue.ts +32 -0
- package/dist/runtime/components/ui/alert-dialog/AlertDialogContent.vue +44 -0
- package/dist/runtime/components/ui/alert-dialog/AlertDialogContent.vue.d.ts +32 -0
- package/dist/runtime/components/ui/alert-dialog/AlertDialogDescription.d.vue.ts +18 -0
- package/dist/runtime/components/ui/alert-dialog/AlertDialogDescription.vue +21 -0
- package/dist/runtime/components/ui/alert-dialog/AlertDialogDescription.vue.d.ts +18 -0
- package/dist/runtime/components/ui/alert-dialog/AlertDialogFooter.d.vue.ts +17 -0
- package/dist/runtime/components/ui/alert-dialog/AlertDialogFooter.vue +20 -0
- package/dist/runtime/components/ui/alert-dialog/AlertDialogFooter.vue.d.ts +17 -0
- package/dist/runtime/components/ui/alert-dialog/AlertDialogHeader.d.vue.ts +17 -0
- package/dist/runtime/components/ui/alert-dialog/AlertDialogHeader.vue +15 -0
- package/dist/runtime/components/ui/alert-dialog/AlertDialogHeader.vue.d.ts +17 -0
- package/dist/runtime/components/ui/alert-dialog/AlertDialogTitle.d.vue.ts +18 -0
- package/dist/runtime/components/ui/alert-dialog/AlertDialogTitle.vue +21 -0
- package/dist/runtime/components/ui/alert-dialog/AlertDialogTitle.vue.d.ts +18 -0
- package/dist/runtime/components/ui/alert-dialog/AlertDialogTrigger.d.vue.ts +14 -0
- package/dist/runtime/components/ui/alert-dialog/AlertDialogTrigger.vue +13 -0
- package/dist/runtime/components/ui/alert-dialog/AlertDialogTrigger.vue.d.ts +14 -0
- package/dist/runtime/components/ui/alert-dialog/index.d.ts +9 -0
- package/dist/runtime/components/ui/alert-dialog/index.js +9 -0
- package/dist/runtime/components/ui/avatar/Avatar.d.vue.ts +17 -0
- package/dist/runtime/components/ui/avatar/Avatar.vue +16 -0
- package/dist/runtime/components/ui/avatar/Avatar.vue.d.ts +17 -0
- package/dist/runtime/components/ui/avatar/AvatarFallback.d.vue.ts +18 -0
- package/dist/runtime/components/ui/avatar/AvatarFallback.vue +27 -0
- package/dist/runtime/components/ui/avatar/AvatarFallback.vue.d.ts +18 -0
- package/dist/runtime/components/ui/avatar/AvatarImage.d.vue.ts +14 -0
- package/dist/runtime/components/ui/avatar/AvatarImage.vue +20 -0
- package/dist/runtime/components/ui/avatar/AvatarImage.vue.d.ts +14 -0
- package/dist/runtime/components/ui/avatar/index.d.ts +3 -0
- package/dist/runtime/components/ui/avatar/index.js +3 -0
- package/dist/runtime/components/ui/button/Button.d.vue.ts +24 -0
- package/dist/runtime/components/ui/button/Button.vue +24 -0
- package/dist/runtime/components/ui/button/Button.vue.d.ts +24 -0
- package/dist/runtime/components/ui/button/index.d.ts +9 -0
- package/dist/runtime/components/ui/button/index.js +96 -0
- package/dist/runtime/components/ui/card/Card.d.vue.ts +23 -0
- package/dist/runtime/components/ui/card/Card.vue +26 -0
- package/dist/runtime/components/ui/card/Card.vue.d.ts +23 -0
- package/dist/runtime/components/ui/card/CardAction.d.vue.ts +17 -0
- package/dist/runtime/components/ui/card/CardAction.vue +20 -0
- package/dist/runtime/components/ui/card/CardAction.vue.d.ts +17 -0
- package/dist/runtime/components/ui/card/CardContent.d.vue.ts +17 -0
- package/dist/runtime/components/ui/card/CardContent.vue +15 -0
- package/dist/runtime/components/ui/card/CardContent.vue.d.ts +17 -0
- package/dist/runtime/components/ui/card/CardDescription.d.vue.ts +17 -0
- package/dist/runtime/components/ui/card/CardDescription.vue +15 -0
- package/dist/runtime/components/ui/card/CardDescription.vue.d.ts +17 -0
- package/dist/runtime/components/ui/card/CardFooter.d.vue.ts +17 -0
- package/dist/runtime/components/ui/card/CardFooter.vue +17 -0
- package/dist/runtime/components/ui/card/CardFooter.vue.d.ts +17 -0
- package/dist/runtime/components/ui/card/CardHeader.d.vue.ts +17 -0
- package/dist/runtime/components/ui/card/CardHeader.vue +20 -0
- package/dist/runtime/components/ui/card/CardHeader.vue.d.ts +17 -0
- package/dist/runtime/components/ui/card/CardTitle.d.vue.ts +17 -0
- package/dist/runtime/components/ui/card/CardTitle.vue +15 -0
- package/dist/runtime/components/ui/card/CardTitle.vue.d.ts +17 -0
- package/dist/runtime/components/ui/card/index.d.ts +7 -0
- package/dist/runtime/components/ui/card/index.js +7 -0
- package/dist/runtime/components/ui/checkbox/Checkbox.d.vue.ts +22 -0
- package/dist/runtime/components/ui/checkbox/Checkbox.vue +42 -0
- package/dist/runtime/components/ui/checkbox/Checkbox.vue.d.ts +22 -0
- package/dist/runtime/components/ui/checkbox/index.d.ts +1 -0
- package/dist/runtime/components/ui/checkbox/index.js +1 -0
- package/dist/runtime/components/ui/command/Command.d.vue.ts +36 -0
- package/dist/runtime/components/ui/command/Command.vue +81 -0
- package/dist/runtime/components/ui/command/Command.vue.d.ts +36 -0
- package/dist/runtime/components/ui/command/CommandDialog.d.vue.ts +25 -0
- package/dist/runtime/components/ui/command/CommandDialog.vue +28 -0
- package/dist/runtime/components/ui/command/CommandDialog.vue.d.ts +25 -0
- package/dist/runtime/components/ui/command/CommandEmpty.d.vue.ts +18 -0
- package/dist/runtime/components/ui/command/CommandEmpty.vue +27 -0
- package/dist/runtime/components/ui/command/CommandEmpty.vue.d.ts +18 -0
- package/dist/runtime/components/ui/command/CommandGroup.d.vue.ts +19 -0
- package/dist/runtime/components/ui/command/CommandGroup.vue +40 -0
- package/dist/runtime/components/ui/command/CommandGroup.vue.d.ts +19 -0
- package/dist/runtime/components/ui/command/CommandInput.d.vue.ts +8 -0
- package/dist/runtime/components/ui/command/CommandInput.vue +37 -0
- package/dist/runtime/components/ui/command/CommandInput.vue.d.ts +8 -0
- package/dist/runtime/components/ui/command/CommandItem.d.vue.ts +22 -0
- package/dist/runtime/components/ui/command/CommandItem.vue +65 -0
- package/dist/runtime/components/ui/command/CommandItem.vue.d.ts +22 -0
- package/dist/runtime/components/ui/command/CommandList.d.vue.ts +18 -0
- package/dist/runtime/components/ui/command/CommandList.vue +24 -0
- package/dist/runtime/components/ui/command/CommandList.vue.d.ts +18 -0
- package/dist/runtime/components/ui/command/CommandSeparator.d.vue.ts +18 -0
- package/dist/runtime/components/ui/command/CommandSeparator.vue +23 -0
- package/dist/runtime/components/ui/command/CommandSeparator.vue.d.ts +18 -0
- package/dist/runtime/components/ui/command/CommandShortcut.d.vue.ts +17 -0
- package/dist/runtime/components/ui/command/CommandShortcut.vue +15 -0
- package/dist/runtime/components/ui/command/CommandShortcut.vue.d.ts +17 -0
- package/dist/runtime/components/ui/command/index.d.ts +90 -0
- package/dist/runtime/components/ui/command/index.js +12 -0
- package/dist/runtime/components/ui/dialog/Dialog.d.vue.ts +18 -0
- package/dist/runtime/components/ui/dialog/Dialog.vue +16 -0
- package/dist/runtime/components/ui/dialog/Dialog.vue.d.ts +18 -0
- package/dist/runtime/components/ui/dialog/DialogClose.d.vue.ts +14 -0
- package/dist/runtime/components/ui/dialog/DialogClose.vue +13 -0
- package/dist/runtime/components/ui/dialog/DialogClose.vue.d.ts +14 -0
- package/dist/runtime/components/ui/dialog/DialogContent.d.vue.ts +39 -0
- package/dist/runtime/components/ui/dialog/DialogContent.vue +57 -0
- package/dist/runtime/components/ui/dialog/DialogContent.vue.d.ts +39 -0
- package/dist/runtime/components/ui/dialog/DialogDescription.d.vue.ts +18 -0
- package/dist/runtime/components/ui/dialog/DialogDescription.vue +22 -0
- package/dist/runtime/components/ui/dialog/DialogDescription.vue.d.ts +18 -0
- package/dist/runtime/components/ui/dialog/DialogFooter.d.vue.ts +17 -0
- package/dist/runtime/components/ui/dialog/DialogFooter.vue +12 -0
- package/dist/runtime/components/ui/dialog/DialogFooter.vue.d.ts +17 -0
- package/dist/runtime/components/ui/dialog/DialogHeader.d.vue.ts +17 -0
- package/dist/runtime/components/ui/dialog/DialogHeader.vue +20 -0
- package/dist/runtime/components/ui/dialog/DialogHeader.vue.d.ts +17 -0
- package/dist/runtime/components/ui/dialog/DialogOverlay.d.vue.ts +18 -0
- package/dist/runtime/components/ui/dialog/DialogOverlay.vue +27 -0
- package/dist/runtime/components/ui/dialog/DialogOverlay.vue.d.ts +18 -0
- package/dist/runtime/components/ui/dialog/DialogScrollContent.d.vue.ts +32 -0
- package/dist/runtime/components/ui/dialog/DialogScrollContent.vue +57 -0
- package/dist/runtime/components/ui/dialog/DialogScrollContent.vue.d.ts +32 -0
- package/dist/runtime/components/ui/dialog/DialogTitle.d.vue.ts +18 -0
- package/dist/runtime/components/ui/dialog/DialogTitle.vue +22 -0
- package/dist/runtime/components/ui/dialog/DialogTitle.vue.d.ts +18 -0
- package/dist/runtime/components/ui/dialog/DialogTrigger.d.vue.ts +14 -0
- package/dist/runtime/components/ui/dialog/DialogTrigger.vue +13 -0
- package/dist/runtime/components/ui/dialog/DialogTrigger.vue.d.ts +14 -0
- package/dist/runtime/components/ui/dialog/index.d.ts +10 -0
- package/dist/runtime/components/ui/dialog/index.js +10 -0
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenu.d.vue.ts +18 -0
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenu.vue +20 -0
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenu.vue.d.ts +18 -0
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuCheckboxItem.d.vue.ts +24 -0
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuCheckboxItem.vue +38 -0
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuCheckboxItem.vue.d.ts +24 -0
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuContent.d.vue.ts +32 -0
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuContent.vue +48 -0
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuContent.vue.d.ts +32 -0
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuGroup.d.vue.ts +14 -0
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuGroup.vue +16 -0
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuGroup.vue.d.ts +14 -0
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuItem.d.vue.ts +22 -0
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuItem.vue +28 -0
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuItem.vue.d.ts +22 -0
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuLabel.d.vue.ts +19 -0
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuLabel.vue +24 -0
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuLabel.vue.d.ts +19 -0
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuRadioGroup.d.vue.ts +18 -0
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuRadioGroup.vue +22 -0
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuRadioGroup.vue.d.ts +18 -0
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuRadioItem.d.vue.ts +24 -0
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuRadioItem.vue +44 -0
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuRadioItem.vue.d.ts +24 -0
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuSeparator.d.vue.ts +8 -0
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuSeparator.vue +21 -0
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuSeparator.vue.d.ts +8 -0
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuShortcut.d.vue.ts +17 -0
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuShortcut.vue +15 -0
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuShortcut.vue.d.ts +17 -0
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuSub.d.vue.ts +18 -0
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuSub.vue +18 -0
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuSub.vue.d.ts +18 -0
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuSubContent.d.vue.ts +34 -0
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuSubContent.vue +43 -0
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuSubContent.vue.d.ts +34 -0
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuSubTrigger.d.vue.ts +19 -0
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuSubTrigger.vue +32 -0
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuSubTrigger.vue.d.ts +19 -0
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuTrigger.d.vue.ts +14 -0
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuTrigger.vue +18 -0
- package/dist/runtime/components/ui/dropdown-menu/DropdownMenuTrigger.vue.d.ts +14 -0
- package/dist/runtime/components/ui/dropdown-menu/index.d.ts +15 -0
- package/dist/runtime/components/ui/dropdown-menu/index.js +15 -0
- package/dist/runtime/components/ui/form/FormControl.d.vue.ts +13 -0
- package/dist/runtime/components/ui/form/FormControl.vue +18 -0
- package/dist/runtime/components/ui/form/FormControl.vue.d.ts +13 -0
- package/dist/runtime/components/ui/form/FormDescription.d.vue.ts +17 -0
- package/dist/runtime/components/ui/form/FormDescription.vue +18 -0
- package/dist/runtime/components/ui/form/FormDescription.vue.d.ts +17 -0
- package/dist/runtime/components/ui/form/FormItem.d.vue.ts +17 -0
- package/dist/runtime/components/ui/form/FormItem.vue +17 -0
- package/dist/runtime/components/ui/form/FormItem.vue.d.ts +17 -0
- package/dist/runtime/components/ui/form/FormLabel.d.vue.ts +18 -0
- package/dist/runtime/components/ui/form/FormLabel.vue +23 -0
- package/dist/runtime/components/ui/form/FormLabel.vue.d.ts +18 -0
- package/dist/runtime/components/ui/form/FormMessage.d.vue.ts +7 -0
- package/dist/runtime/components/ui/form/FormMessage.vue +20 -0
- package/dist/runtime/components/ui/form/FormMessage.vue.d.ts +7 -0
- package/dist/runtime/components/ui/form/index.d.ts +7 -0
- package/dist/runtime/components/ui/form/index.js +11 -0
- package/dist/runtime/components/ui/form/injectionKeys.d.ts +2 -0
- package/dist/runtime/components/ui/form/injectionKeys.js +1 -0
- package/dist/runtime/components/ui/form/useFormField.d.ts +11 -0
- package/dist/runtime/components/ui/form/useFormField.js +25 -0
- package/dist/runtime/components/ui/input/Input.d.vue.ts +13 -0
- package/dist/runtime/components/ui/input/Input.vue +30 -0
- package/dist/runtime/components/ui/input/Input.vue.d.ts +13 -0
- package/dist/runtime/components/ui/input/index.d.ts +1 -0
- package/dist/runtime/components/ui/input/index.js +1 -0
- package/dist/runtime/components/ui/input-group/InputGroup.d.vue.ts +17 -0
- package/dist/runtime/components/ui/input-group/InputGroup.vue +31 -0
- package/dist/runtime/components/ui/input-group/InputGroup.vue.d.ts +17 -0
- package/dist/runtime/components/ui/input-group/InputGroupAddon.d.vue.ts +21 -0
- package/dist/runtime/components/ui/input-group/InputGroupAddon.vue +30 -0
- package/dist/runtime/components/ui/input-group/InputGroupAddon.vue.d.ts +21 -0
- package/dist/runtime/components/ui/input-group/InputGroupButton.d.vue.ts +17 -0
- package/dist/runtime/components/ui/input-group/InputGroupButton.vue +20 -0
- package/dist/runtime/components/ui/input-group/InputGroupButton.vue.d.ts +17 -0
- package/dist/runtime/components/ui/input-group/InputGroupInput.d.vue.ts +7 -0
- package/dist/runtime/components/ui/input-group/InputGroupInput.vue +19 -0
- package/dist/runtime/components/ui/input-group/InputGroupInput.vue.d.ts +7 -0
- package/dist/runtime/components/ui/input-group/InputGroupText.d.vue.ts +17 -0
- package/dist/runtime/components/ui/input-group/InputGroupText.vue +19 -0
- package/dist/runtime/components/ui/input-group/InputGroupText.vue.d.ts +17 -0
- package/dist/runtime/components/ui/input-group/InputGroupTextarea.d.vue.ts +7 -0
- package/dist/runtime/components/ui/input-group/InputGroupTextarea.vue +19 -0
- package/dist/runtime/components/ui/input-group/InputGroupTextarea.vue.d.ts +7 -0
- package/dist/runtime/components/ui/input-group/index.d.ts +22 -0
- package/dist/runtime/components/ui/input-group/index.js +39 -0
- package/dist/runtime/components/ui/label/Label.d.vue.ts +18 -0
- package/dist/runtime/components/ui/label/Label.vue +27 -0
- package/dist/runtime/components/ui/label/Label.vue.d.ts +18 -0
- package/dist/runtime/components/ui/label/index.d.ts +1 -0
- package/dist/runtime/components/ui/label/index.js +1 -0
- package/dist/runtime/components/ui/pagination/Pagination.d.vue.ts +25 -0
- package/dist/runtime/components/ui/pagination/Pagination.vue +31 -0
- package/dist/runtime/components/ui/pagination/Pagination.vue.d.ts +25 -0
- package/dist/runtime/components/ui/pagination/PaginationContent.d.vue.ts +25 -0
- package/dist/runtime/components/ui/pagination/PaginationContent.vue +22 -0
- package/dist/runtime/components/ui/pagination/PaginationContent.vue.d.ts +25 -0
- package/dist/runtime/components/ui/pagination/PaginationEllipsis.d.vue.ts +18 -0
- package/dist/runtime/components/ui/pagination/PaginationEllipsis.vue +24 -0
- package/dist/runtime/components/ui/pagination/PaginationEllipsis.vue.d.ts +18 -0
- package/dist/runtime/components/ui/pagination/PaginationFirst.d.vue.ts +22 -0
- package/dist/runtime/components/ui/pagination/PaginationFirst.vue +33 -0
- package/dist/runtime/components/ui/pagination/PaginationFirst.vue.d.ts +22 -0
- package/dist/runtime/components/ui/pagination/PaginationItem.d.vue.ts +23 -0
- package/dist/runtime/components/ui/pagination/PaginationItem.vue +31 -0
- package/dist/runtime/components/ui/pagination/PaginationItem.vue.d.ts +23 -0
- package/dist/runtime/components/ui/pagination/PaginationLast.d.vue.ts +22 -0
- package/dist/runtime/components/ui/pagination/PaginationLast.vue +33 -0
- package/dist/runtime/components/ui/pagination/PaginationLast.vue.d.ts +22 -0
- package/dist/runtime/components/ui/pagination/PaginationNext.d.vue.ts +22 -0
- package/dist/runtime/components/ui/pagination/PaginationNext.vue +33 -0
- package/dist/runtime/components/ui/pagination/PaginationNext.vue.d.ts +22 -0
- package/dist/runtime/components/ui/pagination/PaginationPrevious.d.vue.ts +22 -0
- package/dist/runtime/components/ui/pagination/PaginationPrevious.vue +33 -0
- package/dist/runtime/components/ui/pagination/PaginationPrevious.vue.d.ts +22 -0
- package/dist/runtime/components/ui/pagination/index.d.ts +8 -0
- package/dist/runtime/components/ui/pagination/index.js +8 -0
- package/dist/runtime/components/ui/pin-input/PinInput.d.vue.ts +23 -0
- package/dist/runtime/components/ui/pin-input/PinInput.vue +39 -0
- package/dist/runtime/components/ui/pin-input/PinInput.vue.d.ts +23 -0
- package/dist/runtime/components/ui/pin-input/PinInputGroup.d.vue.ts +18 -0
- package/dist/runtime/components/ui/pin-input/PinInputGroup.vue +22 -0
- package/dist/runtime/components/ui/pin-input/PinInputGroup.vue.d.ts +18 -0
- package/dist/runtime/components/ui/pin-input/PinInputSeparator.d.vue.ts +14 -0
- package/dist/runtime/components/ui/pin-input/PinInputSeparator.vue +14 -0
- package/dist/runtime/components/ui/pin-input/PinInputSeparator.vue.d.ts +14 -0
- package/dist/runtime/components/ui/pin-input/PinInputSlot.d.vue.ts +8 -0
- package/dist/runtime/components/ui/pin-input/PinInputSlot.vue +30 -0
- package/dist/runtime/components/ui/pin-input/PinInputSlot.vue.d.ts +8 -0
- package/dist/runtime/components/ui/pin-input/index.d.ts +4 -0
- package/dist/runtime/components/ui/pin-input/index.js +4 -0
- package/dist/runtime/components/ui/popover/Popover.d.vue.ts +21 -0
- package/dist/runtime/components/ui/popover/Popover.vue +20 -0
- package/dist/runtime/components/ui/popover/Popover.vue.d.ts +21 -0
- package/dist/runtime/components/ui/popover/PopoverAnchor.d.vue.ts +14 -0
- package/dist/runtime/components/ui/popover/PopoverAnchor.vue +17 -0
- package/dist/runtime/components/ui/popover/PopoverAnchor.vue.d.ts +14 -0
- package/dist/runtime/components/ui/popover/PopoverContent.d.vue.ts +35 -0
- package/dist/runtime/components/ui/popover/PopoverContent.vue +56 -0
- package/dist/runtime/components/ui/popover/PopoverContent.vue.d.ts +35 -0
- package/dist/runtime/components/ui/popover/PopoverTrigger.d.vue.ts +14 -0
- package/dist/runtime/components/ui/popover/PopoverTrigger.vue +16 -0
- package/dist/runtime/components/ui/popover/PopoverTrigger.vue.d.ts +14 -0
- package/dist/runtime/components/ui/popover/index.d.ts +4 -0
- package/dist/runtime/components/ui/popover/index.js +4 -0
- package/dist/runtime/components/ui/select/Select.d.vue.ts +24 -0
- package/dist/runtime/components/ui/select/Select.vue +28 -0
- package/dist/runtime/components/ui/select/Select.vue.d.ts +24 -0
- package/dist/runtime/components/ui/select/SelectContent.d.vue.ts +28 -0
- package/dist/runtime/components/ui/select/SelectContent.vue +61 -0
- package/dist/runtime/components/ui/select/SelectContent.vue.d.ts +28 -0
- package/dist/runtime/components/ui/select/SelectGroup.d.vue.ts +14 -0
- package/dist/runtime/components/ui/select/SelectGroup.vue +16 -0
- package/dist/runtime/components/ui/select/SelectGroup.vue.d.ts +14 -0
- package/dist/runtime/components/ui/select/SelectItem.d.vue.ts +20 -0
- package/dist/runtime/components/ui/select/SelectItem.vue +46 -0
- package/dist/runtime/components/ui/select/SelectItem.vue.d.ts +20 -0
- package/dist/runtime/components/ui/select/SelectItemText.d.vue.ts +14 -0
- package/dist/runtime/components/ui/select/SelectItemText.vue +16 -0
- package/dist/runtime/components/ui/select/SelectItemText.vue.d.ts +14 -0
- package/dist/runtime/components/ui/select/SelectLabel.d.vue.ts +18 -0
- package/dist/runtime/components/ui/select/SelectLabel.vue +21 -0
- package/dist/runtime/components/ui/select/SelectLabel.vue.d.ts +18 -0
- package/dist/runtime/components/ui/select/SelectScrollDownButton.d.vue.ts +18 -0
- package/dist/runtime/components/ui/select/SelectScrollDownButton.vue +21 -0
- package/dist/runtime/components/ui/select/SelectScrollDownButton.vue.d.ts +18 -0
- package/dist/runtime/components/ui/select/SelectScrollUpButton.d.vue.ts +18 -0
- package/dist/runtime/components/ui/select/SelectScrollUpButton.vue +21 -0
- package/dist/runtime/components/ui/select/SelectScrollUpButton.vue.d.ts +18 -0
- package/dist/runtime/components/ui/select/SelectSeparator.d.vue.ts +8 -0
- package/dist/runtime/components/ui/select/SelectSeparator.vue +19 -0
- package/dist/runtime/components/ui/select/SelectSeparator.vue.d.ts +8 -0
- package/dist/runtime/components/ui/select/SelectTrigger.d.vue.ts +21 -0
- package/dist/runtime/components/ui/select/SelectTrigger.vue +35 -0
- package/dist/runtime/components/ui/select/SelectTrigger.vue.d.ts +21 -0
- package/dist/runtime/components/ui/select/SelectValue.d.vue.ts +14 -0
- package/dist/runtime/components/ui/select/SelectValue.vue +17 -0
- package/dist/runtime/components/ui/select/SelectValue.vue.d.ts +14 -0
- package/dist/runtime/components/ui/select/index.d.ts +11 -0
- package/dist/runtime/components/ui/select/index.js +11 -0
- package/dist/runtime/components/ui/sheet/Sheet.d.vue.ts +18 -0
- package/dist/runtime/components/ui/sheet/Sheet.vue +16 -0
- package/dist/runtime/components/ui/sheet/Sheet.vue.d.ts +18 -0
- package/dist/runtime/components/ui/sheet/SheetClose.d.vue.ts +14 -0
- package/dist/runtime/components/ui/sheet/SheetClose.vue +13 -0
- package/dist/runtime/components/ui/sheet/SheetClose.vue.d.ts +14 -0
- package/dist/runtime/components/ui/sheet/SheetContent.d.vue.ts +39 -0
- package/dist/runtime/components/ui/sheet/SheetContent.vue +64 -0
- package/dist/runtime/components/ui/sheet/SheetContent.vue.d.ts +39 -0
- package/dist/runtime/components/ui/sheet/SheetDescription.d.vue.ts +18 -0
- package/dist/runtime/components/ui/sheet/SheetDescription.vue +21 -0
- package/dist/runtime/components/ui/sheet/SheetDescription.vue.d.ts +18 -0
- package/dist/runtime/components/ui/sheet/SheetFooter.d.vue.ts +17 -0
- package/dist/runtime/components/ui/sheet/SheetFooter.vue +15 -0
- package/dist/runtime/components/ui/sheet/SheetFooter.vue.d.ts +17 -0
- package/dist/runtime/components/ui/sheet/SheetHeader.d.vue.ts +17 -0
- package/dist/runtime/components/ui/sheet/SheetHeader.vue +15 -0
- package/dist/runtime/components/ui/sheet/SheetHeader.vue.d.ts +17 -0
- package/dist/runtime/components/ui/sheet/SheetOverlay.d.vue.ts +18 -0
- package/dist/runtime/components/ui/sheet/SheetOverlay.vue +27 -0
- package/dist/runtime/components/ui/sheet/SheetOverlay.vue.d.ts +18 -0
- package/dist/runtime/components/ui/sheet/SheetTitle.d.vue.ts +18 -0
- package/dist/runtime/components/ui/sheet/SheetTitle.vue +21 -0
- package/dist/runtime/components/ui/sheet/SheetTitle.vue.d.ts +18 -0
- package/dist/runtime/components/ui/sheet/SheetTrigger.d.vue.ts +14 -0
- package/dist/runtime/components/ui/sheet/SheetTrigger.vue +13 -0
- package/dist/runtime/components/ui/sheet/SheetTrigger.vue.d.ts +14 -0
- package/dist/runtime/components/ui/sheet/index.d.ts +8 -0
- package/dist/runtime/components/ui/sheet/index.js +8 -0
- package/dist/runtime/components/ui/spinner/Spinner.d.vue.ts +7 -0
- package/dist/runtime/components/ui/spinner/Spinner.vue +15 -0
- package/dist/runtime/components/ui/spinner/Spinner.vue.d.ts +7 -0
- package/dist/runtime/components/ui/spinner/index.d.ts +1 -0
- package/dist/runtime/components/ui/spinner/index.js +1 -0
- package/dist/runtime/components/ui/table/Table.d.vue.ts +17 -0
- package/dist/runtime/components/ui/table/Table.vue +14 -0
- package/dist/runtime/components/ui/table/Table.vue.d.ts +17 -0
- package/dist/runtime/components/ui/table/TableBody.d.vue.ts +17 -0
- package/dist/runtime/components/ui/table/TableBody.vue +15 -0
- package/dist/runtime/components/ui/table/TableBody.vue.d.ts +17 -0
- package/dist/runtime/components/ui/table/TableCaption.d.vue.ts +17 -0
- package/dist/runtime/components/ui/table/TableCaption.vue +15 -0
- package/dist/runtime/components/ui/table/TableCaption.vue.d.ts +17 -0
- package/dist/runtime/components/ui/table/TableCell.d.vue.ts +17 -0
- package/dist/runtime/components/ui/table/TableCell.vue +20 -0
- package/dist/runtime/components/ui/table/TableCell.vue.d.ts +17 -0
- package/dist/runtime/components/ui/table/TableEmpty.d.vue.ts +20 -0
- package/dist/runtime/components/ui/table/TableEmpty.vue +29 -0
- package/dist/runtime/components/ui/table/TableEmpty.vue.d.ts +20 -0
- package/dist/runtime/components/ui/table/TableFooter.d.vue.ts +17 -0
- package/dist/runtime/components/ui/table/TableFooter.vue +15 -0
- package/dist/runtime/components/ui/table/TableFooter.vue.d.ts +17 -0
- package/dist/runtime/components/ui/table/TableHead.d.vue.ts +17 -0
- package/dist/runtime/components/ui/table/TableHead.vue +15 -0
- package/dist/runtime/components/ui/table/TableHead.vue.d.ts +17 -0
- package/dist/runtime/components/ui/table/TableHeader.d.vue.ts +17 -0
- package/dist/runtime/components/ui/table/TableHeader.vue +15 -0
- package/dist/runtime/components/ui/table/TableHeader.vue.d.ts +17 -0
- package/dist/runtime/components/ui/table/TableRow.d.vue.ts +17 -0
- package/dist/runtime/components/ui/table/TableRow.vue +15 -0
- package/dist/runtime/components/ui/table/TableRow.vue.d.ts +17 -0
- package/dist/runtime/components/ui/table/index.d.ts +9 -0
- package/dist/runtime/components/ui/table/index.js +9 -0
- package/dist/runtime/components/ui/table/utils.d.ts +3 -0
- package/dist/runtime/components/ui/table/utils.js +4 -0
- package/dist/runtime/components/ui/tabs/Tabs.d.vue.ts +24 -0
- package/dist/runtime/components/ui/tabs/Tabs.vue +30 -0
- package/dist/runtime/components/ui/tabs/Tabs.vue.d.ts +24 -0
- package/dist/runtime/components/ui/tabs/TabsContent.d.vue.ts +18 -0
- package/dist/runtime/components/ui/tabs/TabsContent.vue +23 -0
- package/dist/runtime/components/ui/tabs/TabsContent.vue.d.ts +18 -0
- package/dist/runtime/components/ui/tabs/TabsList.d.vue.ts +18 -0
- package/dist/runtime/components/ui/tabs/TabsList.vue +25 -0
- package/dist/runtime/components/ui/tabs/TabsList.vue.d.ts +18 -0
- package/dist/runtime/components/ui/tabs/TabsTrigger.d.vue.ts +18 -0
- package/dist/runtime/components/ui/tabs/TabsTrigger.vue +27 -0
- package/dist/runtime/components/ui/tabs/TabsTrigger.vue.d.ts +18 -0
- package/dist/runtime/components/ui/tabs/index.d.ts +4 -0
- package/dist/runtime/components/ui/tabs/index.js +4 -0
- package/dist/runtime/components/ui/textarea/Textarea.d.vue.ts +13 -0
- package/dist/runtime/components/ui/textarea/Textarea.vue +27 -0
- package/dist/runtime/components/ui/textarea/Textarea.vue.d.ts +13 -0
- package/dist/runtime/components/ui/textarea/index.d.ts +1 -0
- package/dist/runtime/components/ui/textarea/index.js +1 -0
- package/dist/runtime/components/video.d.vue.ts +16 -0
- package/dist/runtime/components/video.vue +40 -0
- package/dist/runtime/components/video.vue.d.ts +16 -0
- package/dist/runtime/composables/useCopy.d.ts +5 -0
- package/dist/runtime/composables/useCopy.js +42 -0
- package/dist/runtime/composables/useCountDown.d.ts +4 -0
- package/dist/runtime/composables/useCountDown.js +47 -0
- package/dist/runtime/plugins/alert.d.ts +22 -0
- package/dist/runtime/plugins/alert.js +111 -0
- package/dist/runtime/plugins/dayjs.d.ts +8 -0
- package/dist/runtime/plugins/dayjs.js +19 -0
- package/dist/runtime/plugins/loadingPage.d.ts +2 -0
- package/dist/runtime/plugins/loadingPage.js +89 -0
- package/dist/runtime/plugins/lodash.d.ts +2 -0
- package/dist/runtime/plugins/lodash.js +5 -0
- package/dist/runtime/plugins/quill.client.d.ts +7 -0
- package/dist/runtime/plugins/quill.client.js +9 -0
- package/dist/runtime/plugins/re-captcha.d.ts +2 -0
- package/dist/runtime/plugins/re-captcha.js +13 -0
- package/dist/runtime/plugins/shadcn.d.ts +2 -0
- package/dist/runtime/plugins/shadcn.js +5 -0
- package/dist/runtime/plugins/toast.d.ts +30 -0
- package/dist/runtime/plugins/toast.js +104 -0
- package/dist/runtime/utils/phone.d.ts +3 -0
- package/dist/runtime/utils/phone.js +39 -0
- package/dist/types.d.mts +3 -0
- package/package.json +90 -0
|
@@ -0,0 +1,156 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div
|
|
3
|
+
:class="[
|
|
4
|
+
'flex gap-[16px] items-center border-b border-mercury w-full',
|
|
5
|
+
props.disabledPaddingHorizontal ? 'py-[16px]' : 'p-[16px]'
|
|
6
|
+
]"
|
|
7
|
+
>
|
|
8
|
+
<div class="flex w-full gap-[16px]">
|
|
9
|
+
<!-- <Avatar
|
|
10
|
+
:src="user.profile_image.image_url"
|
|
11
|
+
size="48"
|
|
12
|
+
class="cursor-pointer"
|
|
13
|
+
/> -->
|
|
14
|
+
<div class="flex flex-col gap-[4px]">
|
|
15
|
+
<div class="flex gap-[4px] items-center">
|
|
16
|
+
<div
|
|
17
|
+
:class="[
|
|
18
|
+
props.hiddenInfo ? 'font-body-large-prominent' : 'font-body-small-prominent'
|
|
19
|
+
]"
|
|
20
|
+
>
|
|
21
|
+
{{ user.profile_name }}
|
|
22
|
+
</div>
|
|
23
|
+
<Icon
|
|
24
|
+
v-if="user.profile_verified === true"
|
|
25
|
+
name="pukaad-verify"
|
|
26
|
+
:size="props.hiddenInfo ? 20 : 16"
|
|
27
|
+
/>
|
|
28
|
+
</div>
|
|
29
|
+
<div
|
|
30
|
+
v-if="!props.hiddenInfo"
|
|
31
|
+
:class="[
|
|
32
|
+
'flex gap-[4px] text-gray items-center',
|
|
33
|
+
props.variant === 'search' ? 'font-body-large' : 'font-body-small'
|
|
34
|
+
]"
|
|
35
|
+
>
|
|
36
|
+
<div>ผู้ติดตาม {{ user.profile_followers }}</div>
|
|
37
|
+
<div>•</div>
|
|
38
|
+
<div>กำลังเผยแพร่ {{ user.profile_posts }}</div>
|
|
39
|
+
</div>
|
|
40
|
+
<div
|
|
41
|
+
v-if="!props.hiddenInfo"
|
|
42
|
+
:class="[
|
|
43
|
+
'text-gray',
|
|
44
|
+
props.variant === 'search' ? 'font-body-large' : 'font-body-small'
|
|
45
|
+
]"
|
|
46
|
+
>
|
|
47
|
+
{{ user.profile_bio }}
|
|
48
|
+
</div>
|
|
49
|
+
</div>
|
|
50
|
+
</div>
|
|
51
|
+
|
|
52
|
+
<Button
|
|
53
|
+
:color="buttonState.variant"
|
|
54
|
+
:variant="buttonState.type"
|
|
55
|
+
@click="buttonState.action"
|
|
56
|
+
>
|
|
57
|
+
{{ buttonState.text }}
|
|
58
|
+
</Button>
|
|
59
|
+
|
|
60
|
+
<PickerOptionMenuUser
|
|
61
|
+
v-if="ellipsis"
|
|
62
|
+
state="follower"
|
|
63
|
+
circle
|
|
64
|
+
variant="text"
|
|
65
|
+
/>
|
|
66
|
+
</div>
|
|
67
|
+
</template>
|
|
68
|
+
|
|
69
|
+
<script setup>
|
|
70
|
+
import { computed, ref } from "vue";
|
|
71
|
+
import { useNuxtApp } from "nuxt/app";
|
|
72
|
+
const { $alert } = useNuxtApp();
|
|
73
|
+
const props = defineProps({
|
|
74
|
+
disabledPaddingHorizontal: { type: Boolean, required: false, default: false },
|
|
75
|
+
hiddenInfo: { type: Boolean, required: false, default: false },
|
|
76
|
+
variant: { type: String, required: false, default: "normal" },
|
|
77
|
+
ellipsis: { type: Boolean, required: false, default: false },
|
|
78
|
+
showBlockOption: { type: Boolean, required: false, default: false }
|
|
79
|
+
});
|
|
80
|
+
const user = defineModel({ type: Object, ...{ required: true } });
|
|
81
|
+
const buttonState = computed(() => {
|
|
82
|
+
if (user.value.is_blocked) {
|
|
83
|
+
return {
|
|
84
|
+
text: "\u0E40\u0E25\u0E34\u0E01\u0E1A\u0E25\u0E47\u0E2D\u0E01",
|
|
85
|
+
variant: "default",
|
|
86
|
+
type: "solid",
|
|
87
|
+
action: toggleBlock
|
|
88
|
+
};
|
|
89
|
+
} else if (user.value.is_following) {
|
|
90
|
+
return {
|
|
91
|
+
text: "\u0E15\u0E34\u0E14\u0E15\u0E32\u0E21\u0E41\u0E25\u0E49\u0E27",
|
|
92
|
+
variant: "default",
|
|
93
|
+
type: "solid",
|
|
94
|
+
action: toggleFollow
|
|
95
|
+
};
|
|
96
|
+
} else if (showBlockOption.value) {
|
|
97
|
+
return {
|
|
98
|
+
text: "\u0E1A\u0E25\u0E47\u0E2D\u0E01",
|
|
99
|
+
variant: "error",
|
|
100
|
+
type: "solid",
|
|
101
|
+
action: toggleBlock
|
|
102
|
+
};
|
|
103
|
+
} else {
|
|
104
|
+
return {
|
|
105
|
+
text: "\u0E15\u0E34\u0E14\u0E15\u0E32\u0E21",
|
|
106
|
+
variant: "primary",
|
|
107
|
+
type: "flat-outline",
|
|
108
|
+
action: toggleFollow
|
|
109
|
+
};
|
|
110
|
+
}
|
|
111
|
+
});
|
|
112
|
+
const toggleFollow = () => {
|
|
113
|
+
user.value = {
|
|
114
|
+
...user.value,
|
|
115
|
+
is_following: !user.value.is_following
|
|
116
|
+
};
|
|
117
|
+
};
|
|
118
|
+
const showBlockOption = ref(props.showBlockOption);
|
|
119
|
+
const toggleBlock = () => {
|
|
120
|
+
if (user.value.is_blocked) {
|
|
121
|
+
$alert.show({
|
|
122
|
+
type: "warning",
|
|
123
|
+
title: "\u0E40\u0E25\u0E34\u0E01\u0E1A\u0E25\u0E47\u0E2D\u0E04",
|
|
124
|
+
text: `\u0E04\u0E38\u0E13\u0E41\u0E19\u0E48\u0E43\u0E08\u0E2B\u0E23\u0E37\u0E2D\u0E44\u0E21\u0E48\u0E27\u0E48\u0E32\u0E04\u0E38\u0E13\u0E15\u0E49\u0E2D\u0E07\u0E01\u0E32\u0E23\u0E40\u0E25\u0E34\u0E01\u0E1A\u0E25\u0E47\u0E2D\u0E01 ${user.value.profile_name} \u0E43\u0E0A\u0E48\u0E21\u0E31\u0E49\u0E22?`,
|
|
125
|
+
confirmText: "\u0E40\u0E25\u0E34\u0E01\u0E1A\u0E25\u0E47\u0E2D\u0E04",
|
|
126
|
+
showCancelBtn: true,
|
|
127
|
+
cancelText: "\u0E22\u0E01\u0E40\u0E25\u0E34\u0E01"
|
|
128
|
+
}).then((result) => {
|
|
129
|
+
if (result) {
|
|
130
|
+
user.value = {
|
|
131
|
+
...user.value,
|
|
132
|
+
is_blocked: false
|
|
133
|
+
};
|
|
134
|
+
showBlockOption.value = true;
|
|
135
|
+
}
|
|
136
|
+
});
|
|
137
|
+
} else {
|
|
138
|
+
$alert.show({
|
|
139
|
+
type: "warning",
|
|
140
|
+
title: "\u0E15\u0E49\u0E2D\u0E07\u0E01\u0E32\u0E23\u0E1A\u0E25\u0E47\u0E2D\u0E01\u0E1C\u0E39\u0E49\u0E43\u0E0A\u0E49\u0E19\u0E35\u0E49\u0E2B\u0E23\u0E37\u0E2D\u0E44\u0E21\u0E48 ?",
|
|
141
|
+
text: `${user.value.profile_name} \u0E08\u0E30\u0E44\u0E21\u0E48\u0E2A\u0E32\u0E21\u0E32\u0E23\u0E16\u0E40\u0E02\u0E49\u0E32\u0E16\u0E36\u0E07\u0E42\u0E1E\u0E2A\u0E15\u0E4C\u0E02\u0E2D\u0E07\u0E04\u0E38\u0E13 \u0E2A\u0E48\u0E07\u0E02\u0E49\u0E2D\u0E04\u0E27\u0E32\u0E21\u0E16\u0E36\u0E07\u0E04\u0E38\u0E13 \u0E21\u0E2D\u0E07\u0E40\u0E2B\u0E47\u0E19\u0E04\u0E27\u0E32\u0E21\u0E04\u0E34\u0E14\u0E40\u0E2B\u0E47\u0E19\u0E2B\u0E23\u0E37\u0E2D\u0E23\u0E35\u0E27\u0E34\u0E27\u0E02\u0E2D\u0E07\u0E04\u0E38\u0E13 \u0E41\u0E25\u0E30\u0E08\u0E30\u0E22\u0E01\u0E40\u0E25\u0E34\u0E01\u0E01\u0E32\u0E23\u0E15\u0E34\u0E14\u0E15\u0E32\u0E21\u0E14\u0E49\u0E27\u0E22`,
|
|
142
|
+
confirmText: "\u0E1A\u0E25\u0E47\u0E2D\u0E01",
|
|
143
|
+
showCancelBtn: true,
|
|
144
|
+
cancelText: "\u0E22\u0E01\u0E40\u0E25\u0E34\u0E01"
|
|
145
|
+
}).then((result) => {
|
|
146
|
+
if (result) {
|
|
147
|
+
user.value = {
|
|
148
|
+
...user.value,
|
|
149
|
+
is_following: false,
|
|
150
|
+
is_blocked: true
|
|
151
|
+
};
|
|
152
|
+
}
|
|
153
|
+
});
|
|
154
|
+
}
|
|
155
|
+
};
|
|
156
|
+
</script>
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
export interface User {
|
|
2
|
+
id: string;
|
|
3
|
+
profile_image: {
|
|
4
|
+
image_url: string;
|
|
5
|
+
};
|
|
6
|
+
profile_name: string;
|
|
7
|
+
profile_verified?: boolean;
|
|
8
|
+
profile_followers?: number;
|
|
9
|
+
profile_path: {
|
|
10
|
+
path_name: string;
|
|
11
|
+
};
|
|
12
|
+
profile_posts: number;
|
|
13
|
+
profile_bio: string | null;
|
|
14
|
+
is_following?: boolean;
|
|
15
|
+
is_blocked?: boolean;
|
|
16
|
+
}
|
|
17
|
+
type __VLS_Props = {
|
|
18
|
+
disabledPaddingHorizontal?: boolean;
|
|
19
|
+
hiddenInfo?: boolean;
|
|
20
|
+
variant?: "normal" | "search";
|
|
21
|
+
ellipsis?: boolean;
|
|
22
|
+
showBlockOption?: boolean;
|
|
23
|
+
};
|
|
24
|
+
type __VLS_ModelProps = {
|
|
25
|
+
modelValue: User;
|
|
26
|
+
};
|
|
27
|
+
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
28
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
29
|
+
"update:modelValue": (value: User) => any;
|
|
30
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
31
|
+
"onUpdate:modelValue"?: ((value: User) => any) | undefined;
|
|
32
|
+
}>, {
|
|
33
|
+
variant: "normal" | "search";
|
|
34
|
+
disabledPaddingHorizontal: boolean;
|
|
35
|
+
hiddenInfo: boolean;
|
|
36
|
+
ellipsis: boolean;
|
|
37
|
+
showBlockOption: boolean;
|
|
38
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
39
|
+
declare const _default: typeof __VLS_export;
|
|
40
|
+
export default _default;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
export interface CardProps {
|
|
2
|
+
title?: string;
|
|
3
|
+
description?: string;
|
|
4
|
+
}
|
|
5
|
+
declare var __VLS_12: {}, __VLS_19: {}, __VLS_26: {}, __VLS_33: any, __VLS_40: any;
|
|
6
|
+
type __VLS_Slots = {} & {
|
|
7
|
+
header?: (props: typeof __VLS_12) => any;
|
|
8
|
+
} & {
|
|
9
|
+
title?: (props: typeof __VLS_19) => any;
|
|
10
|
+
} & {
|
|
11
|
+
description?: (props: typeof __VLS_26) => any;
|
|
12
|
+
} & {
|
|
13
|
+
default?: (props: typeof __VLS_33) => any;
|
|
14
|
+
} & {
|
|
15
|
+
footer?: (props: typeof __VLS_40) => any;
|
|
16
|
+
};
|
|
17
|
+
declare const __VLS_base: import("vue").DefineComponent<CardProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<CardProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
18
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
19
|
+
declare const _default: typeof __VLS_export;
|
|
20
|
+
export default _default;
|
|
21
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
22
|
+
new (): {
|
|
23
|
+
$slots: S;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<ShadCard v-slot="slotScope">
|
|
3
|
+
<ShadCardHeader
|
|
4
|
+
v-if="$slots.header || props.title || props.description"
|
|
5
|
+
v-bind="slotScope"
|
|
6
|
+
>
|
|
7
|
+
<slot name="header">
|
|
8
|
+
<ShadCardTitle v-if="props.title">
|
|
9
|
+
<slot name="title">
|
|
10
|
+
{{ props.title }}
|
|
11
|
+
</slot>
|
|
12
|
+
</ShadCardTitle>
|
|
13
|
+
<ShadCardDescription>
|
|
14
|
+
<slot name="description">
|
|
15
|
+
{{ props.description }}
|
|
16
|
+
</slot>
|
|
17
|
+
</ShadCardDescription>
|
|
18
|
+
</slot>
|
|
19
|
+
</ShadCardHeader>
|
|
20
|
+
<ShadCardContent>
|
|
21
|
+
<slot v-bind="slotScope" />
|
|
22
|
+
</ShadCardContent>
|
|
23
|
+
<ShadCardFooter v-if="$slots.footer">
|
|
24
|
+
<slot name="footer" v-bind="slotScope" />
|
|
25
|
+
</ShadCardFooter>
|
|
26
|
+
</ShadCard>
|
|
27
|
+
</template>
|
|
28
|
+
|
|
29
|
+
<script setup>
|
|
30
|
+
const props = defineProps({
|
|
31
|
+
title: { type: String, required: false },
|
|
32
|
+
description: { type: String, required: false }
|
|
33
|
+
});
|
|
34
|
+
</script>
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
export interface CardProps {
|
|
2
|
+
title?: string;
|
|
3
|
+
description?: string;
|
|
4
|
+
}
|
|
5
|
+
declare var __VLS_12: {}, __VLS_19: {}, __VLS_26: {}, __VLS_33: any, __VLS_40: any;
|
|
6
|
+
type __VLS_Slots = {} & {
|
|
7
|
+
header?: (props: typeof __VLS_12) => any;
|
|
8
|
+
} & {
|
|
9
|
+
title?: (props: typeof __VLS_19) => any;
|
|
10
|
+
} & {
|
|
11
|
+
description?: (props: typeof __VLS_26) => any;
|
|
12
|
+
} & {
|
|
13
|
+
default?: (props: typeof __VLS_33) => any;
|
|
14
|
+
} & {
|
|
15
|
+
footer?: (props: typeof __VLS_40) => any;
|
|
16
|
+
};
|
|
17
|
+
declare const __VLS_base: import("vue").DefineComponent<CardProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<CardProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
18
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
19
|
+
declare const _default: typeof __VLS_export;
|
|
20
|
+
export default _default;
|
|
21
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
22
|
+
new (): {
|
|
23
|
+
$slots: S;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import type { CarouselProps } from "@/types/components/carousel";
|
|
2
|
+
declare var __VLS_27: {};
|
|
3
|
+
type __VLS_Slots = {} & {
|
|
4
|
+
default?: (props: typeof __VLS_27) => any;
|
|
5
|
+
};
|
|
6
|
+
declare const __VLS_base: import("vue").DefineComponent<CarouselProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
7
|
+
"clicked-image": () => any;
|
|
8
|
+
change: (value: number) => any;
|
|
9
|
+
}, string, import("vue").PublicProps, Readonly<CarouselProps> & Readonly<{
|
|
10
|
+
"onClicked-image"?: (() => any) | undefined;
|
|
11
|
+
onChange?: ((value: number) => any) | undefined;
|
|
12
|
+
}>, {
|
|
13
|
+
items: string[];
|
|
14
|
+
selectIndex: number;
|
|
15
|
+
fullWidth: boolean;
|
|
16
|
+
fullHeight: boolean;
|
|
17
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
18
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
19
|
+
declare const _default: typeof __VLS_export;
|
|
20
|
+
export default _default;
|
|
21
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
22
|
+
new (): {
|
|
23
|
+
$slots: S;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="relative bg-black" @mouseenter="isHovered = true" @mouseleave="isHovered = false" :style="{
|
|
3
|
+
width: props.fullWidth ? '100%' : `${props.width}px`,
|
|
4
|
+
height: props.fullHeight ? '100%' : `${props.height}px`
|
|
5
|
+
}">
|
|
6
|
+
<div v-if="props.items?.length && props.items[currentIndex]" class="flex items-center justify-center w-full h-full"
|
|
7
|
+
@click="onClickedImage">
|
|
8
|
+
<Image v-if="!props.items[currentIndex]?.includes('.mp4')" :src="props.items[currentIndex]"
|
|
9
|
+
:width="props.fullWidth ? 'auto' : props.width" :height="props.fullHeight ? 'auto' : props.height"
|
|
10
|
+
fit="contain" />
|
|
11
|
+
<Video v-else :src="props.items[currentIndex]" fit="contain" controls full-width full-height />
|
|
12
|
+
</div>
|
|
13
|
+
<div v-if="props.items.length > 1 && isHovered" class="absolute top-[16px] left-1/2 transform -translate-x-1/2">
|
|
14
|
+
<div class="rounded-full py-[4px] px-[8px] bg-black/50 w-[100px] items-center">
|
|
15
|
+
<div class="font-body-medium w-full text-center text-white">
|
|
16
|
+
{{ currentIndex + 1 }}/{{ props.items.length }}
|
|
17
|
+
</div>
|
|
18
|
+
</div>
|
|
19
|
+
</div>
|
|
20
|
+
<div v-if="props.items.length > 1 && currentIndex > 0 && isHovered"
|
|
21
|
+
class="absolute left-[16px] top-1/2 transform -translate-y-1/2">
|
|
22
|
+
<Button prependIcon="lucide:chevron-left" circle variant="solid" color="black" @click="back" :icon-size="24"
|
|
23
|
+
:padding="0" />
|
|
24
|
+
</div>
|
|
25
|
+
<div v-if="props.items.length > 1 && currentIndex < props.items.length - 1 && isHovered"
|
|
26
|
+
class="absolute right-[16px] top-1/2 transform -translate-y-1/2">
|
|
27
|
+
<Button prependIcon="lucide:chevron-right" circle variant="solid" color="black" @click="next" :icon-size="24"
|
|
28
|
+
:padding="0" />
|
|
29
|
+
</div>
|
|
30
|
+
<div class="absolute bottom-[0] w-full">
|
|
31
|
+
<slot name="default" />
|
|
32
|
+
</div>
|
|
33
|
+
</div>
|
|
34
|
+
</template>
|
|
35
|
+
|
|
36
|
+
<script setup>
|
|
37
|
+
import { ref, watch } from "vue";
|
|
38
|
+
const props = defineProps({
|
|
39
|
+
items: { type: Array, required: true, default: () => [] },
|
|
40
|
+
selectIndex: { type: Number, required: false, default: 0 },
|
|
41
|
+
width: { type: [Number, String], required: false },
|
|
42
|
+
height: { type: [Number, String], required: false },
|
|
43
|
+
fullWidth: { type: Boolean, required: false, default: false },
|
|
44
|
+
fullHeight: { type: Boolean, required: false, default: false }
|
|
45
|
+
});
|
|
46
|
+
const emit = defineEmits(["clicked-image", "change"]);
|
|
47
|
+
const currentIndex = ref(props.selectIndex);
|
|
48
|
+
const isHovered = ref(false);
|
|
49
|
+
function onClickedImage() {
|
|
50
|
+
emit("clicked-image");
|
|
51
|
+
}
|
|
52
|
+
function back() {
|
|
53
|
+
if (currentIndex.value > 0) {
|
|
54
|
+
currentIndex.value--;
|
|
55
|
+
emit("change", currentIndex.value);
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
function next() {
|
|
59
|
+
if (currentIndex.value < props.items.length - 1) {
|
|
60
|
+
currentIndex.value++;
|
|
61
|
+
emit("change", currentIndex.value);
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
watch(
|
|
65
|
+
() => props.selectIndex,
|
|
66
|
+
(newVal) => currentIndex.value = newVal
|
|
67
|
+
);
|
|
68
|
+
</script>
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import type { CarouselProps } from "@/types/components/carousel";
|
|
2
|
+
declare var __VLS_27: {};
|
|
3
|
+
type __VLS_Slots = {} & {
|
|
4
|
+
default?: (props: typeof __VLS_27) => any;
|
|
5
|
+
};
|
|
6
|
+
declare const __VLS_base: import("vue").DefineComponent<CarouselProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
7
|
+
"clicked-image": () => any;
|
|
8
|
+
change: (value: number) => any;
|
|
9
|
+
}, string, import("vue").PublicProps, Readonly<CarouselProps> & Readonly<{
|
|
10
|
+
"onClicked-image"?: (() => any) | undefined;
|
|
11
|
+
onChange?: ((value: number) => any) | undefined;
|
|
12
|
+
}>, {
|
|
13
|
+
items: string[];
|
|
14
|
+
selectIndex: number;
|
|
15
|
+
fullWidth: boolean;
|
|
16
|
+
fullHeight: boolean;
|
|
17
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
18
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
19
|
+
declare const _default: typeof __VLS_export;
|
|
20
|
+
export default _default;
|
|
21
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
22
|
+
new (): {
|
|
23
|
+
$slots: S;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import type { ChipProps, ChipColor, ChipSize } from "@/types/components/chip";
|
|
2
|
+
declare var __VLS_1: {};
|
|
3
|
+
type __VLS_Slots = {} & {
|
|
4
|
+
default?: (props: typeof __VLS_1) => any;
|
|
5
|
+
};
|
|
6
|
+
declare const __VLS_base: import("vue").DefineComponent<ChipProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
7
|
+
closable: () => any;
|
|
8
|
+
}, string, import("vue").PublicProps, Readonly<ChipProps> & Readonly<{
|
|
9
|
+
onClosable?: (() => any) | undefined;
|
|
10
|
+
}>, {
|
|
11
|
+
color: ChipColor;
|
|
12
|
+
flat: boolean;
|
|
13
|
+
closable: boolean;
|
|
14
|
+
autoHeight: boolean;
|
|
15
|
+
size: ChipSize;
|
|
16
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
17
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
18
|
+
declare const _default: typeof __VLS_export;
|
|
19
|
+
export default _default;
|
|
20
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
21
|
+
new (): {
|
|
22
|
+
$slots: S;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div
|
|
3
|
+
:class="[
|
|
4
|
+
'rounded-full px-[8px] py-[4px] font-body-large inline-flex gap-[4px] justify-center items-center',
|
|
5
|
+
!props.flat && 'border-[1px]',
|
|
6
|
+
props.autoHeight ? 'break-all' : height,
|
|
7
|
+
color,
|
|
8
|
+
size
|
|
9
|
+
]"
|
|
10
|
+
>
|
|
11
|
+
<slot name="default" />
|
|
12
|
+
<div
|
|
13
|
+
v-if="props.closable"
|
|
14
|
+
class="flex justify-center items-center cursor-pointer"
|
|
15
|
+
@click="emit('closable')"
|
|
16
|
+
>
|
|
17
|
+
<Icon name="fa6-solid:xmark" size="16" />
|
|
18
|
+
</div>
|
|
19
|
+
</div>
|
|
20
|
+
</template>
|
|
21
|
+
|
|
22
|
+
<script setup>
|
|
23
|
+
import { computed } from "vue";
|
|
24
|
+
const emit = defineEmits(["closable"]);
|
|
25
|
+
const props = defineProps({
|
|
26
|
+
color: { type: String, required: false, default: "default" },
|
|
27
|
+
flat: { type: Boolean, required: false, default: false },
|
|
28
|
+
closable: { type: Boolean, required: false, default: false },
|
|
29
|
+
autoHeight: { type: Boolean, required: false, default: false },
|
|
30
|
+
size: { type: String, required: false, default: "medium" }
|
|
31
|
+
});
|
|
32
|
+
const color = computed(() => {
|
|
33
|
+
const colors = {
|
|
34
|
+
default: props.flat ? "border-gray bg-mercury" : "border-gray bg-white",
|
|
35
|
+
primary: "border-primary bg-info text-primary",
|
|
36
|
+
success: "border-success bg-green-light text-success",
|
|
37
|
+
warning: "border-warning bg-yellow-light text-warning",
|
|
38
|
+
error: "border-error bg-red-light text-error"
|
|
39
|
+
};
|
|
40
|
+
return colors[props.color];
|
|
41
|
+
});
|
|
42
|
+
const height = computed(() => {
|
|
43
|
+
const sizes = {
|
|
44
|
+
tiny: "h-[24px]",
|
|
45
|
+
small: "h-[32px]",
|
|
46
|
+
medium: "h-[40px]",
|
|
47
|
+
large: "h-[48px]",
|
|
48
|
+
"x-large": "h-[52px]"
|
|
49
|
+
};
|
|
50
|
+
return sizes[props.size];
|
|
51
|
+
});
|
|
52
|
+
const size = computed(() => {
|
|
53
|
+
if (props.size === "tiny") {
|
|
54
|
+
return "font-body-small";
|
|
55
|
+
} else {
|
|
56
|
+
return "font-body-large";
|
|
57
|
+
}
|
|
58
|
+
});
|
|
59
|
+
</script>
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import type { ChipProps, ChipColor, ChipSize } from "@/types/components/chip";
|
|
2
|
+
declare var __VLS_1: {};
|
|
3
|
+
type __VLS_Slots = {} & {
|
|
4
|
+
default?: (props: typeof __VLS_1) => any;
|
|
5
|
+
};
|
|
6
|
+
declare const __VLS_base: import("vue").DefineComponent<ChipProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
7
|
+
closable: () => any;
|
|
8
|
+
}, string, import("vue").PublicProps, Readonly<ChipProps> & Readonly<{
|
|
9
|
+
onClosable?: (() => any) | undefined;
|
|
10
|
+
}>, {
|
|
11
|
+
color: ChipColor;
|
|
12
|
+
flat: boolean;
|
|
13
|
+
closable: boolean;
|
|
14
|
+
autoHeight: boolean;
|
|
15
|
+
size: ChipSize;
|
|
16
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
17
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
18
|
+
declare const _default: typeof __VLS_export;
|
|
19
|
+
export default _default;
|
|
20
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
21
|
+
new (): {
|
|
22
|
+
$slots: S;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
interface TypeItem {
|
|
2
|
+
label: string;
|
|
3
|
+
children: TypeItem[];
|
|
4
|
+
}
|
|
5
|
+
type __VLS_Props = {
|
|
6
|
+
items?: TypeItem[];
|
|
7
|
+
};
|
|
8
|
+
declare var __VLS_6: {
|
|
9
|
+
label: string;
|
|
10
|
+
item: TypeItem;
|
|
11
|
+
}, __VLS_8: {
|
|
12
|
+
items: TypeItem[];
|
|
13
|
+
}, __VLS_10: {
|
|
14
|
+
label: string;
|
|
15
|
+
item: TypeItem;
|
|
16
|
+
};
|
|
17
|
+
type __VLS_Slots = {} & {
|
|
18
|
+
title?: (props: typeof __VLS_6) => any;
|
|
19
|
+
} & {
|
|
20
|
+
children?: (props: typeof __VLS_8) => any;
|
|
21
|
+
} & {
|
|
22
|
+
'children-item'?: (props: typeof __VLS_10) => any;
|
|
23
|
+
};
|
|
24
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
25
|
+
items: TypeItem[];
|
|
26
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
27
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
28
|
+
declare const _default: typeof __VLS_export;
|
|
29
|
+
export default _default;
|
|
30
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
31
|
+
new (): {
|
|
32
|
+
$slots: S;
|
|
33
|
+
};
|
|
34
|
+
};
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="flex flex-col">
|
|
3
|
+
<div
|
|
4
|
+
v-for="(item, i_item) in props.items"
|
|
5
|
+
:key="i_item"
|
|
6
|
+
class="flex flex-col"
|
|
7
|
+
>
|
|
8
|
+
<div class="flex gap-[16px] select-none">
|
|
9
|
+
<div class="w-[20px] flex items-center justify-center relative">
|
|
10
|
+
<div class="h-full border-r-[2px] border-dashed border-cloud"></div>
|
|
11
|
+
<div
|
|
12
|
+
@click="handleShow(i_item)"
|
|
13
|
+
class="absolute bg-white text-primary cursor-pointer"
|
|
14
|
+
:style="{ top: toggleIconPosition(i_item) + 'px' }"
|
|
15
|
+
>
|
|
16
|
+
<Icon
|
|
17
|
+
:name="
|
|
18
|
+
!arrShow.includes(i_item) ? 'lucide:square-chevron-right' : 'lucide:square-chevron-down'
|
|
19
|
+
"
|
|
20
|
+
size="20"
|
|
21
|
+
/>
|
|
22
|
+
</div>
|
|
23
|
+
</div>
|
|
24
|
+
<div class="flex flex-col w-full mb-[16px]">
|
|
25
|
+
<div :ref="(el) => {
|
|
26
|
+
labelRef[i_item] = el;
|
|
27
|
+
}">
|
|
28
|
+
<slot name="title" :label="item.label" :item="item" />
|
|
29
|
+
</div>
|
|
30
|
+
<div
|
|
31
|
+
v-if="arrShow.includes(i_item)"
|
|
32
|
+
class="flex flex-col gap-[16px] mt-[16px] pl-[32px]"
|
|
33
|
+
>
|
|
34
|
+
<slot name="children" :items="item.children">
|
|
35
|
+
<div v-for="(cill, i_child) in item.children" :key="i_child">
|
|
36
|
+
<slot name="children-item" :label="cill.label" :item="cill" />
|
|
37
|
+
</div>
|
|
38
|
+
</slot>
|
|
39
|
+
</div>
|
|
40
|
+
</div>
|
|
41
|
+
</div>
|
|
42
|
+
</div>
|
|
43
|
+
</div>
|
|
44
|
+
</template>
|
|
45
|
+
|
|
46
|
+
<script setup>
|
|
47
|
+
import { ref } from "vue";
|
|
48
|
+
const props = defineProps({
|
|
49
|
+
items: { type: Array, required: false, default: () => [] }
|
|
50
|
+
});
|
|
51
|
+
const labelRef = ref([]);
|
|
52
|
+
const arrShow = ref([]);
|
|
53
|
+
const handleShow = (index) => {
|
|
54
|
+
if (arrShow.value.includes(index)) {
|
|
55
|
+
arrShow.value = arrShow.value.filter((item) => item !== index);
|
|
56
|
+
} else {
|
|
57
|
+
arrShow.value.push(index);
|
|
58
|
+
}
|
|
59
|
+
};
|
|
60
|
+
const toggleIconPosition = (index) => {
|
|
61
|
+
if (!labelRef.value[index]) return 0;
|
|
62
|
+
return labelRef.value[index].offsetHeight / 2 - 10;
|
|
63
|
+
};
|
|
64
|
+
</script>
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
interface TypeItem {
|
|
2
|
+
label: string;
|
|
3
|
+
children: TypeItem[];
|
|
4
|
+
}
|
|
5
|
+
type __VLS_Props = {
|
|
6
|
+
items?: TypeItem[];
|
|
7
|
+
};
|
|
8
|
+
declare var __VLS_6: {
|
|
9
|
+
label: string;
|
|
10
|
+
item: TypeItem;
|
|
11
|
+
}, __VLS_8: {
|
|
12
|
+
items: TypeItem[];
|
|
13
|
+
}, __VLS_10: {
|
|
14
|
+
label: string;
|
|
15
|
+
item: TypeItem;
|
|
16
|
+
};
|
|
17
|
+
type __VLS_Slots = {} & {
|
|
18
|
+
title?: (props: typeof __VLS_6) => any;
|
|
19
|
+
} & {
|
|
20
|
+
children?: (props: typeof __VLS_8) => any;
|
|
21
|
+
} & {
|
|
22
|
+
'children-item'?: (props: typeof __VLS_10) => any;
|
|
23
|
+
};
|
|
24
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
25
|
+
items: TypeItem[];
|
|
26
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
27
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
28
|
+
declare const _default: typeof __VLS_export;
|
|
29
|
+
export default _default;
|
|
30
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
31
|
+
new (): {
|
|
32
|
+
$slots: S;
|
|
33
|
+
};
|
|
34
|
+
};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
title?: string;
|
|
3
|
+
width?: number | string;
|
|
4
|
+
fullWidth?: boolean;
|
|
5
|
+
};
|
|
6
|
+
declare var __VLS_1: {}, __VLS_3: {}, __VLS_5: {}, __VLS_12: {};
|
|
7
|
+
type __VLS_Slots = {} & {
|
|
8
|
+
title?: (props: typeof __VLS_1) => any;
|
|
9
|
+
} & {
|
|
10
|
+
'title-text'?: (props: typeof __VLS_3) => any;
|
|
11
|
+
} & {
|
|
12
|
+
'title-toggle'?: (props: typeof __VLS_5) => any;
|
|
13
|
+
} & {
|
|
14
|
+
content?: (props: typeof __VLS_12) => any;
|
|
15
|
+
};
|
|
16
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
17
|
+
fullWidth: boolean;
|
|
18
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
19
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
20
|
+
declare const _default: typeof __VLS_export;
|
|
21
|
+
export default _default;
|
|
22
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
23
|
+
new (): {
|
|
24
|
+
$slots: S;
|
|
25
|
+
};
|
|
26
|
+
};
|