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,181 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="space-y-[4px]">
|
|
3
|
+
<div class="flex flex-wrap gap-[8px]">
|
|
4
|
+
<Draggable v-model="arrFiles">
|
|
5
|
+
<template #item="{ item, index }">
|
|
6
|
+
<div class="relative">
|
|
7
|
+
<video
|
|
8
|
+
v-if="item.type.startsWith('video')"
|
|
9
|
+
:src="createBlobUrl(item)"
|
|
10
|
+
class="rounded-[4px] object-cover w-[98px] h-[98px]"
|
|
11
|
+
/>
|
|
12
|
+
<Image
|
|
13
|
+
v-else-if="item.type.startsWith('image')"
|
|
14
|
+
width="98"
|
|
15
|
+
height="98"
|
|
16
|
+
:src="createBlobUrl(item)"
|
|
17
|
+
class="rounded-[4px]"
|
|
18
|
+
/>
|
|
19
|
+
<div
|
|
20
|
+
v-else
|
|
21
|
+
class="w-[98px] h-[98px] rounded-[4px] flex justify-center items-center"
|
|
22
|
+
>
|
|
23
|
+
<Icon
|
|
24
|
+
name="material-symbols:lab-profile-rounded"
|
|
25
|
+
size="34"
|
|
26
|
+
></Icon>
|
|
27
|
+
</div>
|
|
28
|
+
<div
|
|
29
|
+
class="absolute top-[2px] right-[2px] p-[1px] w-[20px] h-[20px] bg-white rounded-full cursor-pointer flex justify-center items-center"
|
|
30
|
+
@click="onDeleteImage(index)"
|
|
31
|
+
>
|
|
32
|
+
<Icon name="gravity-ui:xmark" size="16"></Icon>
|
|
33
|
+
</div>
|
|
34
|
+
</div>
|
|
35
|
+
</template>
|
|
36
|
+
</Draggable>
|
|
37
|
+
|
|
38
|
+
<label
|
|
39
|
+
v-if="props.limit == 0 || arrFiles.length < props.limit"
|
|
40
|
+
:class="[
|
|
41
|
+
'relative flex flex-col gap-[4px] justify-center items-center cursor-pointer',
|
|
42
|
+
'rounded-[4px] border-dashed',
|
|
43
|
+
actionOnDrop
|
|
44
|
+
]"
|
|
45
|
+
:style="{
|
|
46
|
+
width: props.fullWidth ? '100%' : props.width,
|
|
47
|
+
height: props.fullHeight ? '100%' : props.height
|
|
48
|
+
}"
|
|
49
|
+
@dragover.prevent="onDragOver"
|
|
50
|
+
@dragenter.prevent
|
|
51
|
+
@dragleave.prevent="onDragLeave"
|
|
52
|
+
@drop.prevent="onSelectFile"
|
|
53
|
+
>
|
|
54
|
+
<input
|
|
55
|
+
class="absolute w-full h-full cursor-pointer hidden"
|
|
56
|
+
type="file"
|
|
57
|
+
:accept="props.accept"
|
|
58
|
+
multiple
|
|
59
|
+
@change="onSelectFile"
|
|
60
|
+
/>
|
|
61
|
+
<slot name="default" :label="label">
|
|
62
|
+
<div
|
|
63
|
+
class="flex flex-col gap-[4px] justify-center items-center w-[98px] h-[98px] rounded-[4px]"
|
|
64
|
+
>
|
|
65
|
+
<Icon
|
|
66
|
+
:class="isDrag ? 'text-primary' : 'text-gray'"
|
|
67
|
+
:name="labelIcon"
|
|
68
|
+
size="34"
|
|
69
|
+
></Icon>
|
|
70
|
+
<div class="font-body-large">{{ `\u0E40\u0E1E\u0E34\u0E48\u0E21${label}` }}</div>
|
|
71
|
+
</div>
|
|
72
|
+
</slot>
|
|
73
|
+
</label>
|
|
74
|
+
</div>
|
|
75
|
+
|
|
76
|
+
<div
|
|
77
|
+
v-if="!props.disabledErrorMessage && errorMessage"
|
|
78
|
+
class="font-body-small text-error"
|
|
79
|
+
>
|
|
80
|
+
<slot name="error">
|
|
81
|
+
{{ errorMessage }}
|
|
82
|
+
</slot>
|
|
83
|
+
</div>
|
|
84
|
+
</div>
|
|
85
|
+
</template>
|
|
86
|
+
|
|
87
|
+
<script setup>
|
|
88
|
+
import { ref, computed, watch } from "vue";
|
|
89
|
+
import { useField } from "vee-validate";
|
|
90
|
+
const emit = defineEmits(["select"]);
|
|
91
|
+
const props = defineProps({
|
|
92
|
+
name: { type: String, required: false, default: "input-files" },
|
|
93
|
+
accept: { type: String, required: false, default: "*" },
|
|
94
|
+
limit: { type: Number, required: false, default: 0 },
|
|
95
|
+
label: { type: String, required: false, default: "" },
|
|
96
|
+
labelIcon: { type: String, required: false, default: "" },
|
|
97
|
+
width: { type: [Number, String], required: false, default: 98 },
|
|
98
|
+
height: { type: [Number, String], required: false, default: 98 },
|
|
99
|
+
fullWidth: { type: Boolean, required: false, default: false },
|
|
100
|
+
fullHeight: { type: Boolean, required: false, default: false },
|
|
101
|
+
disabledDrop: { type: Boolean, required: false, default: false },
|
|
102
|
+
disabledErrorMessage: { type: Boolean, required: false, default: false }
|
|
103
|
+
});
|
|
104
|
+
const isDrag = ref(false);
|
|
105
|
+
const { errorMessage, setErrors } = useField(props.name);
|
|
106
|
+
const arrFiles = defineModel({ type: Array, ...{
|
|
107
|
+
default: []
|
|
108
|
+
} });
|
|
109
|
+
const createBlobUrl = (file) => {
|
|
110
|
+
return URL.createObjectURL(file);
|
|
111
|
+
};
|
|
112
|
+
const label = computed(() => {
|
|
113
|
+
if (props.label) return props.label;
|
|
114
|
+
if (props.accept.startsWith("image")) {
|
|
115
|
+
return "\u0E23\u0E39\u0E1B\u0E20\u0E32\u0E1E";
|
|
116
|
+
} else if (props.accept.startsWith("video")) {
|
|
117
|
+
return "\u0E27\u0E35\u0E14\u0E35\u0E42\u0E2D";
|
|
118
|
+
} else {
|
|
119
|
+
return "\u0E44\u0E1F\u0E25\u0E4C";
|
|
120
|
+
}
|
|
121
|
+
});
|
|
122
|
+
const actionOnDrop = computed(() => {
|
|
123
|
+
if (isDrag.value) {
|
|
124
|
+
return "bg-info border-[2px] border-primary text-primary";
|
|
125
|
+
} else {
|
|
126
|
+
return "bg-mercury border-[1px] border-cloud text-black";
|
|
127
|
+
}
|
|
128
|
+
});
|
|
129
|
+
const labelIcon = computed(() => {
|
|
130
|
+
if (props.labelIcon) return props.labelIcon;
|
|
131
|
+
if (props.accept.startsWith("image")) {
|
|
132
|
+
return "lucide:image-plus";
|
|
133
|
+
} else if (props.accept.startsWith("video")) {
|
|
134
|
+
return "lucide:video";
|
|
135
|
+
} else {
|
|
136
|
+
return "lucide:file-plus";
|
|
137
|
+
}
|
|
138
|
+
});
|
|
139
|
+
const onSelectFile = (event) => {
|
|
140
|
+
isDrag.value = false;
|
|
141
|
+
let input = null;
|
|
142
|
+
let files = [];
|
|
143
|
+
if ("dataTransfer" in event && event.dataTransfer?.files) {
|
|
144
|
+
files = Array.from(event.dataTransfer.files);
|
|
145
|
+
} else {
|
|
146
|
+
input = event.target;
|
|
147
|
+
files = input.files ? Array.from(input.files) : [];
|
|
148
|
+
}
|
|
149
|
+
setErrors([]);
|
|
150
|
+
if (!files) return;
|
|
151
|
+
if (props.limit > 0 && arrFiles.value.length + files.length > props.limit) {
|
|
152
|
+
setErrors([
|
|
153
|
+
`\u0E04\u0E38\u0E13\u0E2D\u0E31\u0E1B\u0E42\u0E2B\u0E25\u0E14${label.value}\u0E21\u0E32\u0E01\u0E40\u0E01\u0E34\u0E19\u0E44\u0E1B \u0E04\u0E38\u0E13\u0E2A\u0E32\u0E21\u0E32\u0E23\u0E16\u0E2D\u0E31\u0E1B\u0E42\u0E2B\u0E25\u0E14\u0E44\u0E14\u0E49\u0E2A\u0E39\u0E07\u0E2A\u0E38\u0E14 ${props.limit} ${label.value}`
|
|
154
|
+
]);
|
|
155
|
+
return;
|
|
156
|
+
}
|
|
157
|
+
arrFiles.value.push(...files);
|
|
158
|
+
if (input) input.value = "";
|
|
159
|
+
emit("select", arrFiles.value);
|
|
160
|
+
};
|
|
161
|
+
const onDeleteImage = (index) => {
|
|
162
|
+
arrFiles.value?.splice(index, 1);
|
|
163
|
+
};
|
|
164
|
+
const onDragOver = () => {
|
|
165
|
+
isDrag.value = true;
|
|
166
|
+
};
|
|
167
|
+
const onDragLeave = () => {
|
|
168
|
+
isDrag.value = false;
|
|
169
|
+
};
|
|
170
|
+
const checkLimitFile = () => {
|
|
171
|
+
if (props.limit > 0 && arrFiles.value.length > props.limit) {
|
|
172
|
+
setErrors([
|
|
173
|
+
`\u0E04\u0E38\u0E13\u0E2D\u0E31\u0E1B\u0E42\u0E2B\u0E25\u0E14${label.value}\u0E21\u0E32\u0E01\u0E40\u0E01\u0E34\u0E19\u0E44\u0E1B \u0E04\u0E38\u0E13\u0E2A\u0E32\u0E21\u0E32\u0E23\u0E16\u0E2D\u0E31\u0E1B\u0E42\u0E2B\u0E25\u0E14\u0E44\u0E14\u0E49\u0E2A\u0E39\u0E07\u0E2A\u0E38\u0E14 ${props.limit} ${label.value}`
|
|
174
|
+
]);
|
|
175
|
+
return;
|
|
176
|
+
} else {
|
|
177
|
+
setErrors([]);
|
|
178
|
+
}
|
|
179
|
+
};
|
|
180
|
+
watch(arrFiles, checkLimitFile, { immediate: true, deep: true });
|
|
181
|
+
</script>
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import type { InputFile } from "@/types/components/input/input-file";
|
|
2
|
+
type __VLS_Props = InputFile;
|
|
3
|
+
type __VLS_ModelProps = {
|
|
4
|
+
modelValue?: Array<File>;
|
|
5
|
+
};
|
|
6
|
+
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
7
|
+
declare var __VLS_22: {
|
|
8
|
+
label: string;
|
|
9
|
+
}, __VLS_29: {};
|
|
10
|
+
type __VLS_Slots = {} & {
|
|
11
|
+
default?: (props: typeof __VLS_22) => any;
|
|
12
|
+
} & {
|
|
13
|
+
error?: (props: typeof __VLS_29) => any;
|
|
14
|
+
};
|
|
15
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
16
|
+
"update:modelValue": (value: File[]) => any;
|
|
17
|
+
} & {
|
|
18
|
+
select: (files: File[]) => any;
|
|
19
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
20
|
+
onSelect?: ((files: File[]) => any) | undefined;
|
|
21
|
+
"onUpdate:modelValue"?: ((value: File[]) => any) | undefined;
|
|
22
|
+
}>, {
|
|
23
|
+
width: number | string;
|
|
24
|
+
height: number | string;
|
|
25
|
+
fullWidth: boolean;
|
|
26
|
+
fullHeight: boolean;
|
|
27
|
+
label: string;
|
|
28
|
+
name: string;
|
|
29
|
+
limit: number;
|
|
30
|
+
accept: string;
|
|
31
|
+
labelIcon: string;
|
|
32
|
+
disabledDrop: boolean;
|
|
33
|
+
disabledErrorMessage: boolean;
|
|
34
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
35
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
36
|
+
declare const _default: typeof __VLS_export;
|
|
37
|
+
export default _default;
|
|
38
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
39
|
+
new (): {
|
|
40
|
+
$slots: S;
|
|
41
|
+
};
|
|
42
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { InputLinkItem, InputLinkProps } from "@/types/components/input/input-link";
|
|
2
|
+
type __VLS_Props = InputLinkProps;
|
|
3
|
+
type __VLS_ModelProps = {
|
|
4
|
+
modelValue?: InputLinkItem[];
|
|
5
|
+
};
|
|
6
|
+
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
7
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
8
|
+
"update:modelValue": (value: InputLinkItem[]) => any;
|
|
9
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
10
|
+
"onUpdate:modelValue"?: ((value: InputLinkItem[]) => any) | undefined;
|
|
11
|
+
}>, {
|
|
12
|
+
name: string;
|
|
13
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
14
|
+
declare const _default: typeof __VLS_export;
|
|
15
|
+
export default _default;
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="relative">
|
|
3
|
+
<div class="font-body-large-prominent text-gray">ช่องทางการติดต่อ</div>
|
|
4
|
+
<ul class="flex flex-col gap-[16px]">
|
|
5
|
+
<li
|
|
6
|
+
v-for="(link, i) in linkValue"
|
|
7
|
+
:key="i"
|
|
8
|
+
class="flex items-start gap-[8px] font-body-large"
|
|
9
|
+
>
|
|
10
|
+
<InputSelect
|
|
11
|
+
:name="`${props.name}[${i}]name`"
|
|
12
|
+
width="172"
|
|
13
|
+
:items="listOption"
|
|
14
|
+
@select="onSelectSocial(i)"
|
|
15
|
+
v-model="link.name"
|
|
16
|
+
/>
|
|
17
|
+
<div class="flex-1">
|
|
18
|
+
<InputTextField
|
|
19
|
+
:name="`${props.name}[${i}]link`"
|
|
20
|
+
full-width
|
|
21
|
+
:placeholder="listSocial.find((f) => f.name === link.name)?.example"
|
|
22
|
+
:rules="(v) => rules(v, link.name)"
|
|
23
|
+
@change="onChangeLink(link, i)"
|
|
24
|
+
v-model="link.link"
|
|
25
|
+
/>
|
|
26
|
+
</div>
|
|
27
|
+
</li>
|
|
28
|
+
<li>
|
|
29
|
+
<Button
|
|
30
|
+
type="text"
|
|
31
|
+
variant="primary"
|
|
32
|
+
disabled-padding
|
|
33
|
+
prepend-icon="lucide:plus"
|
|
34
|
+
@click="addLink"
|
|
35
|
+
>
|
|
36
|
+
เพิ่มช่องทาง
|
|
37
|
+
</Button>
|
|
38
|
+
</li>
|
|
39
|
+
</ul>
|
|
40
|
+
</div>
|
|
41
|
+
</template>
|
|
42
|
+
|
|
43
|
+
<script setup>
|
|
44
|
+
import { computed } from "vue";
|
|
45
|
+
const props = defineProps({
|
|
46
|
+
name: { type: String, required: false, default: "link" }
|
|
47
|
+
});
|
|
48
|
+
const listSocial = [
|
|
49
|
+
{ name: "Email", example: "example@email.com" },
|
|
50
|
+
{ name: "Facebook", example: "https://facebook.com/username" },
|
|
51
|
+
{ name: "Instagram", example: "https://instagram.com/username" },
|
|
52
|
+
{ name: "Line", example: "https://line.me/ti/p/~@line-id" },
|
|
53
|
+
{ name: "LinkedIn", example: "https://linkedin.com/in/username" },
|
|
54
|
+
{ name: "Pinterest", example: "https://pinterest.com/username" },
|
|
55
|
+
{ name: "Snapchat", example: "https://snapchat.com/add/username" },
|
|
56
|
+
{ name: "Threads", example: "https://threads.net/@username" },
|
|
57
|
+
{ name: "TikTok", example: "https://tiktok.com/@username" },
|
|
58
|
+
{ name: "Tumblr", example: "https://username.tumblr.com" },
|
|
59
|
+
{ name: "Website", example: "https://example.com" },
|
|
60
|
+
{ name: "WhatsApp", example: "https://wa.me/1234567890" },
|
|
61
|
+
{ name: "X", example: "https://x.com/username" },
|
|
62
|
+
{ name: "YouTube", example: "https://youtube.com/@username" }
|
|
63
|
+
];
|
|
64
|
+
const linkValue = defineModel({ type: Array, ...{
|
|
65
|
+
default: () => []
|
|
66
|
+
} });
|
|
67
|
+
const rules = (v, link) => {
|
|
68
|
+
if (link === "Email") {
|
|
69
|
+
const regex2 = /^[^\s@]+@[^\s@]+\.[^\s@]+$/;
|
|
70
|
+
if (!regex2.test(v)) {
|
|
71
|
+
return "\u0E01\u0E23\u0E38\u0E13\u0E32\u0E01\u0E23\u0E2D\u0E01\u0E2D\u0E35\u0E40\u0E21\u0E25\u0E17\u0E35\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07";
|
|
72
|
+
}
|
|
73
|
+
return;
|
|
74
|
+
}
|
|
75
|
+
const regex = /^https?:\/\/[^\s/$.?#].[^\s]*$/i;
|
|
76
|
+
return regex.test(v) || "\u0E23\u0E39\u0E1B\u0E41\u0E1A\u0E1A\u0E25\u0E34\u0E07\u0E04\u0E4C\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07";
|
|
77
|
+
};
|
|
78
|
+
const listOption = computed(() => {
|
|
79
|
+
const arr = listSocial.map((item) => {
|
|
80
|
+
return {
|
|
81
|
+
icon: `pukaad-social:${item.name}`,
|
|
82
|
+
value: item.name,
|
|
83
|
+
example: item.example
|
|
84
|
+
};
|
|
85
|
+
});
|
|
86
|
+
return arr;
|
|
87
|
+
});
|
|
88
|
+
const addLink = () => {
|
|
89
|
+
const obj = listOption.value[0];
|
|
90
|
+
const link = {
|
|
91
|
+
name: String(obj.value),
|
|
92
|
+
link: ""
|
|
93
|
+
};
|
|
94
|
+
linkValue.value.push(link);
|
|
95
|
+
};
|
|
96
|
+
const onSelectSocial = (index) => {
|
|
97
|
+
if (linkValue.value[index]) {
|
|
98
|
+
linkValue.value[index].link = String("");
|
|
99
|
+
}
|
|
100
|
+
};
|
|
101
|
+
const onChangeLink = (option, index) => {
|
|
102
|
+
if (option.link === "") {
|
|
103
|
+
linkValue.value.splice(index, 1);
|
|
104
|
+
}
|
|
105
|
+
};
|
|
106
|
+
</script>
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { InputLinkItem, InputLinkProps } from "@/types/components/input/input-link";
|
|
2
|
+
type __VLS_Props = InputLinkProps;
|
|
3
|
+
type __VLS_ModelProps = {
|
|
4
|
+
modelValue?: InputLinkItem[];
|
|
5
|
+
};
|
|
6
|
+
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
7
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
8
|
+
"update:modelValue": (value: InputLinkItem[]) => any;
|
|
9
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
10
|
+
"onUpdate:modelValue"?: ((value: InputLinkItem[]) => any) | undefined;
|
|
11
|
+
}>, {
|
|
12
|
+
name: string;
|
|
13
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
14
|
+
declare const _default: typeof __VLS_export;
|
|
15
|
+
export default _default;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import type { InputMediaProps } from "@/types/components/input/input-media";
|
|
2
|
+
type __VLS_Props = InputMediaProps;
|
|
3
|
+
type __VLS_ModelProps = {
|
|
4
|
+
modelValue?: Array<File>;
|
|
5
|
+
"thumbnail"?: File | undefined;
|
|
6
|
+
};
|
|
7
|
+
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
8
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
9
|
+
"update:modelValue": (value: File[]) => any;
|
|
10
|
+
"update:thumbnail": (value: File | undefined) => any;
|
|
11
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
12
|
+
"onUpdate:modelValue"?: ((value: File[]) => any) | undefined;
|
|
13
|
+
"onUpdate:thumbnail"?: ((value: File | undefined) => any) | undefined;
|
|
14
|
+
}>, {
|
|
15
|
+
fullWidth: boolean;
|
|
16
|
+
fullHeight: boolean;
|
|
17
|
+
name: string;
|
|
18
|
+
limitImage: number;
|
|
19
|
+
limitVideo: number;
|
|
20
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
21
|
+
declare const _default: typeof __VLS_export;
|
|
22
|
+
export default _default;
|
|
@@ -0,0 +1,141 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<InputFile
|
|
3
|
+
v-if="files.length == 0"
|
|
4
|
+
:name="props.name"
|
|
5
|
+
:accept="`${acceptImage},${acceptVideo}`"
|
|
6
|
+
full-width
|
|
7
|
+
full-height
|
|
8
|
+
:limit="
|
|
9
|
+
props.limitImage > props.limitVideo ? props.limitImage : props.limitVideo
|
|
10
|
+
"
|
|
11
|
+
@select="onSelect"
|
|
12
|
+
v-model="files"
|
|
13
|
+
>
|
|
14
|
+
<div
|
|
15
|
+
class="flex flex-col justify-center items-center gap-[4px] p-[10px]"
|
|
16
|
+
:style="{
|
|
17
|
+
width: props.fullWidth ? '100%' : props.width,
|
|
18
|
+
height: props.fullHeight ? '100%' : props.height
|
|
19
|
+
}"
|
|
20
|
+
>
|
|
21
|
+
<Icon name="fa6-solid:cloud-arrow-up" size="24" />
|
|
22
|
+
<div class="font-body-large">เพิ่มรูปภาพ/วิดีโอ</div>
|
|
23
|
+
<div class="font-body-small">หรือลากและวาง</div>
|
|
24
|
+
</div>
|
|
25
|
+
</InputFile>
|
|
26
|
+
|
|
27
|
+
<template v-else>
|
|
28
|
+
<InputFile
|
|
29
|
+
v-if="fileType == 'image'"
|
|
30
|
+
:name="props.name"
|
|
31
|
+
:accept="acceptImage"
|
|
32
|
+
:limit="props.limitImage"
|
|
33
|
+
v-model="files"
|
|
34
|
+
/>
|
|
35
|
+
<InputFile
|
|
36
|
+
v-if="fileType == 'video'"
|
|
37
|
+
:name="props.name"
|
|
38
|
+
:accept="acceptVideo"
|
|
39
|
+
:limit="props.limitVideo"
|
|
40
|
+
v-model="files"
|
|
41
|
+
/>
|
|
42
|
+
</template>
|
|
43
|
+
</template>
|
|
44
|
+
|
|
45
|
+
<script setup>
|
|
46
|
+
import { ref, watch } from "vue";
|
|
47
|
+
import { useNuxtApp } from "nuxt/app";
|
|
48
|
+
const { $alert } = useNuxtApp();
|
|
49
|
+
const props = defineProps({
|
|
50
|
+
name: { type: String, required: false, default: "input-media" },
|
|
51
|
+
width: { type: [Number, String], required: false },
|
|
52
|
+
height: { type: [Number, String], required: false },
|
|
53
|
+
fullWidth: { type: Boolean, required: false, default: true },
|
|
54
|
+
fullHeight: { type: Boolean, required: false, default: true },
|
|
55
|
+
limitImage: { type: Number, required: false, default: 4 },
|
|
56
|
+
limitVideo: { type: Number, required: false, default: 1 }
|
|
57
|
+
});
|
|
58
|
+
const acceptImage = "image/jpg,image/jpeg,image/png,image/webp,image/bmp,image/gif";
|
|
59
|
+
const acceptVideo = "video/mp4,video/quicktime,video/x-ms-wmv";
|
|
60
|
+
const files = defineModel({ type: Array, ...{
|
|
61
|
+
default: []
|
|
62
|
+
} });
|
|
63
|
+
const thumbnail = defineModel("thumbnail", { type: null, ...{
|
|
64
|
+
default: null
|
|
65
|
+
} });
|
|
66
|
+
const fileType = ref();
|
|
67
|
+
const onSelect = async (files2) => {
|
|
68
|
+
let countImageFile = 0;
|
|
69
|
+
let countVideoFile = 0;
|
|
70
|
+
let countNotAllowedFile = 0;
|
|
71
|
+
for (const file of files2) {
|
|
72
|
+
if (acceptImage.includes(file.type)) {
|
|
73
|
+
countImageFile++;
|
|
74
|
+
} else if (acceptVideo.includes(file.type)) {
|
|
75
|
+
countVideoFile++;
|
|
76
|
+
} else {
|
|
77
|
+
countNotAllowedFile++;
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
if (countNotAllowedFile > 0 || countImageFile > 0 && countVideoFile > 0) {
|
|
81
|
+
files2.splice(0, files2.length);
|
|
82
|
+
$alert.show({
|
|
83
|
+
variant: "error",
|
|
84
|
+
title: "\u0E01\u0E23\u0E38\u0E13\u0E32\u0E40\u0E1E\u0E34\u0E48\u0E21\u0E40\u0E09\u0E1E\u0E32\u0E30\u0E23\u0E39\u0E1B\u0E20\u0E32\u0E1E\u0E17\u0E31\u0E49\u0E07\u0E2B\u0E21\u0E14 \u0E2B\u0E23\u0E37\u0E2D\u0E27\u0E34\u0E14\u0E35\u0E42\u0E2D\u0E40\u0E1E\u0E35\u0E22\u0E07\u0E44\u0E1F\u0E25\u0E4C\u0E40\u0E14\u0E35\u0E22\u0E27\u0E40\u0E17\u0E48\u0E32\u0E19\u0E31\u0E49\u0E19"
|
|
85
|
+
});
|
|
86
|
+
} else {
|
|
87
|
+
if (countImageFile > 0 && countVideoFile == 0) {
|
|
88
|
+
fileType.value = "image";
|
|
89
|
+
thumbnail.value = files2[0];
|
|
90
|
+
}
|
|
91
|
+
if (countVideoFile > 0 && countImageFile == 0) {
|
|
92
|
+
fileType.value = "video";
|
|
93
|
+
thumbnail.value = await getVideoThumbnailVideo(files2[0]);
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
};
|
|
97
|
+
function getVideoThumbnailVideo(file, atSecond = 1) {
|
|
98
|
+
return new Promise((resolve, reject) => {
|
|
99
|
+
const video = document.createElement("video");
|
|
100
|
+
video.preload = "metadata";
|
|
101
|
+
video.muted = true;
|
|
102
|
+
video.playsInline = true;
|
|
103
|
+
video.src = URL.createObjectURL(file);
|
|
104
|
+
video.addEventListener("loadeddata", () => {
|
|
105
|
+
video.currentTime = atSecond;
|
|
106
|
+
});
|
|
107
|
+
video.addEventListener("seeked", () => {
|
|
108
|
+
const canvas = document.createElement("canvas");
|
|
109
|
+
canvas.width = video.videoWidth;
|
|
110
|
+
canvas.height = video.videoHeight;
|
|
111
|
+
const ctx = canvas.getContext("2d");
|
|
112
|
+
ctx?.drawImage(video, 0, 0, canvas.width, canvas.height);
|
|
113
|
+
canvas.toBlob((blob) => {
|
|
114
|
+
if (!blob) {
|
|
115
|
+
reject(new Error("Failed to create thumbnail blob"));
|
|
116
|
+
return;
|
|
117
|
+
}
|
|
118
|
+
const thumbnailFile = new File([blob], "thumbnail.png", {
|
|
119
|
+
type: "image/png"
|
|
120
|
+
});
|
|
121
|
+
URL.revokeObjectURL(video.src);
|
|
122
|
+
resolve(thumbnailFile);
|
|
123
|
+
}, "image/png");
|
|
124
|
+
});
|
|
125
|
+
video.addEventListener("error", () => {
|
|
126
|
+
reject(new Error("Failed to load video"));
|
|
127
|
+
});
|
|
128
|
+
});
|
|
129
|
+
}
|
|
130
|
+
watch(
|
|
131
|
+
files,
|
|
132
|
+
async (v) => {
|
|
133
|
+
if (fileType.value === "image") {
|
|
134
|
+
thumbnail.value = v[0];
|
|
135
|
+
}
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
deep: true
|
|
139
|
+
}
|
|
140
|
+
);
|
|
141
|
+
</script>
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import type { InputMediaProps } from "@/types/components/input/input-media";
|
|
2
|
+
type __VLS_Props = InputMediaProps;
|
|
3
|
+
type __VLS_ModelProps = {
|
|
4
|
+
modelValue?: Array<File>;
|
|
5
|
+
"thumbnail"?: File | undefined;
|
|
6
|
+
};
|
|
7
|
+
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
8
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
9
|
+
"update:modelValue": (value: File[]) => any;
|
|
10
|
+
"update:thumbnail": (value: File | undefined) => any;
|
|
11
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
12
|
+
"onUpdate:modelValue"?: ((value: File[]) => any) | undefined;
|
|
13
|
+
"onUpdate:thumbnail"?: ((value: File | undefined) => any) | undefined;
|
|
14
|
+
}>, {
|
|
15
|
+
fullWidth: boolean;
|
|
16
|
+
fullHeight: boolean;
|
|
17
|
+
name: string;
|
|
18
|
+
limitImage: number;
|
|
19
|
+
limitVideo: number;
|
|
20
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
21
|
+
declare const _default: typeof __VLS_export;
|
|
22
|
+
export default _default;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import type { InputTextFieldProps } from "./input-text-field.vue.js";
|
|
2
|
+
export interface InputPasswordProps extends InputTextFieldProps {
|
|
3
|
+
new?: boolean;
|
|
4
|
+
disabledForgotPassword?: boolean;
|
|
5
|
+
}
|
|
6
|
+
type __VLS_Props = InputPasswordProps;
|
|
7
|
+
type __VLS_ModelProps = {
|
|
8
|
+
modelValue?: string;
|
|
9
|
+
};
|
|
10
|
+
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
11
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
12
|
+
"update:modelValue": (value: string | undefined) => any;
|
|
13
|
+
} & {
|
|
14
|
+
forgotPassword: (event: Event) => any;
|
|
15
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
16
|
+
"onUpdate:modelValue"?: ((value: string | undefined) => any) | undefined;
|
|
17
|
+
onForgotPassword?: ((event: Event) => any) | undefined;
|
|
18
|
+
}>, {
|
|
19
|
+
id: string;
|
|
20
|
+
name: string;
|
|
21
|
+
disabledForgotPassword: boolean;
|
|
22
|
+
new: boolean;
|
|
23
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
24
|
+
declare const _default: typeof __VLS_export;
|
|
25
|
+
export default _default;
|