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,111 @@
|
|
|
1
|
+
import { defineNuxtPlugin } from "nuxt/app";
|
|
2
|
+
import { createApp, h } from "vue";
|
|
3
|
+
import {
|
|
4
|
+
AlertDialog,
|
|
5
|
+
AlertDialogContent,
|
|
6
|
+
AlertDialogHeader,
|
|
7
|
+
AlertDialogTitle,
|
|
8
|
+
AlertDialogDescription,
|
|
9
|
+
AlertDialogFooter,
|
|
10
|
+
AlertDialogCancel,
|
|
11
|
+
AlertDialogAction
|
|
12
|
+
} from "@/runtime/components/ui/alert-dialog";
|
|
13
|
+
import Icon from "@/runtime/components/icons.vue";
|
|
14
|
+
class Alert {
|
|
15
|
+
show(options = {}) {
|
|
16
|
+
const response = {
|
|
17
|
+
isCanceled: false,
|
|
18
|
+
isConfirmed: false
|
|
19
|
+
};
|
|
20
|
+
const {
|
|
21
|
+
type = "success",
|
|
22
|
+
confirmText = "\u0E15\u0E01\u0E25\u0E07",
|
|
23
|
+
cancelText = "\u0E22\u0E01\u0E40\u0E25\u0E34\u0E01",
|
|
24
|
+
showCancelBtn = false
|
|
25
|
+
} = options;
|
|
26
|
+
return new Promise((resolve) => {
|
|
27
|
+
const app = createApp({
|
|
28
|
+
setup() {
|
|
29
|
+
const onCanceled = () => {
|
|
30
|
+
app.unmount();
|
|
31
|
+
resolve({ ...response, isCanceled: true });
|
|
32
|
+
};
|
|
33
|
+
const onConfirmed = () => {
|
|
34
|
+
app.unmount();
|
|
35
|
+
resolve({ ...response, isConfirmed: true });
|
|
36
|
+
};
|
|
37
|
+
return () => h(
|
|
38
|
+
AlertDialog,
|
|
39
|
+
{
|
|
40
|
+
open: true
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
default: () => h(AlertDialogContent, null, {
|
|
44
|
+
default: () => [
|
|
45
|
+
h(AlertDialogHeader, null, {
|
|
46
|
+
default: () => h(
|
|
47
|
+
"div",
|
|
48
|
+
{
|
|
49
|
+
class: "flex gap-2"
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
default: () => [
|
|
53
|
+
h(Icon, {
|
|
54
|
+
class: options.type === "success" ? "text-success" : options.type === "warning" ? "text-warning" : "text-destructive",
|
|
55
|
+
name: options.type === "success" ? "tabler:circle-check-filled" : options.type === "warning" ? "gravity-ui:circle-question-fill" : "gravity-ui:circle-exclamation-fill",
|
|
56
|
+
size: 24
|
|
57
|
+
}),
|
|
58
|
+
h("div", null, {
|
|
59
|
+
default: () => [
|
|
60
|
+
h(AlertDialogTitle, () => options?.title),
|
|
61
|
+
h(
|
|
62
|
+
AlertDialogDescription,
|
|
63
|
+
() => options?.description
|
|
64
|
+
)
|
|
65
|
+
]
|
|
66
|
+
})
|
|
67
|
+
]
|
|
68
|
+
}
|
|
69
|
+
)
|
|
70
|
+
}),
|
|
71
|
+
h(AlertDialogFooter, null, {
|
|
72
|
+
default: () => [
|
|
73
|
+
showCancelBtn && h(
|
|
74
|
+
AlertDialogCancel,
|
|
75
|
+
{
|
|
76
|
+
onClick: onCanceled
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
default: () => cancelText
|
|
80
|
+
}
|
|
81
|
+
),
|
|
82
|
+
h(
|
|
83
|
+
AlertDialogAction,
|
|
84
|
+
{
|
|
85
|
+
onClick: onConfirmed
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
default: () => confirmText
|
|
89
|
+
}
|
|
90
|
+
)
|
|
91
|
+
]
|
|
92
|
+
})
|
|
93
|
+
]
|
|
94
|
+
})
|
|
95
|
+
}
|
|
96
|
+
);
|
|
97
|
+
}
|
|
98
|
+
});
|
|
99
|
+
const div = document.createElement("div");
|
|
100
|
+
document.body.appendChild(div);
|
|
101
|
+
app.mount(div);
|
|
102
|
+
});
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
export default defineNuxtPlugin(() => {
|
|
106
|
+
return {
|
|
107
|
+
provide: {
|
|
108
|
+
alert: new Alert()
|
|
109
|
+
}
|
|
110
|
+
};
|
|
111
|
+
});
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { defineNuxtPlugin } from "nuxt/app";
|
|
2
|
+
import dayjs from "dayjs";
|
|
3
|
+
import buddhistEra from "dayjs/plugin/buddhistEra";
|
|
4
|
+
import minMax from "dayjs/plugin/minMax";
|
|
5
|
+
import updateLocale from "dayjs/plugin/updateLocale";
|
|
6
|
+
import duration from "dayjs/plugin/duration";
|
|
7
|
+
import "dayjs/locale/th";
|
|
8
|
+
export default defineNuxtPlugin(() => {
|
|
9
|
+
dayjs.extend(updateLocale);
|
|
10
|
+
dayjs.extend(buddhistEra);
|
|
11
|
+
dayjs.extend(minMax);
|
|
12
|
+
dayjs.extend(duration);
|
|
13
|
+
dayjs.locale("th");
|
|
14
|
+
return {
|
|
15
|
+
provide: {
|
|
16
|
+
dayjs
|
|
17
|
+
}
|
|
18
|
+
};
|
|
19
|
+
});
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
import { defineNuxtPlugin } from "nuxt/app";
|
|
2
|
+
import { createApp, h } from "vue";
|
|
3
|
+
import Icons from "@/runtime/components/icons.vue";
|
|
4
|
+
export default defineNuxtPlugin((_nuxtApp) => {
|
|
5
|
+
class LoadingPage {
|
|
6
|
+
static container = null;
|
|
7
|
+
appInstance = null;
|
|
8
|
+
loadingElement = null;
|
|
9
|
+
initContainer() {
|
|
10
|
+
if (typeof window !== "undefined") {
|
|
11
|
+
LoadingPage.container = document.createElement("ul");
|
|
12
|
+
document.body.appendChild(LoadingPage.container);
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
constructor() {
|
|
16
|
+
if (!LoadingPage.container) {
|
|
17
|
+
this.initContainer();
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
show() {
|
|
21
|
+
const app = createApp({
|
|
22
|
+
setup() {
|
|
23
|
+
return () => h(
|
|
24
|
+
"div",
|
|
25
|
+
{
|
|
26
|
+
class: "fixed top-0 left-0 right-0 bottom-0 z-loading-page flex flex-col items-center justify-center h-screen w-screen bg-white"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
default: () => [
|
|
30
|
+
h(
|
|
31
|
+
"div",
|
|
32
|
+
{
|
|
33
|
+
class: "flex flex-col items-center justify-center flex-1"
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
default: () => [
|
|
37
|
+
h(Icons, {
|
|
38
|
+
name: "pukaad:memsg",
|
|
39
|
+
size: 80
|
|
40
|
+
})
|
|
41
|
+
]
|
|
42
|
+
}
|
|
43
|
+
),
|
|
44
|
+
h(
|
|
45
|
+
"div",
|
|
46
|
+
{
|
|
47
|
+
class: "flex flex-col items-center justify-center h-50 font-body-large"
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
default: () => [
|
|
51
|
+
h("div", "from"),
|
|
52
|
+
h(
|
|
53
|
+
"div",
|
|
54
|
+
{
|
|
55
|
+
class: "text-primary font-headline-large-prominent"
|
|
56
|
+
},
|
|
57
|
+
"MeMessage"
|
|
58
|
+
)
|
|
59
|
+
]
|
|
60
|
+
}
|
|
61
|
+
)
|
|
62
|
+
]
|
|
63
|
+
}
|
|
64
|
+
);
|
|
65
|
+
}
|
|
66
|
+
});
|
|
67
|
+
this.loadingElement = document.createElement("div");
|
|
68
|
+
LoadingPage.container.appendChild(this.loadingElement);
|
|
69
|
+
app.mount(this.loadingElement);
|
|
70
|
+
this.appInstance = app;
|
|
71
|
+
}
|
|
72
|
+
hide() {
|
|
73
|
+
if (this.appInstance && this.loadingElement) {
|
|
74
|
+
this.loadingElement.classList.add(
|
|
75
|
+
"opacity-0",
|
|
76
|
+
"transition-opacity",
|
|
77
|
+
"duration-500"
|
|
78
|
+
);
|
|
79
|
+
setTimeout(() => {
|
|
80
|
+
this.appInstance.unmount();
|
|
81
|
+
this.loadingElement.remove();
|
|
82
|
+
this.appInstance = null;
|
|
83
|
+
this.loadingElement = null;
|
|
84
|
+
}, 500);
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
_nuxtApp.provide("loadingPage", new LoadingPage());
|
|
89
|
+
});
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { defineNuxtPlugin } from "nuxt/app";
|
|
2
|
+
import { install as VueRecaptchaInstall } from "vue3-recaptcha-v2";
|
|
3
|
+
export default defineNuxtPlugin((nuxtApp) => {
|
|
4
|
+
const recaptchaKey = nuxtApp.$config.public?.RECAPTCHA_KEY;
|
|
5
|
+
if (!recaptchaKey) {
|
|
6
|
+
console.warn("[reCAPTCHA] RECAPTCHA_KEY is missing in runtime config");
|
|
7
|
+
return;
|
|
8
|
+
}
|
|
9
|
+
nuxtApp.vueApp.use(VueRecaptchaInstall, {
|
|
10
|
+
sitekey: String(recaptchaKey),
|
|
11
|
+
cnDomains: false
|
|
12
|
+
});
|
|
13
|
+
});
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
export type ToastPosition = "top-left" | "top-right" | "bottom-left" | "bottom-right";
|
|
2
|
+
export type ToastVariant = "solid" | "outline";
|
|
3
|
+
export type ToastType = "success" | "warning" | "error";
|
|
4
|
+
export interface ToastResponse {
|
|
5
|
+
isCanceled: boolean;
|
|
6
|
+
isConfirmed: boolean;
|
|
7
|
+
}
|
|
8
|
+
export interface ToastOptions {
|
|
9
|
+
position?: ToastPosition;
|
|
10
|
+
variant?: ToastVariant;
|
|
11
|
+
type?: ToastType;
|
|
12
|
+
icon?: string;
|
|
13
|
+
duration?: number;
|
|
14
|
+
message: string;
|
|
15
|
+
}
|
|
16
|
+
declare class Toast {
|
|
17
|
+
private static container;
|
|
18
|
+
private static ensureContainer;
|
|
19
|
+
show(options: ToastOptions): Promise<ToastResponse>;
|
|
20
|
+
success(message: string, options?: ToastOptions): Promise<ToastResponse>;
|
|
21
|
+
warning(message: string, options?: ToastOptions): Promise<ToastResponse>;
|
|
22
|
+
error(message: string, options?: ToastOptions): Promise<ToastResponse>;
|
|
23
|
+
info(message: string, options?: ToastOptions): Promise<ToastResponse>;
|
|
24
|
+
}
|
|
25
|
+
declare const _default: import("nuxt/app").Plugin<{
|
|
26
|
+
toast: Toast;
|
|
27
|
+
}> & import("nuxt/app").ObjectPlugin<{
|
|
28
|
+
toast: Toast;
|
|
29
|
+
}>;
|
|
30
|
+
export default _default;
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
import { defineNuxtPlugin } from "nuxt/app";
|
|
2
|
+
import { createApp, h, computed, ref, onMounted } from "vue";
|
|
3
|
+
import Icons from "@/runtime/components/icons.vue";
|
|
4
|
+
class Toast {
|
|
5
|
+
static container = null;
|
|
6
|
+
static ensureContainer() {
|
|
7
|
+
if (typeof window === "undefined") return;
|
|
8
|
+
if (!Toast.container) {
|
|
9
|
+
const container = document.createElement("ul");
|
|
10
|
+
container.className = "fixed z-toast space-y-2 pointer-events-none";
|
|
11
|
+
document.body.appendChild(container);
|
|
12
|
+
Toast.container = container;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
show(options) {
|
|
16
|
+
return new Promise((resolve) => {
|
|
17
|
+
Toast.ensureContainer();
|
|
18
|
+
const app = createApp({
|
|
19
|
+
setup() {
|
|
20
|
+
const visible = ref(true);
|
|
21
|
+
const typeClass = computed(() => {
|
|
22
|
+
const types = {
|
|
23
|
+
success: options.variant === "outline" ? "border border-success text-success bg-white" : "bg-success border border-white text-white",
|
|
24
|
+
warning: options.variant === "outline" ? "border border-warning text-warning bg-white" : "bg-warning border border-white text-white",
|
|
25
|
+
error: options.variant === "outline" ? "border border-destructive text-error bg-white" : "bg-destructive border border-white text-white"
|
|
26
|
+
};
|
|
27
|
+
return types[options.type || "success"];
|
|
28
|
+
});
|
|
29
|
+
const iconName = computed(() => {
|
|
30
|
+
const map = {
|
|
31
|
+
success: "fa6-solid:circle-check",
|
|
32
|
+
warning: "fa6-solid:triangle-exclamation",
|
|
33
|
+
error: "fa6-solid:ban"
|
|
34
|
+
};
|
|
35
|
+
return options.icon || map[options.type || "success"];
|
|
36
|
+
});
|
|
37
|
+
onMounted(() => {
|
|
38
|
+
setTimeout(() => {
|
|
39
|
+
visible.value = false;
|
|
40
|
+
setTimeout(() => {
|
|
41
|
+
app.unmount();
|
|
42
|
+
toastElement.remove();
|
|
43
|
+
resolve({ isConfirmed: true, isCanceled: false });
|
|
44
|
+
}, 300);
|
|
45
|
+
}, options.duration || 3e3);
|
|
46
|
+
});
|
|
47
|
+
return () => h(
|
|
48
|
+
"div",
|
|
49
|
+
{
|
|
50
|
+
class: [
|
|
51
|
+
"flex items-center gap-2 px-4 py-3 rounded shadow-md transition-opacity duration-300 pointer-events-auto",
|
|
52
|
+
typeClass.value,
|
|
53
|
+
visible.value ? "opacity-100" : "opacity-0"
|
|
54
|
+
]
|
|
55
|
+
},
|
|
56
|
+
[
|
|
57
|
+
h(Icons, { name: iconName.value }),
|
|
58
|
+
h(
|
|
59
|
+
"span",
|
|
60
|
+
{ class: "flex-1 font-body-large-prominent" },
|
|
61
|
+
options.message || "Alert"
|
|
62
|
+
)
|
|
63
|
+
]
|
|
64
|
+
);
|
|
65
|
+
}
|
|
66
|
+
});
|
|
67
|
+
const toastElement = document.createElement("li");
|
|
68
|
+
toastElement.className = "pointer-events-auto";
|
|
69
|
+
const position = options.position || "top-right";
|
|
70
|
+
Toast.container.className = `fixed z-toast space-y-2 pointer-events-none ${{
|
|
71
|
+
"top-left": "top-[16px] left-[16px] right-[16px] md:right-auto md:w-[325px]",
|
|
72
|
+
"top-right": "top-[16px] right-[16px] left-[16px] md:left-auto md:w-[325px]",
|
|
73
|
+
"bottom-left": "bottom-[16px] left-[16px] right-[16px] md:right-auto md:w-[325px]",
|
|
74
|
+
"bottom-right": "bottom-[16px] right-[16px] left-[16px] md:left-auto md:w-[325px]"
|
|
75
|
+
}[position]}`;
|
|
76
|
+
Toast.container.appendChild(toastElement);
|
|
77
|
+
app.mount(toastElement);
|
|
78
|
+
});
|
|
79
|
+
}
|
|
80
|
+
success(message, options) {
|
|
81
|
+
return this.show({ ...options, type: "success", message });
|
|
82
|
+
}
|
|
83
|
+
warning(message, options) {
|
|
84
|
+
return this.show({ ...options, type: "warning", message });
|
|
85
|
+
}
|
|
86
|
+
error(message, options) {
|
|
87
|
+
return this.show({ ...options, type: "error", message });
|
|
88
|
+
}
|
|
89
|
+
info(message, options) {
|
|
90
|
+
return this.show({
|
|
91
|
+
...options,
|
|
92
|
+
type: "success",
|
|
93
|
+
variant: "outline",
|
|
94
|
+
message
|
|
95
|
+
});
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
export default defineNuxtPlugin(() => {
|
|
99
|
+
return {
|
|
100
|
+
provide: {
|
|
101
|
+
toast: new Toast()
|
|
102
|
+
}
|
|
103
|
+
};
|
|
104
|
+
});
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
export const checkPattern = (v) => {
|
|
2
|
+
if (!v) return false;
|
|
3
|
+
const telPattern = [
|
|
4
|
+
/^(06|08|09)\d{8}$/,
|
|
5
|
+
/^(8|9)\d{8}$/,
|
|
6
|
+
/^\+66(06|08|09)\d{8}$/,
|
|
7
|
+
/^\+66(6|8|9)\d{8}$/,
|
|
8
|
+
/^\(\+66\)(06|08|09)\d{8}$/,
|
|
9
|
+
/^\(\+66\)(6|8|9)\d{8}$/,
|
|
10
|
+
/^66(06|08|09)\d{8}$/,
|
|
11
|
+
/^66(6|8|9)\d{8}$/,
|
|
12
|
+
/^\(\+66\) (06|08|09) \d{3} \d{4}\D?$/,
|
|
13
|
+
/^\(\+66\) (6|8|9)\d{1} \d{3} \d{4}\D?$/,
|
|
14
|
+
/^\+66 (06|08|09) \d{3} \d{4}/,
|
|
15
|
+
/^\+66 (6|8|9) \d{3} \d{4}/
|
|
16
|
+
];
|
|
17
|
+
return telPattern.some((sm) => sm.test(v));
|
|
18
|
+
};
|
|
19
|
+
export const formatPhone = (phone) => {
|
|
20
|
+
if (!checkPattern(phone)) return;
|
|
21
|
+
const newPhone = phone.startsWith("(+66)") ? phone.replace("(+66)", "+66") : phone.startsWith("66") ? phone.replace("66", "") : phone.startsWith("0") ? phone.slice(1) : phone;
|
|
22
|
+
const prefix = newPhone.startsWith("+66") ? newPhone : "+66" + newPhone;
|
|
23
|
+
const formatNumber = prefix.replace(/^(\+66|66)(\s)?/, "$1 ");
|
|
24
|
+
const formatNumberWithSpaces = formatNumber.replace(
|
|
25
|
+
/(\d{2})(\d{3})(\d{4})/,
|
|
26
|
+
"$1 $2 $3"
|
|
27
|
+
);
|
|
28
|
+
return formatNumberWithSpaces.replace("+66", "(+66)");
|
|
29
|
+
};
|
|
30
|
+
export const reverseFormatPhone = (formatNumber) => {
|
|
31
|
+
const digitsOnly = formatNumber.replace(/\D/g, "");
|
|
32
|
+
if (digitsOnly.startsWith("66")) {
|
|
33
|
+
return "+" + digitsOnly;
|
|
34
|
+
} else if (digitsOnly.startsWith("0")) {
|
|
35
|
+
return "+66" + digitsOnly.slice(1);
|
|
36
|
+
} else {
|
|
37
|
+
return "+" + digitsOnly;
|
|
38
|
+
}
|
|
39
|
+
};
|
package/dist/types.d.mts
ADDED
package/package.json
ADDED
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "pukaad-ui-lib",
|
|
3
|
+
"version": "1.0.1",
|
|
4
|
+
"description": "pukaad-ui for MeMSG",
|
|
5
|
+
"repository": {
|
|
6
|
+
"type": "git",
|
|
7
|
+
"url": "git+https://gitlab.com/pukaad/pukaad/webs/webs/pukaad-ui.git"
|
|
8
|
+
},
|
|
9
|
+
"license": "MIT",
|
|
10
|
+
"type": "module",
|
|
11
|
+
"exports": {
|
|
12
|
+
".": {
|
|
13
|
+
"types": "./dist/types.d.mts",
|
|
14
|
+
"import": "./dist/module.mjs",
|
|
15
|
+
"require": "./dist/module.mjs"
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
"main": "./dist/module.mjs",
|
|
19
|
+
"files": [
|
|
20
|
+
"dist"
|
|
21
|
+
],
|
|
22
|
+
"scripts": {
|
|
23
|
+
"prepack": "nuxt-module-build build",
|
|
24
|
+
"dev": "nuxi dev playground --port 8000 --no-fork",
|
|
25
|
+
"dev:build": "nuxi build playground",
|
|
26
|
+
"dev:prepare": "nuxt-module-build build --stub && nuxt-module-build prepare && nuxi prepare playground",
|
|
27
|
+
"release": "npm run test && npm run prepack && changelogen --release && npm publish && git push --follow-tags",
|
|
28
|
+
"test": "vitest run",
|
|
29
|
+
"test:watch": "vitest watch",
|
|
30
|
+
"test:types": "vue-tsc --noEmit && cd playground && vue-tsc --noEmit"
|
|
31
|
+
},
|
|
32
|
+
"dependencies": {
|
|
33
|
+
"@cropper/element-canvas": "^2.0.0",
|
|
34
|
+
"@nuxt/icon": "^1.10.3",
|
|
35
|
+
"@nuxt/image": "^1.9.0",
|
|
36
|
+
"@pinia/nuxt": "^0.11.1",
|
|
37
|
+
"@tailwindcss/vite": "4.0.7",
|
|
38
|
+
"@tanstack/vue-table": "^8.21.3",
|
|
39
|
+
"@vee-validate/nuxt": "^4.15.0",
|
|
40
|
+
"@vee-validate/yup": "^4.15.0",
|
|
41
|
+
"@vee-validate/zod": "^4.15.1",
|
|
42
|
+
"@vueup/vue-quill": "^1.2.0",
|
|
43
|
+
"@vueuse/core": "^14.1.0",
|
|
44
|
+
"@vueuse/nuxt": "^12.7.0",
|
|
45
|
+
"changelogen": "^0.5.7",
|
|
46
|
+
"class-variance-authority": "^0.7.1",
|
|
47
|
+
"clsx": "^2.1.1",
|
|
48
|
+
"cropperjs": "^1.6.2",
|
|
49
|
+
"dayjs": "^1.11.13",
|
|
50
|
+
"input-otp": "^1.4.2",
|
|
51
|
+
"lodash": "^4.17.21",
|
|
52
|
+
"nuxt": "^4.0.3",
|
|
53
|
+
"nuxt-google-translate": "^1.2.0",
|
|
54
|
+
"nuxt-rating": "^0.1.6",
|
|
55
|
+
"pinia": "^3.0.3",
|
|
56
|
+
"pinia-plugin-persistedstate": "^4.4.1",
|
|
57
|
+
"quill": "^2.0.3",
|
|
58
|
+
"quill-delta-to-html": "^0.12.1",
|
|
59
|
+
"reka-ui": "^2.6.1",
|
|
60
|
+
"shadcn-nuxt": "^2.3.3",
|
|
61
|
+
"shadcn-vue": "^2.3.2",
|
|
62
|
+
"tailwind-merge": "^3.4.0",
|
|
63
|
+
"tailwind-variants": "^3.1.1",
|
|
64
|
+
"tailwindcss": "4.0.7",
|
|
65
|
+
"tailwindcss-animate": "^1.0.7",
|
|
66
|
+
"tw-animate-css": "^1.4.0",
|
|
67
|
+
"typescript": "^5.9.3",
|
|
68
|
+
"vee-validate": "^4.15.1",
|
|
69
|
+
"vitest": "^3.0.4",
|
|
70
|
+
"vue-cropperjs": "^5.0.0",
|
|
71
|
+
"vue-sfc-transformer": "^0.1.17",
|
|
72
|
+
"vue-tsc": "^3.1.3",
|
|
73
|
+
"vue3-recaptcha-v2": "^2.1.0",
|
|
74
|
+
"zod": "^3.25.76"
|
|
75
|
+
},
|
|
76
|
+
"devDependencies": {
|
|
77
|
+
"@iconify-json/lucide": "^1.2.72",
|
|
78
|
+
"@nuxt/devtools": "^1.7.0",
|
|
79
|
+
"@nuxt/eslint-config": "^0.7.5",
|
|
80
|
+
"@nuxt/kit": "^4.0.0",
|
|
81
|
+
"@nuxt/module-builder": "^1.0.1",
|
|
82
|
+
"@nuxt/schema": "^4.0.0",
|
|
83
|
+
"@nuxt/test-utils": "^3.15.4",
|
|
84
|
+
"@nuxt/types": "^2.18.1",
|
|
85
|
+
"@types/cropperjs": "^1.1.5",
|
|
86
|
+
"@types/node": "^24.9.1",
|
|
87
|
+
"@types/vue-cropperjs": "^4.1.6",
|
|
88
|
+
"@vue/compiler-sfc": "^3.5.24"
|
|
89
|
+
}
|
|
90
|
+
}
|